Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Cannot configure Qt 4.7.4 with VS2008 - Error 1083

$
0
0
Hi everyone, first time poster here. So I’ve done the following steps: Using Windows 8, 64-bit Installed Visual Studio 2008 with all features (ie. including c++ compilers) Downloaded the qt-everywhere-opensource .zip file for qt 4.7.4 and extracted it to D:\Program Files\Qt\4.7.4-64bit I am using Qt 4.7.4 because the program I’d like to develop for was originally built against Qt4.7.4 In the file mkspecs/win32-msvc2008/qmake.conf, I’ve changed the line that reads QMAKE_LIBS_CORE = kernel32.lib user32.lib shell32.lib uuid.lib ole32.lib advapi32.lib ws2_32.lib to QMAKE_LIBS_CORE = ole32.lib uuid.lib ws2_32.lib advapi32.lib shell32.lib user32.lib kernel32.lib This is supposedly in order to run the program I want to develop for. However, when I go to the 64-bit command prompt for Visual Studio, and run the following command: configure.exe -platform win32-msvc2008 -no-gif -qt-libpng -qt-zlib -no-libmng -qt-libtiff -qt-libjpeg -no-openssl -no-phonon -no-qt3support -D _BIND_TO_CURRENT_VCLIBS_VERSION=1 I get the following output: Creating qmake… cl -c -Fo./ -W3 -nologo -O2 /MP -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac -Igenerators\symbian -ID:\Program Files\Qt\4.7.4-64bit\include -ID:\Program Files\Qt\4.7.4-64bit\include\QtCore -ID:\Program Files\Qt\4.7.4-64bit\include -ID:\Program Files\Qt\4.7.4-64bit\include\QtCore -ID:\Program Files\Qt\4.7.4-64bit\src\corelib\global -ID:\Program Files\Qt\4.7.4-64bit\src\corelib\xml -ID:\Program Files\Qt\4.7.4-64bit\mkspecs\win32-msvc2008 -ID:\Program Files\Qt\4.7.4-64bit\tools\shared -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_PCRE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -c -Yc -Fpqmake_pch.pch -TP qmake_pch.h cl : Command line warning D9030 : ‘/Yc’ is incompatible with multiprocessing; ignoring /MP switch include c1xx : fatal error C1083: Cannot open source file: ‘Files\Qt\4.7.4-64bit\include’: No such file or directory QtCore c1xx : fatal error C1083: Cannot open source file: ‘Files\Qt\4.7.4-64bit\include\QtCore’: No such file or directory include c1xx : fatal error C1083: Cannot open source file: ‘Files\Qt\4.7.4-64bit\include’: No such file or directory QtCore c1xx : fatal error C1083: Cannot open source file: ‘Files\Qt\4.7.4-64bit\include\QtCore’: No such file or directory global c1xx : fatal error C1083: Cannot open source file: ‘Files\Qt\4.7.4-64bit\src\corelib\global’: No such file or directory xml c1xx : fatal error C1083: Cannot open source file: ‘Files\Qt\4.7.4-64bit\src\corelib\xml’: No such file or directory win32-msvc2008 c1xx : fatal error C1083: Cannot open source file: ‘Files\Qt\4.7.4-64bit\mkspecs\win32-msvc2008’: No such file or directory shared c1xx : fatal error C1083: Cannot open source file: ‘Files\Qt\4.7.4-64bit\tools\shared’: No such file or directory qmake_pch.h qmake_pch.h(44) : fatal error C1083: Cannot open include file: ‘qglobal.h’: No such file or directory and cl -c -Fo./ -W3 -nologo -O2 /MP -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac -Igenerators\symbian -ID:\Program Files\Qt\4.7.4-64bit\include -ID:\Program Files\Qt\4.7.4-64bit\include\QtCore -ID:\Program Files\Qt\4.7.4-64bit\include -ID:\Program Files\Qt\4.7.4-64bit\include\QtCore -ID:\Program Files\Qt\4.7.4-64bit\src\corelib\global -ID:\Program Files\Qt\4.7.4-64bit\src\corelib\xml -ID:\Program Files\Qt\4.7.4-64bit\mkspecs\win32-msvc2008 -ID:\Program Files\Qt\4.7.4-64bit\tools\shared -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_PCRE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -c -Yc -Fpqmake_pch.pch -TP qmake_pch.h cl : Command line warning D9030 : ‘/Yc’ is incompatible with multiprocessing; ignoring /MP switch include c1xx : fatal error C1083: Cannot open source file: ‘Files\Qt\4.7.4-64bit\include’: No such file or directory QtCore c1xx : fatal error C1083: Cannot open source file: ‘Files\Qt\4.7.4-64bit\include\QtCore’: No such file or directory include c1xx : fatal error C1083: Cannot open source file: ‘Files\Qt\4.7.4-64bit\include’: No such file or directory QtCore c1xx : fatal error C1083: Cannot open source file: ‘Files\Qt\4.7.4-64bit\include\QtCore’: No such file or directory global c1xx : fatal error C1083: Cannot open source file: ‘Files\Qt\4.7.4-64bit\src\corelib\global’: No such file or directory xml c1xx : fatal error C1083: Cannot open source file: ‘Files\Qt\4.7.4-64bit\src\corelib\xml’: No such file or directory win32-msvc2008 c1xx : fatal error C1083: Cannot open source file: ‘Files\Qt\4.7.4-64bit\mkspecs\win32-msvc2008’: No such file or directory shared c1xx : fatal error C1083: Cannot open source file: ‘Files\Qt\4.7.4-64bit\tools\shared’: No such file or directory qmake_pch.h qmake_pch.h(44) : fatal error C1083: Cannot open include file: ‘qglobal.h’: No such file or directory Building qmake failed, return code 2

Viewing all articles
Browse latest Browse all 2113

Trending Articles