
You will likely need to add the Qt version by selecting qmake.exe under Options > Build & Run. If you would rather not add to your path, you can specify the compiler for the version you just set up with Qt Creator, manually. Qt Creator will auto-detect MinGW-w64 as an installed compiler after you do this. Post-installĪfter you install Qt, you could add the Qt/qt-ver/qt-ver/bin and Qt/qt-ver/mingw64/bin directories to your User or System Path variable in your Environment Variables, which will allow you to use MinGW-w64's GCC for building from your preferred build process. Either choice will work, though SEH is more efficient. SJLJ was the only choice before GCC 4.8 was released, but later GCC versions support SEH.

The question What is difference between sjlj vs dwarf vs seh? describes the differences between the types of exception handlers that are present in different builds of Qt. You will need to choose a build with the exception stack frame unwinding method you want. You'll want the same version of GCC in MinGW-w64 that was used to build Qt for building your own apps, so I'd recommend choosing the installer. The MinGW-w64 project's GCC compiler is also included in the installer versions (but not in the 7z). The project provides an up-to-date, 圆4 Qt build with MinGW-w64. I recommend installing your Qt build from the Qt64-NG project.

I recommend using the Qt wiki link in rubenvb's answer for deployment it's greatly improved. Prior update: I think that rubenvb's answer is now the best answer to this question: MSYS2 contains an up-to-date Qt built with MinGW-w64, which is what you'll need to build 64-bit Qt apps. You can install it from the Qt installer or build it yourself from Qt's sources (they've ironed out issues that were preventing successful builds). Update : Starting with Qt 5.12 the Qt Project officially supports MinGW-w64 in 64-bit mode.
