Releasing exe for 32 bit windows from a 64 bit windows qt creator
-
Hi, I have succesffuly windeployed qt many times and got the exe i wanted. Recently, I had to run an exe released from 64bit windows qt creator for my client on his 32 bit windows. 32 bit windows did not accept it of course.
I don't want to reinstall qt and select the packages or kits because its a headache.
Is it possible to add kits or whatever in my current qt creator.
As I already mentioned, I already have a project running perfectly on 64 bit windows. I want to create an exe that should run perfectly on 32 bit windows.
Please guide me with what steps I should follow. Thanks -
@Ahsan-Niaz said in Releasing exe for 32 bit windows from a 64 bit windows qt creator:
Is it possible to add kits or whatever in my current qt creator.
Yes
As I already mentioned, I already have a project running perfectly on 64 bit windows. I want to create an exe that should run perfectly on 32 bit windows.
Please guide me with what steps I should follow. Thanks- Close Qt Creator
- Run MaintenanceTool.exe
- Select and install a 32-bit version of Qt from the MaintenanceTool
- Install a compatible 32-bit compiler
- If you're using MinGW, install it from the Qt installer
- If you're using MSVC, install it from Microsoft's website
- Open your project in Qt Creator and enable your 32-bit kit: https://doc.qt.io/qtcreator/creator-configuring-projects.html
- Build and deploy your application using your 32-bit kit
I don't want to reinstall qt and select the packages or kits because its a headache.
You don't need to reinstall Qt.
You must install a new version of Qt on top of your existing installation.
Recently, I had to run an exe released from 64bit windows qt creator for my client on his 32 bit windows.
The bitness of Qt Creator does not matter. What's important is the bitness of your kit. (Qt Creator can manage many versions of Qt, both 32-bit and 64-bit, at the same time)