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. [Solved] Building Qt 4.8.0 on windows7 64 Bit with VS2010
Qt 6.11 is out! See what's new in the release blog

[Solved] Building Qt 4.8.0 on windows7 64 Bit with VS2010

Scheduled Pinned Locked Moved General and Desktop
8 Posts 6 Posters 18.3k 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.
  • V Offline
    V Offline
    vivek.narvekar
    wrote on last edited by
    #1

    Hello,

    I recently downloaded the Qt 4.8.0. I have windows7 64 bit OS with VS2010.
    I wanted to build this version of Qt.
    But when I checked the mkspecs folder it only had win32-msvc2010, but there was no win64-msvc2010.
    Thus, What argument do I need to pass to the command "configure -platform" so as to get 64 Bit Qt build ?

    Thanks for any help...

    Thank You
    Regards
    Vivek

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

      IIRC I opened a MSVC command prompt, switched in there to 64bit and then proceeded using the win32-msvc2010 platform.

      Note that you need a hotfix applied to MSVC2010 for it to build valid 64bit code of Qt. That may or may not be part of the SP for MSVC, I am not sure.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Anticross
        wrote on last edited by
        #3

        maybe you need to run Visual Studio 2010 x64 Cross Tools Command Prompt from Visual studio tools and compile, make, and install qt.

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vivek.narvekar
          wrote on last edited by
          #4

          Thanks Tobias and Anticross for responding.

          I tried building using "Visual Studio X64 win64 command prompt". Only few executable's and dll's got build, and it gave fatal error while building qhelpconverter.exe.

          As Tobias said, I think I need to install the hotfix.

          Tobias, can you please tell me what Hot fix i need to install ? is it a hot fix for VS or for Qt ?

          Thanks a lot for help.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            ctrlbrk
            wrote on last edited by
            #5

            Hey, I had to install this one, I don't know if it's still needed :
            http://support.microsoft.com/kb/2280741

            1 Reply Last reply
            0
            • V Offline
              V Offline
              vivek.narvekar
              wrote on last edited by
              #6

              Hello All,

              I had to install SP1 for VS2010, and the problem was solved.

              Thanks a lot for all your help

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

                The problem is not in MSVC2010 at this time. SP1 solved the problem.

                But QT itself is not configured properly to change for x64.
                I've seen tons of warnings size_t to int conversion data loss.
                And even though in static Qt was built OK but the whole application that was working ok in win32 failes after launch.

                1 Reply Last reply
                0
                • Q Offline
                  Q Offline
                  Qt-ITK-VTK
                  wrote on last edited by
                  #8

                  Its a long process I have referred this method hope it will help you.
                  http://qtitkvtkhelp.blogspot.in/2013/04/qt-64-bit-build.html

                  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