Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to compile Qt 4.7.2 with VS 2010 64-bit on Win7 64-bit
Forum Updated to NodeBB v4.3 + New Features

How to compile Qt 4.7.2 with VS 2010 64-bit on Win7 64-bit

Scheduled Pinned Locked Moved Installation and Deployment
12 Posts 4 Posters 10.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.
  • S Offline
    S Offline
    spacer2050
    wrote on last edited by
    #1

    Hi,
    with configure options must i set to compile Qt 4.7.2 with Visual Studio 2010 as a 64-bit version on Windows 7 64-bit ?

    Thanks

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      Juts call configure with MSVS 2010 options.
      64 bit should be default on 64 bit machine, isn't it?

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • S Offline
        S Offline
        spacer2050
        wrote on last edited by
        #3

        with MSVS 2010 options do you mean?

        1 Reply Last reply
        0
        • G Offline
          G Offline
          giesbert
          wrote on last edited by
          #4

          jep

          Nokia Certified Qt Specialist.
          Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

          1 Reply Last reply
          0
          • ZlatomirZ Offline
            ZlatomirZ Offline
            Zlatomir
            wrote on last edited by
            #5

            [quote author="Gerolf" date="1301125425"]...64 bit should be default on 64 bit machine, isn't it?[/quote]
            No, it is not.
            Visual Studio has different cmds for 32bit, 64bit and Itanium, so you need to use the 64bit VS cmd.

            //and make sure you installed the patch (for VS2010) that corrects the memory corruption bug about 64bit O2 and structures bigger than 64bit.

            https://forum.qt.io/category/41/romanian

            1 Reply Last reply
            0
            • S Offline
              S Offline
              Scylla
              wrote on last edited by
              #6

              Where I can get that patch, do you have link?

              1 Reply Last reply
              0
              • ZlatomirZ Offline
                ZlatomirZ Offline
                Zlatomir
                wrote on last edited by
                #7

                "Here":http://support.microsoft.com/kb/2280741 you can find information about bug and link to the patch is in that page too.

                https://forum.qt.io/category/41/romanian

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  Scylla
                  wrote on last edited by
                  #8

                  Thank you very much.

                  1 Reply Last reply
                  0
                  • ZlatomirZ Offline
                    ZlatomirZ Offline
                    Zlatomir
                    wrote on last edited by
                    #9

                    Also the recently launched "SP1":http://support.microsoft.com/kb/983509 for Visual Studio 2010 list some more fixed issues about x64 (issues with C++ compiler and optimizations)

                    https://forum.qt.io/category/41/romanian

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      Scylla
                      wrote on last edited by
                      #10

                      So if I have already SP1 installed, the problem should be fixed?

                      1 Reply Last reply
                      0
                      • ZlatomirZ Offline
                        ZlatomirZ Offline
                        Zlatomir
                        wrote on last edited by
                        #11

                        I don't know, they don't specifically say that SP1 include that fix, but that fix is older than SP1 and usually the Microsoft service packs include all older updates and patches - so SP1 should include that too.

                        https://forum.qt.io/category/41/romanian

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          Scylla
                          wrote on last edited by
                          #12

                          Ok, thank you very much.

                          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