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. Install Qt 5.9.8 on Windows 7 x32
Forum Updated to NodeBB v4.3 + New Features

Install Qt 5.9.8 on Windows 7 x32

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
17 Posts 2 Posters 4.4k 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.
  • K Offline
    K Offline
    koluna
    wrote on last edited by koluna
    #1

    Hi, Dears!

    I use Qt 5.9.8 under Linux Mint 18.1 x64. All is ok.
    But I need to build my program for Windows.
    I try to install Qt on Windows 7 x32 (the virtual machine and the real computer).
    I have tried to install with online and offline installators.
    The result is the same: the installation is failed.
    I have some errors.
    Help me, please.

    I have used the offline installator from here: https://www.qt.io/offline-installers

    2_1558337657206_3-0.png 1_1558337657205_2-0.png 0_1558337657204_1-0.png

    jsulmJ 1 Reply Last reply
    0
    • K koluna

      Hi, Dears!

      I use Qt 5.9.8 under Linux Mint 18.1 x64. All is ok.
      But I need to build my program for Windows.
      I try to install Qt on Windows 7 x32 (the virtual machine and the real computer).
      I have tried to install with online and offline installators.
      The result is the same: the installation is failed.
      I have some errors.
      Help me, please.

      I have used the offline installator from here: https://www.qt.io/offline-installers

      2_1558337657206_3-0.png 1_1558337657205_2-0.png 0_1558337657204_1-0.png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @koluna Are you trying to install Qt for x86_64 (64bit) on a windows 32bit machine? If so this is not going to work. Install 32bit Qt version.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • K Offline
        K Offline
        koluna
        wrote on last edited by
        #3

        I use "qt-opensource-windows-x86-5.9.8" installer. See the screenshot, please.
        Is it a 64-bit installer?!

        0_1558436537841_1.png

        jsulmJ 1 Reply Last reply
        0
        • K koluna

          I use "qt-opensource-windows-x86-5.9.8" installer. See the screenshot, please.
          Is it a 64-bit installer?!

          0_1558436537841_1.png

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by jsulm
          #4

          @koluna The installer itself is 32bit but it installs 64bit Qt.
          Did you try to use online installer to see whether you can find 32bit version there?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          K 1 Reply Last reply
          1
          • jsulmJ jsulm

            @koluna The installer itself is 32bit but it installs 64bit Qt.
            Did you try to use online installer to see whether you can find 32bit version there?

            K Offline
            K Offline
            koluna
            wrote on last edited by
            #5

            @jsulm You are right... I was inattentive... sorry...

            I am trying to install with an online installer. But it is wrong again... :(

            The application "vcredist_msvc2017_x86.exe" was failed!
            I have missed it, I have finished a process and I have run Creator for an experiment.
            It was failed with error "MSVCP140.dll is absent".
            I have found and I have run "vcredist_msvc2017_x86.exe" on my hard drive and I have had an error "0x80240017".

            [0A2C:0A0C][2019-05-21T19:49:06]i301: Applying execute package: Windows7_MSU_x86, action: Install, path: C:\ProgramData\Package Cache\564F02E6419B9858949B0CD5A65E2C8C0944DD88\packages\Patch\x86\Windows6.1-KB2999226-x86.msu, arguments: '"C:\Windows\system32\wusa.exe" "C:\ProgramData\Package Cache\564F02E6419B9858949B0CD5A65E2C8C0944DD88\packages\Patch\x86\Windows6.1-KB2999226-x86.msu" /quiet /norestart'
            [0A2C:0A0C][2019-05-21T19:49:10]e000: Error 0x80240017: Failed to execute MSU package.
            [0FA8:0FAC][2019-05-21T19:49:10]e000: Error 0x80240017: Failed to configure per-machine MSU package.
            [0FA8:0FAC][2019-05-21T19:49:10]i319: Applied execute package: Windows7_MSU_x86, result: 0x80240017, restart: None
            [0FA8:0FAC][2019-05-21T19:49:10]e000: Error 0x80240017: Failed to execute MSU package.
            

            Qt needs VC?!

            0_1558462478545_1.png 0_1558462485025_2.png 0_1558462488965_3.png

            jsulmJ 1 Reply Last reply
            0
            • K koluna

              @jsulm You are right... I was inattentive... sorry...

              I am trying to install with an online installer. But it is wrong again... :(

              The application "vcredist_msvc2017_x86.exe" was failed!
              I have missed it, I have finished a process and I have run Creator for an experiment.
              It was failed with error "MSVCP140.dll is absent".
              I have found and I have run "vcredist_msvc2017_x86.exe" on my hard drive and I have had an error "0x80240017".

              [0A2C:0A0C][2019-05-21T19:49:06]i301: Applying execute package: Windows7_MSU_x86, action: Install, path: C:\ProgramData\Package Cache\564F02E6419B9858949B0CD5A65E2C8C0944DD88\packages\Patch\x86\Windows6.1-KB2999226-x86.msu, arguments: '"C:\Windows\system32\wusa.exe" "C:\ProgramData\Package Cache\564F02E6419B9858949B0CD5A65E2C8C0944DD88\packages\Patch\x86\Windows6.1-KB2999226-x86.msu" /quiet /norestart'
              [0A2C:0A0C][2019-05-21T19:49:10]e000: Error 0x80240017: Failed to execute MSU package.
              [0FA8:0FAC][2019-05-21T19:49:10]e000: Error 0x80240017: Failed to configure per-machine MSU package.
              [0FA8:0FAC][2019-05-21T19:49:10]i319: Applied execute package: Windows7_MSU_x86, result: 0x80240017, restart: None
              [0FA8:0FAC][2019-05-21T19:49:10]e000: Error 0x80240017: Failed to execute MSU package.
              

              Qt needs VC?!

              0_1558462478545_1.png 0_1558462485025_2.png 0_1558462488965_3.png

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @koluna Try to disable your antivirus software, install all available updates and install again.
              Also you can remove first everything (Visual Studio/Qt/QtCreator) and then reinstall.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              1
              • K Offline
                K Offline
                koluna
                wrote on last edited by
                #7

                I do not have any antivirus. I use a new virtual machine.
                If I remove everything, the installer will download everything again. It is a long time...
                Can I forbid to download some files again?

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  koluna
                  wrote on last edited by
                  #8

                  I have installed Qt on Win7 x64.
                  I am trying to open my project file and I am having some problems.

                  I make a very simple application that should work on Linux and Windows.
                  Should I make different project files for my OS?
                  I have "demo.pro" and "demo.pro.user". What should I do with them?

                  Help me to build a simple application for two OS, please.

                  2_1558509321452_c-0.png 1_1558509321451_b-0.png 0_1558509321448_a-0.png

                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    koluna
                    wrote on last edited by
                    #9

                    Which components should I point out at the installation?

                    jsulmJ 1 Reply Last reply
                    0
                    • K koluna

                      Which components should I point out at the installation?

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @koluna You should install MinGW provided via Qt online installer (or maintenance tool). Your MinGW Kit is broken as you can see from the screen-shot. You're still mixing Qt for Microsoft compiler and MinGW - this is NOT going to work! So, please first install Qt for MinGW and make sure you install MinGW using Qt installer.
                      "Should I make different project files for my OS?" - NO. Just install Qt on each OS and build your project.
                      I have "demo.pro" and "demo.pro.user". What should I do with them? - pro.user should not be exchanged between different machines/OS. The pro file is the one you need to build your project.

                      "the installer will download everything again" - is it possible that you're selecting everything under a Qt version? If so then please DON'T do that - it will install all Qt for all supported compilers, Android and iOS. Only select Qt for MinGW.

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      1
                      • K Offline
                        K Offline
                        koluna
                        wrote on last edited by
                        #11

                        @jsulm said in Install Qt 5.9.8 on Windows 7 x32:

                        You should install MinGW provided via Qt online installer
                        I did it.

                        @jsulm said in Install Qt 5.9.8 on Windows 7 x32:

                        You're still mixing Qt for Microsoft compiler and MinGW
                        Why do You think so?
                        Which components should I use?

                        @jsulm said in Install Qt 5.9.8 on Windows 7 x32:

                        is it possible that you're selecting everything under a Qt version?
                        I do not do so!

                        See the screenshots, please.

                        1_1558515394412_e-0.png 0_1558515394409_d-0.png

                        jsulmJ 1 Reply Last reply
                        0
                        • K koluna

                          @jsulm said in Install Qt 5.9.8 on Windows 7 x32:

                          You should install MinGW provided via Qt online installer
                          I did it.

                          @jsulm said in Install Qt 5.9.8 on Windows 7 x32:

                          You're still mixing Qt for Microsoft compiler and MinGW
                          Why do You think so?
                          Which components should I use?

                          @jsulm said in Install Qt 5.9.8 on Windows 7 x32:

                          is it possible that you're selecting everything under a Qt version?
                          I do not do so!

                          See the screenshots, please.

                          1_1558515394412_e-0.png 0_1558515394409_d-0.png

                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by jsulm
                          #12

                          @koluna Please take a closer look at your last screen-shot: you're installing Qt for UWP MSVC2017. How is this supposed to work with MinGW?
                          Please select MinGW 5.3.0 32bit there...
                          You also should install MinGW 5.3 32bit instead of 7.3 64bit as the Qt version in the list seems to have been build using MinGW 5.3 32bit.

                          "Why do You think so?" - because this is what is in the popup of your red-marked mingw Kit in your screen-shot (see at "Qt version").

                          "I do not do so!" - I didn't say you do, I just was not sure when reading your description. And people sometimes do this mistake, so I wanted to be sure.

                          https://forum.qt.io/topic/113070/qt-code-of-conduct

                          K 1 Reply Last reply
                          0
                          • jsulmJ jsulm

                            @koluna Please take a closer look at your last screen-shot: you're installing Qt for UWP MSVC2017. How is this supposed to work with MinGW?
                            Please select MinGW 5.3.0 32bit there...
                            You also should install MinGW 5.3 32bit instead of 7.3 64bit as the Qt version in the list seems to have been build using MinGW 5.3 32bit.

                            "Why do You think so?" - because this is what is in the popup of your red-marked mingw Kit in your screen-shot (see at "Qt version").

                            "I do not do so!" - I didn't say you do, I just was not sure when reading your description. And people sometimes do this mistake, so I wanted to be sure.

                            K Offline
                            K Offline
                            koluna
                            wrote on last edited by koluna
                            #13

                            @jsulm said in Install Qt 5.9.8 on Windows 7 x32:

                            you're installing Qt for UWP MSVC2017

                            Sorry, I understood You. I thought that component is necessary...
                            I should say that some screens above are for Win7 x64.
                            Is the MinGW version meaningful (5.3 or 7.3)?

                            I will try this configuration on Win7 x86 SP1 (updated). Is it right?
                            0_1558523567333_x-0.png

                            1 Reply Last reply
                            0
                            • K Offline
                              K Offline
                              koluna
                              wrote on last edited by
                              #14

                              It does not find out "api-ms-win-crt-runtime-I1-1-0.dll" at starting Creator...
                              0_1558524137801_y-0.png

                              jsulmJ 1 Reply Last reply
                              0
                              • K koluna

                                It does not find out "api-ms-win-crt-runtime-I1-1-0.dll" at starting Creator...
                                0_1558524137801_y-0.png

                                jsulmJ Offline
                                jsulmJ Offline
                                jsulm
                                Lifetime Qt Champion
                                wrote on last edited by
                                #15

                                @koluna That's strange.
                                Did you install all Windows service packs and updates?

                                "Is the MinGW version meaningful (5.3 or 7.3)?" - it looks like the MinGW Qt version your installer is showning was build using MinGW5.3, so it is better to install MinGW 5.3.

                                https://forum.qt.io/topic/113070/qt-code-of-conduct

                                K 1 Reply Last reply
                                0
                                • jsulmJ jsulm

                                  @koluna That's strange.
                                  Did you install all Windows service packs and updates?

                                  "Is the MinGW version meaningful (5.3 or 7.3)?" - it looks like the MinGW Qt version your installer is showning was build using MinGW5.3, so it is better to install MinGW 5.3.

                                  K Offline
                                  K Offline
                                  koluna
                                  wrote on last edited by koluna
                                  #16

                                  @jsulm said in Install Qt 5.9.8 on Windows 7 x32:

                                  Did you install all Windows service packs and updates?

                                  Yes, I did. But I am not sure... I see an update SP1, but it is not present in system info...
                                  The "Windows6.1-KB2999226-x86.msu" update cannot be installed...

                                  @jsulm said in Install Qt 5.9.8 on Windows 7 x32:

                                  it looks like the MinGW Qt version your installer is showning was build using MinGW5.3, so it is better to install MinGW 5.3

                                  I do not understand a one thing. MinGW 5.3 is present twice in screen above. Should I use both items?

                                  jsulmJ 1 Reply Last reply
                                  0
                                  • K koluna

                                    @jsulm said in Install Qt 5.9.8 on Windows 7 x32:

                                    Did you install all Windows service packs and updates?

                                    Yes, I did. But I am not sure... I see an update SP1, but it is not present in system info...
                                    The "Windows6.1-KB2999226-x86.msu" update cannot be installed...

                                    @jsulm said in Install Qt 5.9.8 on Windows 7 x32:

                                    it looks like the MinGW Qt version your installer is showning was build using MinGW5.3, so it is better to install MinGW 5.3

                                    I do not understand a one thing. MinGW 5.3 is present twice in screen above. Should I use both items?

                                    jsulmJ Offline
                                    jsulmJ Offline
                                    jsulm
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #17

                                    @koluna said in Install Qt 5.9.8 on Windows 7 x32:

                                    I see an update SP1, but it is not present in system info

                                    Looks like SP1 is not installed, you should install it.

                                    "MinGW 5.3 is present twice in screen above. Should I use both items?" - the naming of the first is unfortunate I would say. It should rather be "Qt MinGW 5.3.0 32 bit" to avoid confusion. In short: the first (at the top) is the Qt version to use with WinGW compiler, second one is to install MinGW 5.3. You need both of them.

                                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                                    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