Building Qt on MinGW-w64

From Moondust Wiki
Revision as of 17:23, 12 June 2017 by Wohlstand (talk | contribs) (Created page with "Category:Development {{Stub}} This article explain you how to prepare a Qt build environment with using of [mingw-w64.org MinGW-w64 toolchain] on Windows operating system....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This article explain you how to prepare a Qt build environment with using of [mingw-w64.org MinGW-w64 toolchain] on Windows operating system. Reason of creating this article is that official MinGW assemblies of Qt are 32-bit only. MinGW-w64 gives you able to have native 64-bit builds with MinGW without usage of Visual Studio.

Prepare MinGW-w64

At first, you need to install MinGW-w64 itself!

Download MinGW-w64 Windows build

Download MinGW-w64 installer

Open official download page: http://mingw-w64.org/doku.php/download and find the "Mingw-builds", and then open "Installation: Sourceforge" link to download the installer.

Installing MinGW-w64 assemblies

  • After starting installer, you will see the greeting page, just press "next".
  • On the settings page choose:
    • version: chooce latest
    • architecture: i686 for 32-bit builds and x86_64 for 64-bit builds