Unsolved Install Qt 5.9.8 on Windows 7 x32
-
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
-
@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.
-
I use "qt-opensource-windows-x86-5.9.8" installer. See the screenshot, please.
Is it a 64-bit installer?! -
@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? -
@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?!
-
@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. -
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? -
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.
-
Which components should I point out at the installation?
-
@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.
-
@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.
-
@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.
-
@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?
-
It does not find out "api-ms-win-crt-runtime-I1-1-0.dll" at starting Creator...
-
@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.
-
@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?
-
@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.