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 Creator detected MSVC x64 but cannot select it

Qt Creator detected MSVC x64 but cannot select it

Scheduled Pinned Locked Moved General and Desktop
9 Posts 5 Posters 6.8k 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.
  • K Offline
    K Offline
    kimu9
    wrote on last edited by
    #1

    Hi,

    I would like to use the microsoft 64-bit compiler and already installed the visual studio 10. Qt Creator automatically detected the x64 compiler and shows in Build&Run. However, when I try to select that tool chain in the project's Build Setting, the tool chain does not show up. Only x86 is there.

    Can anyone help?

    PS I am running Qt Creator 2.4.1 on Window-7 64-bit

    1 Reply Last reply
    0
    • E Offline
      E Offline
      esdrasbeleza
      wrote on last edited by
      #2

      If you downloaded Qt Creator using Downloads page, you're using Qt Creator 32 bits. I'm almost sure it can't compile applications in 64-bit mode. You'll have to download Qt Creator and recompile it for 64-bit platform. I don't know if there's a 64-bit version of Qt Creator somewhere.

      I had the same problem today, now I'm using Visual Studio for 64-bit Windows with the Qt add-in.

      1 Reply Last reply
      0
      • E Offline
        E Offline
        esdrasbeleza
        wrote on last edited by
        #3

        And just remembering: the Qt library you download here also is in 32-bit mode.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          Qt Creator can build both 32bit and 64bit, independent on its own word width. It will only offer the compilers that are supposed to work with the Qt library used in your project, so most likely you will have a 32bit Qt in your project.

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kimu9
            wrote on last edited by
            #5

            Thank you so much for all your replies. I am sorry for replying this late...just got back in town.

            I am a very beginner in Qt (actually in programming as well), so there are a lot of things that confuse me a lot. Does it mean that I have to download the source file and compile it into 64-bit? Is it possible to keep both 32-bit and 64-bit Qt libraries? and how to tell the creator to use 64-bit libraries?

            Thank you so much for your help.

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tobias.hunger
              wrote on last edited by
              #6

              Yes, you can have both 64bit and 32bit Qt libraries on your system. IIRC there are no 64bit pre-build bundles for windows, so you will need to build them yourself.

              To use a 64bit Qt in creator you only need to set up a new Qt version in Tools->Options->Build & Run->Qt versions by giving the path to qmake and then select this Qt version for your project.

              1 Reply Last reply
              0
              • W Offline
                W Offline
                walteste
                wrote on last edited by
                #7

                Are 64bit binaries planned for download in Qt5?

                1 Reply Last reply
                0
                • V Offline
                  V Offline
                  VadimAlexeev
                  wrote on last edited by
                  #8

                  Reinstalling will help.

                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    kimu9
                    wrote on last edited by
                    #9

                    Thank you guys for all your guides and tips. I finally got the 64-bit libraries run with Qt Creator! :)

                    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