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. VisualStudio 2010 - Qt 4.8.2 - Can't build in platform x64 - Please Help

VisualStudio 2010 - Qt 4.8.2 - Can't build in platform x64 - Please Help

Scheduled Pinned Locked Moved General and Desktop
14 Posts 9 Posters 14.6k 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.
  • B Offline
    B Offline
    brian_bat
    wrote on last edited by
    #5

    Yes, I already added Qt version 4.8.2 but it is only applying it to the 32-bit platform. How can I also add a 64-bit platform?

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

      Build it using the 64bit compiler.

      I think there was some serious trouble with MSVC2010 compilers in 64bit mode when the list of supported compilers was decided on, so there are no 64bit binaries for windows available.

      1 Reply Last reply
      0
      • B Offline
        B Offline
        brian_bat
        wrote on last edited by
        #7

        Sorry but what do you mean by "using the 64bit compiler"?

        1 Reply Last reply
        0
        • C Offline
          C Offline
          ChazZ710
          wrote on last edited by
          #8

          Hi,

          I have exactly the same problem, I use the Visual Studio x64 Command Prompt to compile the source of Qt 4.8.2. The compile suceed but when I try to compile my project in Visual Studio using x64 solution I get this error (same as yours) :

          There is no Qt version assigned to this project for platform x64.
          Please use the “change Qt version” feature and choose a valid Qt version for this platform.

          Do you find a way to fix it ?

          Sorry for my english...

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

            [quote author="ChazZ710" date="1345199323"]Hi,

            I have exactly the same problem, I use the Visual Studio x64 Command Prompt to compile the source of Qt 4.8.2. The compile suceed but when I try to compile my project in Visual Studio using x64 solution I get this error (same as yours) :

            There is no Qt version assigned to this project for platform x64.
            Please use the “change Qt version” feature and choose a valid Qt version for this platform.

            Do you find a way to fix it ?

            Sorry for my english...[/quote]

            Do you require a 32 and a 64 bit version of Qt?
            If I understand the discussion correctly, there is no way at the moment to distinguish between 32 and 64 bit versions. IMHO it is worth a try to limit yourself to 64 bit only. Possibly when no 32 bit Qt lib version is on the machine you may be able to compile your project in 64 bit.
            However, this is just a guess.

            Vote the answer(s) that helped you to solve your issue(s)

            1 Reply Last reply
            0
            • C Offline
              C Offline
              ChazZ710
              wrote on last edited by
              #10

              I require a 64 bit version, I'll try just with a 64 bit version on my computer as you say, thank you for the advice.

              1 Reply Last reply
              0
              • B Offline
                B Offline
                Bitjuggler
                wrote on last edited by
                #11

                Hi, I had exactly the same problem. I solved it by using the Visual Studio Add-In 1.1.9. It seems that later Add-In versions are actually getting worse to use...

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mfeemster
                  wrote on last edited by
                  #12

                  Hi all, I'm not sure if anyone is still following this, but I found a solution. The problem is that the add-in properly adds it for Win32, but doesn't for x64. The solution is that you have to manually add it for the latter. To fix:

                  1. Close your solution file.
                  2. File | Open your Qt .vcxproj file.
                  3. Scroll to the bottom and find Qt5Version_x0020_Win32="5.0.1" inside of the UserProperties tag.
                  4. Add Qt5Version_x0020_x64="5.0.1" right after the Win32 one.

                  Note: My version is 5.0.1, make yours whatever your Qt version is. Hope that helps and happy 64-bit development.

                  github.com/mfeemster/fractorium/wiki

                  1 Reply Last reply
                  1
                  • N Offline
                    N Offline
                    nikita91
                    wrote on last edited by
                    #13

                    Thank you very very much.

                    This is the solution i searched for 6 hours!

                    A year later, this bug is not fixed yet...

                    1 Reply Last reply
                    0
                    • 0 Offline
                      0 Offline
                      0xbaadf00d
                      wrote on last edited by
                      #14

                      And still it's not fixed. Thanks for the help!

                      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