QT 5.9.4 MSVC2015 32 bit has configuration issue.
-
Hello Folks,
I am new to QT development and in the very first week I am facing the following issue:The process "C:\Qt\Qt5.9.4\Tools\QtCreator\bin\jom.exe" exited with code 2.
Error while building/deploying project STIFT-Tool (kit: Desktop Qt 5.9.4 MSVC2015 32bit)
The kit Desktop Qt 5.9.4 MSVC2015 32bit has configuration issues which might be the root cause for this problem.
When executing step "Make"Kindly help to resolve the issue and the potential cause behind this.
-
Hi and welcome to devnet,
Did you check your Kit in Qt Creator's preferences ? Does it show anything unusual ?
Also, since you are just starting, why not move a more recent version of Qt ? 5.10.1 is that current latest.
-
Thanks @SGaist ..... I am continuing with previously developed tool in QT.... it uses QTWebEngineWidgets so I am using MSVC2015 compiler amd64 along with MinGW. Is this the reason that this has not been set up correctly? I checked settings it seems its ok... but some jom.exe is not getting executed something to do with CMAKE? Actually confused how to set up... I m using 5.9.4 as I saw on forum that 5.10.1 is beta version and they are still developing. Is this true?
-
I can't answer you didn't provide the current errors you are getting.
Are you trying to mix MSVC and MinGW ?
5.10.1 has been released. You can see that with Maintenance Tool.
-
@SGaist said in QT 5.9.4 MSVC2015 32 bit has configuration issue.:
released. You can see that with Maintenance
I am using MSVC Compilers because project involves QTWebEngineWidgets....and I configured (Desktop QT 5.9.4 MSVC 2015 32 bit) kit in tools and choose MSCV C++ Copilers 15.0 (amd64) for C++.
I found one thing when I unchecked shadow build , the same project file is being executed when I run it. but when I want to build the project with shadow build turned on... it shows the following error ....
- Executable D:\STIFT-Tool\build-STIFT-Tool-Desktop_Qt_5_9_4_MSVC2015_32bit-Release\UI_gen\release\STIFT-Tool.exe does not exist. 2) LNK1112: module machine type 'x64' conflicts with target machine type 'X86'.
Can you just help me with shadow build function and if the module machine type is conflict what exactly we need to check?
It will be really helpful as later on I have to give project files as standalone application to other colleges to use it.
-
As the error message suggests: don't mix a 64bit compiler with a 32bit version of a library.
-
@SGaist ... I got your point ... but here I m confused in context of what is target machine type and module machine type. Where to set this platform settings? I explored options in QT bt unable to find it. It is showing -
File not found: Qt5Widgets.lib(Qt5Widgets.dll).
In one of you tube video someone explained to manually copy it to your release folder and place this files. But how to get native files?
Thanking you so much for the efforts. -
From the looks of it, you are trying to using the amd64 compiler which means 64bit compiler with a 32bit Qt build. That's the problem, check your kit and select the x86 compiler.