QT 6.4.1 WIN 64bit C++ : My application is running in 64bit and I want to run it on a 32bit virtual machine
-
Hello,
For a project I have to check if I can run a simple application on a 32bit virtual machine. I have installed the latest version of QT - 6.4.1 in 64bit.
So to run the application in 64bit no worries. But when I run a 32bit virtual machine and run the application there is an error where it tells me that the application is not valid in 32bit.
I did some research and my question is the following:
Is it necessary to add command lines in the program so that it runs in 32 bit?I also saw that you can change the QT kit to run in 32bit but for version 6.4.1 there is no kit for 32bit.
Thank you to the kind soul who can help me. I thank you in advance
-
Hello,
For a project I have to check if I can run a simple application on a 32bit virtual machine. I have installed the latest version of QT - 6.4.1 in 64bit.
So to run the application in 64bit no worries. But when I run a 32bit virtual machine and run the application there is an error where it tells me that the application is not valid in 32bit.
I did some research and my question is the following:
Is it necessary to add command lines in the program so that it runs in 32 bit?I also saw that you can change the QT kit to run in 32bit but for version 6.4.1 there is no kit for 32bit.
Thank you to the kind soul who can help me. I thank you in advance
@Raphawel said in QT 6.4.1 WIN 64bit C++ : My application is running in 64bit and I want to run it on a 32bit virtual machine:
Is it necessary to add command lines in the program so that it runs in 32 bit?
No, it's not
I also saw that you can change the QT kit to run in 32bit but for version 6.4.1 there is no kit for 32bit.
You have to compile Qt for 32bits and then use this Qt to compile your app with 32Bits. Not that easy.
-
Do you know how to choose to compile in 32bit ? I just started on QT creator so I don't know the environment very well yet.
(If it's with the choice of kits, I checked and version 6.4.1 does not have a 32bit kit. I mean, I just have the choice to program with 64bit) -
As I said you have to compile Qt by yourself with a compiler which generates 32Bit executables.
Take a look here for a detailed description on how to compile Qt.