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



  • 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?


  • Moderators

    [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.



  • [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-...".


  • Moderators

    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 :-)


  • Lifetime Qt Champion

    The mkspec is not even needed :)

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



  • [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?..


  • Moderators

    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 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.