Clean WinXP & Qt SDK Install - Toolchain EXE's wont run
-
Hi all,
So ive installed in a VM the following
- WinXP SP3 all updated
- MSVS2005 all updated (SP1 & Vista SP1)
- Qt SDK (standard web install as of yesterday)
In Qt Creator, on trying to do Build->Run QMake i get:
Running build steps for project test...
Starting: "c:\qt\qtsdk\desktop\qt\4.7.3\msvc2005\bin\qmake.exe" B:\test\test\cftest.pro -r -spec win32-msvc2005 "CONFIG+=release"
The system cannot execute the specified program.
The system cannot execute the specified program.
...... (lots of the above)
The process "c:\qt\qtsdk\desktop\qt\4.7.3\msvc2005\bin\qmake.exe" exited normally.After some testing, it seems that a lot of the toolchain EXEs just dont run:
C:\Qt\QtSDK\Desktop\Qt\4.7.3\msvc2005\bin>uic.exe
The system cannot execute the specified program.
C:\Qt\QtSDK\Desktop\Qt\4.7.3\msvc2005\bin>moc.exe
The system cannot execute the specified program.Ive run the EXE's through the dependency walker app, which showed a few DLLs are missing.
The DLL's missing are: ieshims.dll wer.dll
Ive tried installing all the VS redistributable packages, but that hasnt helped.Ive done some googling, and it seems others have had this issue, but i cant find out how it how to fix it.
Please help!!!!
Thanks in advance!
-
I think it does state on download page, that Qt SDK is minGW based and does not support MS compiler.
-
Take a look at the event log to see which libraries failed to load (ieshims.dll and wer.dll are delayed-loaded, they might not be the problem). Make sure you have installed the latest versions of the redistributables.
[quote author="sierdzio" date="1314248468"]I think it does state on download page, that Qt SDK is minGW based and does not support MS compiler.[/quote]
The Qt SDK does not come with a commercial compiler, but it does - of course - support MSVC and a lot of other toolchains. -
[quote author="Lukas Geyer" date="1314260878"]Take a look at the event log to see which libraries failed to load (ieshims.dll and wer.dll are delayed-loaded, they might not be the problem). Make sure you have installed the latest versions of the redistributables.[/quote]
ieshims and wer are the only DLLs that fail to load.
I have installed the latest 2005sp1, 2008sp1 and 2010 redistributables fresh off MS website. -
You do not need the redistributables, those are to run binaries.
You need the compilers. Grab the latest Windows SDK and you should be fine. Note that MSVC 2010 is producing broken code for 64bit architectures and you will need to apply a hotfix available at Microsoft for it to work.
-
[quote author="Tobias Hunger" date="1314261593"]You do not need the redistributables, those are to run binaries.
You need the compilers. Grab the latest Windows SDK and you should be fine. Note that MSVC 2010 is producing broken code for 64bit architectures and you will need to apply a hotfix available at Microsoft for it to work.[/quote]Ummm, did you read the original question?
The problem im having is with the official toolchain binaries included in the Qt SDK release.
Qt's own released toolchain binaries dont run!This has nothing to do with MSVC or the code im trying to produce/compile.
-
MWPau: You are right: I mixed up your post with another one and misconnected the "Somebody posted on devnet" mails. Sorry.
-
[quote author="Lukas Geyer" date="1314272114"][quote author="MWPau" date="1314266416"]What event log?
If you mean the Windows Event Viewer/Logs... nothing.[/quote]
There should be an error in the windows event log why the executable couldn't be loaded - normally.[/quote]My mistake, yes there is:
#1 - Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system.
#2 - Resolve Partial Assembly failed for Microsoft.VC80.CRT. Reference error message: The referenced assembly is not installed on your system.
#3 - Generate Activation Context failed for C:\Qt\QtSDK\Desktop\Qt\4.7.3\msvc2005\bin\uic.exe. Reference error message: The operation completed successfully. -
Please "file a bug report":http://bugreports.qt.nokia.com/ against the Qt SDK if you think something is missing.