Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Clean WinXP & Qt SDK Install - Toolchain EXE's wont run
Qt 6.11 is out! See what's new in the release blog

Clean WinXP & Qt SDK Install - Toolchain EXE's wont run

Scheduled Pinned Locked Moved Installation and Deployment
15 Posts 4 Posters 7.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MWPau
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      I think it does state on download page, that Qt SDK is minGW based and does not support MS compiler.

      (Z(:^

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          MWPau
          wrote on last edited by
          #4

          [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.

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            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.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              MWPau
              wrote on last edited by
              #6

              [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.

              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #7

                [quote author="MWPau" date="1314264852"]The problem im having is with the official toolchain binaries included in the Qt SDK release. Qt's own released toolchain binaries dont run![/quote]

                What does the event log say?

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  MWPau
                  wrote on last edited by
                  #8

                  What event log?
                  If you mean the Windows Event Viewer/Logs... nothing.

                  1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #9

                    MWPau: You are right: I mixed up your post with another one and misconnected the "Somebody posted on devnet" mails. Sorry.

                    1 Reply Last reply
                    0
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #10

                      [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.

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        MWPau
                        wrote on last edited by
                        #11

                        [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.

                        1 Reply Last reply
                        0
                        • ? Offline
                          ? Offline
                          A Former User
                          wrote on last edited by
                          #12

                          Have you installed the latest version of the MSVC2005 redistributable?

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            MWPau
                            wrote on last edited by
                            #13

                            Ive installed:
                            vcredist_x86_vs2005
                            vcredist_x86_vs2005sp1
                            vcredist_x86_vs2008
                            vcredist_x86_vs2008sp1
                            vcredist_x86_vs2010

                            In that order, and they are all freshly downloaded off the MS website.

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              MWPau
                              wrote on last edited by
                              #14

                              Anyway... all this is kinda besides the point.
                              The correct redist or whatever is required to run these EXE's should be included with the Qt SDK and installed by the SDK installer.

                              1 Reply Last reply
                              0
                              • ? Offline
                                ? Offline
                                A Former User
                                wrote on last edited by
                                #15

                                Please "file a bug report":http://bugreports.qt.nokia.com/ against the Qt SDK if you think something is missing.

                                1 Reply Last reply
                                0

                                • Login

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Groups
                                • Search
                                • Get Qt Extensions
                                • Unsolved