Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT 6.4.1 WIN 64bit C++ : My application is running in 64bit and I want to run it on a 32bit virtual machine
Qt 6.11 is out! See what's new in the release blog

QT 6.4.1 WIN 64bit C++ : My application is running in 64bit and I want to run it on a 32bit virtual machine

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 964 Views
  • 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.
  • R Offline
    R Offline
    Raphawel
    wrote on last edited by
    #1

    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

    Christian EhrlicherC 1 Reply Last reply
    0
    • R Raphawel

      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

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

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

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      2
      • R Offline
        R Offline
        Raphawel
        wrote on last edited by Raphawel
        #3

        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)

        1 Reply Last reply
        0
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          3
          • R Offline
            R Offline
            Raphawel
            wrote on last edited by
            #5

            Ok thanks for your help, I figured out how to do it. Happy Christmas !

            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