How to choose compiler and kit
-
Hi all,
I'm a beginner with qtcreator. I want to build an application that runs on windows 8 and 10 x64.
I'm having difficulties on how to set up the kit. What compilers do I needs?I have the following kits:
- Desktop QT 5.6.2 MinGW 32bit
- Desktop QT 5.6.2 MSVC2013 32bit.
- Desktop QT 5.6.2 MSVC2013 64bit
- Desktop QT 5.6.2 MSVC2015 32bit
- Desktop QT 5.6.2 MSVC2015 64bit
- Desktop QT 5.6.2 for Universal Windows Patform 32bit
- Desktop QT 5.6.2 for Universal Windows Patform 64bit
I thought that I should use "Desktop QT 5.6.2 for Universal Windows Patform 64bit" . When I try to build the application with this kit I get following errors:
Compile output: 14:51:17: The process "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project test (kit: Qt 5.6.2 for Universal Windows Platform 64bit)
The kit Qt 5.6.2 for Universal Windows Platform 64bit has configuration issues which might be the root cause for this problem.
When executing step "Make"Issues :
:-1: error: error: ucrt.lib: No such file or directory
:-1: error: error: windowscodecs.lib: No such file or directory
:-1: error: error: WindowsApp.lib: No such file or directory
:-1: error: error: runtimeobject.lib: No such file or directory
:-1: error: error: OneCore.lib: No such file or directoryI can build the application with "Desktop QT 5.6.2 MinGW 32bit" but then I can not run the released application.
I hope somebody is able to help me.
Kind regards,
TMJJ -
Hi and welcome to devnet,
Why are you trying to use the MinGW compiler for the UWP versions of Qt ? You need to have the corresponding compiler installed.
As for your MinGW release trouble, did you follow the deployment procedure ?
-
Hi
Do you really need that many kits installed ??Desktop QT 5.6.2 MinGW 32bit -> can make normal win32 apps in 32 bit. Run on win 10 64 bit too ( as 32 bit)
Desktop QT 5.6.2 MSVC2013 32bit. -> 32 bit, you must install compiler yourself. VS 2013 ONLY ( runs on 64 bit too)
Desktop QT 5.6.2 MSVC2013 64bit -> 64 bit, you must install compiler yourself. VS 2013 ONLY ( runs ONLY 64 bit )
Desktop QT 5.6.2 MSVC2015 32bit -> 32 bit, you must install compiler yourself. VS 2015/17 ONLY ( runs on 64 bit too)
Desktop QT 5.6.2 MSVC2015 64bit -> 64 bit, you must install compiler yourself. VS 2015/17 ONLY ( runs ONLY on 64 bit)
Desktop QT 5.6.2 for Universal Windows Patform 32bit Not a Desktop app. WinRT only app
Desktop QT 5.6.2 for Universal Windows Patform 64bit Not a Desktop app. WinRT only appSounds to me you can just use mingw. for both 32/64 bit unless you want app to be 64 bit ?