[SOLVED] Failed to run application build with Qt 5.3 MinGW 4.8.2
-
I've found the reason.
Qt Creator generated a kit "Desktop Qt 5.3.0 MinGW 32bit" which is connected to "MinGW 4.8" compiler instead of "MinGW 4.8.2".
Thus it build the application with a wrong compiler.Unfortunatelly Qt Creator doesn't allow to modify settings for auto-generated kits.
Is it possible to force Qt Creator to connect Qt 5.3 to right compiler?As a workaround I made a manual kit with right connection.
And it works!Thanks for support!
-
Hi guys,
I face this issue too but I couldn't fix it although I follow your suggestions! Any way below the the procedures I've and I wish to get some help from you:
Error message on RUN (CTRL+R):
[code]Starting C:\Users\mbnoimi\Desktop\build-TestQt530-5_3_0-Debug\debug\TestQt530.exe...
SHIMVIEW: ShimInfo(Complete)
The program has unexpectedly finished.
C:\Users\mbnoimi\Desktop\build-TestQt530-5_3_0-Debug\debug\TestQt530.exe crashed[/code]System path:
[code]%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;C:\Program Files\Common Files\Autodesk Shared;C:\Program Files (x86)\Autodesk\Backburner;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn;C:\Program Files\Microsoft SQL Server\100\Tools\Binn;C:\Program Files\Microsoft SQL Server\100\DTS\Binn;C:\Program Files (x86)\Bazaar;C:\Program Files (x86)\WinMerge[/code]Run from Qt console:
!http://i.share.pho.to/de6fe1d8_o.png(http://i.share.pho.to/de6fe1d8_o.png)!Qt console log:
[code]Setting up environment for Qt usage...C:\Qt\Qt5.3.0\5.3\mingw482_32>cd /d C:\Users\mbnoimi\Desktop\build-TestQt530-5_3
_0-Debug\debugC:\Users\mbnoimi\Desktop\build-TestQt530-5_3_0-Debug\debug>TestQt530.exe
C:\Users\mbnoimi\Desktop\build-TestQt530-5_3_0-Debug\debug>path
PATH=C:\Qt\Qt5.3.0\5.3\mingw482_32\bin;C:\Qt\Qt5.3.0\Tools\mingw482_32\bin;C:\Wi
ndows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPo
werShell\v1.0;C:\Program Files\Common Files\Autodesk Shared;C:\Program Files (
x86)\Autodesk\Backburner;C:\Program Files (x86)\Microsoft SQL Server\100\Tools
Binn;C:\Program Files\Microsoft SQL Server\100\Tools\Binn;C:\Program Files\Mic
rosoft SQL Server\100\DTS\Binn;C:\Program Files (x86)\Bazaar;C:\Program Files (
x86)\WinMergeC:\Users\mbnoimi\Desktop\build-TestQt530-5_3_0-Debug\debug>[/code]
Dependency walker log after copying all Qt run-time into binary's path (C:\Users\mbnoimi\Desktop\build-TestQt530-5_3_0-Debug\debug)
http://pastebin.com/ji2AuaRzHow can I fix this issue?
-
I forgot to mention that I'm using Qt 5.3.0 + Qt Creator 3.1.1 under Windows 8.1 x64
I tested the suggestion of e79ene as following but I got the same old results.
!http://i.share.pho.to/5113e510_o.png(http://i.share.pho.to/5113e510_o.png)! -
[quote]Hi, the “.. Bad Image” error I think is not a MinGW multiple versions problem, more likely is hard disk problem or virus :-([/quote]
No this is incorrect because I get the same result for fresh installation on another PC using different OS (Win7 x86)
[quote]Anyway, try switching your build to Release mode and see what happens. [/quote]
I got same old result! -
I filed a bug report in this link:
https://bugreports.qt-project.org/browse/QTBUG-39649P.S. e79ene may you please modify the title of this thread by removing [SOLVED] tag
-
Hi, please don't file bugs on empty projects, your problem has nothing to do with Qt.
Post a screenshot when your app crashes, and download "Microsofts file checksum verififer":http://www.microsoft.com/en-us/download/details.aspx?id=11533 install it on the PC that Qt crashes on. Run the fciv.exe file on Qt5Widgets.dll and Qt5Widgetsd.dll files and post the results (32 hex digits for each file) here.
-
[quote]Hi, please don’t file bugs on empty projects, your problem has nothing to do with Qt.[/quote]
No. this is Qt issue because Qt 5.2.1 was working fine on same machines.
I formatted all my machines for new fresh windows and then installed Qt 5.3.0. The bug appeared on all that machines (all of them have different hardware and different Windows version) so this is absolutely Qt issue.