Building 64bit Shared Qt Dlls on 64bit Win7 for Visual Studio
Hi.
I try to build 64bit Qt DLLs on a Win7 64bit machine for Visual Studio. Qt Version is 4.7.4. I found an article "Qt4 with Visual Studio" that is helpful but did not let me succeed. I am not able to find the correct parameters for -platform or -platformx for 64bit MSVC2011 builds. Has anybody build a 64bit Qt enviroment for Visual Studio 2010 (2008) on 64bit Win7.
Thanx Harald.
Re: Building 64bit Shared Qt Dlls on 64bit Win7 for Visual Studio
I was able to do that with a static lib but should work for DLLs. I didn't set the platform command and it worked for me. From the MSVC 64bit command line (start->programs->microsoft visual studio -> visual studio tools-> visual studio 2008 x64 win64 command prompt) just run configure with your options. This was my command (ovbiously remove '-static' if you don't need that)
Code:
configure -static -nomake examples -nomake demos -no-qt3support -no-scripttools -no-openssl -no-opengl -no-webkit -no-phonon -no-style-motif -no-style-cde -no-style-cleanlooks -no-style-plastique -no-sql-sqlite
then nmake