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. how i can compile my app with qt in 64 bits if i'm using 32 bits
Qt 6.11 is out! See what's new in the release blog

how i can compile my app with qt in 64 bits if i'm using 32 bits

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 1.1k 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.
  • RIVOPICOR Offline
    RIVOPICOR Offline
    RIVOPICO
    wrote on last edited by
    #1

    Hi it's possible to compile my application in 64 bits if i'm using a operating system of 32 bits with Qt? thx in advance!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by SGaist
      #2

      Hi,

      It depends on the OS and whether it provides a cross-compiler that does 32 to 64bit which also means that you need to have Qt and all dependencies of it and your application in 64bit.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      RIVOPICOR 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        It depends on the OS and whether it provides a cross-compiler that does 32 to 64bit which also means that you need to have Qt and all dependencies of it and your application in 64bit.

        RIVOPICOR Offline
        RIVOPICOR Offline
        RIVOPICO
        wrote on last edited by
        #3

        i'm using visual studio like compiler and support it but i can select the architecture in Qt or i must to use visual studio command line?

        jsulmJ 1 Reply Last reply
        0
        • RIVOPICOR RIVOPICO

          i'm using visual studio like compiler and support it but i can select the architecture in Qt or i must to use visual studio command line?

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

          @RIVOPICO You need to use 64bit VC++ compiler and Qt built with same compiler. You can use Qt Maintenance Tool to install 64bit Qt for your VC++ version.

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

          RIVOPICOR 1 Reply Last reply
          0
          • jsulmJ jsulm

            @RIVOPICO You need to use 64bit VC++ compiler and Qt built with same compiler. You can use Qt Maintenance Tool to install 64bit Qt for your VC++ version.

            RIVOPICOR Offline
            RIVOPICOR Offline
            RIVOPICO
            wrote on last edited by
            #5

            @jsulm visual studio include both version's compiler i have.
            when you say:
            you can use Qt Maintenance Tool to install 64bit Qt for your VC++ version.

            But i'm sure that visual studio support both version x32 and x64 bits. If i install with Qt Maintenance Tool what will happen with my version of 32 bits? Thanks in advance!

            jsulmJ 1 Reply Last reply
            0
            • RIVOPICOR RIVOPICO

              @jsulm visual studio include both version's compiler i have.
              when you say:
              you can use Qt Maintenance Tool to install 64bit Qt for your VC++ version.

              But i'm sure that visual studio support both version x32 and x64 bits. If i install with Qt Maintenance Tool what will happen with my version of 32 bits? Thanks in advance!

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

              @RIVOPICO I'm not talking about Visual Studio compiler, I know that it provides both.
              I'm talking about Qt: if you want to build a 64bit app then you need a 64bit Qt version.
              Nothing will happen with 32bit version if you install 64bit Qt version - you can as many Qt versions as you like/need.

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

              1 Reply Last reply
              2

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved