Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.2.0
-
None
-
Windows 7 professional, 64bit, 32GB RAM, 240GB SSD
Visual Studio Command Prompt 2010
-
817c548df4b3693495323b163c584945077bbdaa
Description
When trying to compile Qt 5.2 with Visual Studio using:
configure -debug-and-release -opensource -confirm-license -platform win32-msvc2010 -static -qt-sql-sqlite -opengl desktop -openssl-linked -I C:\OpenSSL-Win64\include -L C:\OpenSSL-Win64\lib\VC\static OPENSSL_LIBS="-lssleay32MT -llibeay32MT" -l gdi32 -no-compile-examples -nomake tests -no-vcproj -mp
compilation fails with:
Microsoft (R) Program Maintenance Utility Version 10.00.40219.01
Copyright (C) Microsoft Corporation. All rights reserved.cd app\ && ( if not exist Makefile C:\Qt\qt-everywhere-opensource-src-5.2.0\qtbase\bin\qmake C:\Qt\qt-everywhere-opensource-src-5.2.0\qtmultimedia\examples\multimedia\spectrum\app\app.pro -o Makefile ) && "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\nmake.exe" -f Makefile
Project ERROR: This application cannot be statically linked to the fftreal library
NMAKE : fatal error U1077: 'cd' : return code '0x3'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
I thought that '-no-compile-examples' would help, but it didn't.