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. Why only 32-bit installer is available for Qt 4.8.6 for Windows?

Why only 32-bit installer is available for Qt 4.8.6 for Windows?

Scheduled Pinned Locked Moved Installation and Deployment
8 Posts 3 Posters 6.2k 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.
  • A Offline
    A Offline
    Alexander_I
    wrote on last edited by
    #1

    Hi,

    I have Windows 7 64 bit and MS Visual Studio 2008.
    When I used Qt 4.8.5, I had 64-bit Qt libraries.
    I want to upgrade to Qt 4.8.6, but qt-opensource-windows-x86-vs2008-4.8.6.exe (available at Downloads page) has installed 32-bit Qt libraries.
    Should I build only 32-bit Windows applications with Qt 4.8.6?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      [quote author="Alexander_I" date="1408843640"]Should I build only 32-bit Windows applications with Qt 4.8.6?[/quote]

      No, 64b is still fully supported. You need to compile Qt yourself to use it, though.

      (Z(:^

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

        [quote author="sierdzio" date="1408866956"]No, 64b is still fully supported. You need to compile Qt yourself to use it, though.[/quote]

        Thank you for answer. I considered re-building libraries to get 64-bit, but I do not see what "platform" argument should I specify in the "configure" command line? The folder "mkspecs" contains only "win32-..." subfolders. No "x64-..." or "win64-...".

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Use win32- mkspec for your Visual Studio version (2008). Add -arch x64 to configure flags. And make sure you are using 64 bit command line from Visual Studio. All together, it should work :-)

          (Z(:^

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

            The mkspec is not even needed :)

            Like sierdzio wrote, ensure you start from the 64bit command line but not the cross-compile.

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

            1 Reply Last reply
            0
            • A Offline
              A Offline
              Alexander_I
              wrote on last edited by
              #6

              [quote author="sierdzio" date="1408870569"]Use win32- mkspec for your Visual Studio version (2008). Add -arch x64 to configure flags. And make sure you are using 64 bit command line from Visual Studio. All together, it should work :-)[/quote]

              Thanks you. I have added -arch x64 to configure flags. It has finished OK. However, then nmake stops with fatal error " Qt has not been ported to this architecture". Any ideas?..

              1 Reply Last reply
              0
              • sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #7

                Hm. Maybe you don't need to specify the -arch if you are already using a 64b command line. Try again without it (you need a clean source code. Depending on how you are building, that means either extracting the .zip again, or running dist-clean, or removing your build dir).

                (Z(:^

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  Alexander_I
                  wrote on last edited by
                  #8

                  [quote author="sierdzio" date="1408971065"]Hm. Maybe you don't need to specify the -arch if you are already using a 64b command line. Try again without it (you need a clean source code. Depending on how you are building, that means either extracting the .zip again, or running dist-clean, or removing your build dir).[/quote]

                  Thank you very much! It works now.

                  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