Error when launching Qt creator under Windows XP
-
Qt installation works fine on my Windows XP computer, but I get an error on the launch of qtcreator :
AppName : qtcreator.exe
AppVer : 0.0.0.0
ModName : qtgui.dll
ModVer : 5.1.0.0
Offset : 000 00 5680The error occurs with Qt 5.0.2 and Qt 5.1.0 beta 1
Ant idea of what I can try to have Qt working on my machine ?
-
What CPU does your machine have ?
It seems that parts of the binaries in the Qt 5.0.2 for mingw packages are compiled for CPU with the SSE2 instruction set which isn't supported by 32-bit athlons.
So if you have, or if you intend to deploy on machines with athlon cpu (which are not yet extinct), you need to replace QtCreator, mingw, and recompile the debug variant of the Qt binaries (the release variant works fine).The separate QtCreator 2.7.1 package from the "download page":http://qt-project.org/downloads, and the mingw-builds after rev10 from "this page":http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.7.2/32-bit/threads-posix/sjlj/ should be enough to fix the problem.
I didn't test the other packages (Qt 5.0.2 for MSVC and Qt 5.1 beta).
-
[quote author="cromda" date="1370692674"]Thank's for your answer,
My CPU is a AMD Sempron, so your probably right.
I'm not sur to be able to replace QCreator(1) and mingw(2) and re compile.
Wher can I search to learn those procédures ?[/quote]
You can find some documentation on building your own version in the wikis for "creator":http://qt-project.org/wiki/How_To_Build_Qt_Creator_From_Source and for "Qt libs":http://qt-project.org/wiki/Building_Qt_Desktop_for_Windows_with_MinGW
The latter one is certainly not up-to-date for Qt, but probably works also for Qt 5 -
[quote author="cromda" date="1370692674"]I'm not sur to be able to replace QCreator(1) and mingw(2) and re compile.[/quote]
Just download them from the links I gave, then install QtCreator 2.7.1 in the same directory where it currently is (ex: c:\Qt\Qt5.0.2\Tools\QtCreator\ ) and decompress the latest mingw in the Tools directory (c:\Qt\Qt5.0.2\Tools) it will create a "mingw32" directory then you"ll remove the existing "MinGW" directory and rename the "mingw32" directory to "MinGW" (all this to avoid reconfiguring the toolchain in QtCreator).Then you'll "only" have to recompile Qt but you can start using it without recompiling if you only use the release mode.