[solved] Configure.exe fails for Qt 4.7.3 with Visual Studio-compiler
-
Just out of curiousity I have started the same configure command but substituted the visual studio version.
It does work in my installation.
The qbitarray.obj is created apparently right the beginning.
I have used "qt-everywhere-opensource-src-4.7.3.zip". -
Maybe you can try this
Check your system settings
@ QTDIR = C:\qt-everywhere-opensource-src-4.7.3
QMAKESPEC = win32-msvc2010
PATH = .....;%QTDIR%\bin@launch Visual Studio 2010 Command Prompt
check variable with the following commands
@ echo %QTDIR%
echo %QMAKESPEC%
echo %PATH%@then run this :
@cd %QTDIR%
configure & nmake & nmake clean@ -
It has to exists. Run in VC some console app. and look at project properties (If V. Visual C++ or Visual Studio uses MSVC headers which are almost ever in Program Files dir. Look for something like
Program Files/Microsoft SDKs/Windows/(current version - the latest - I've got "v7.0A")/IncludeTry it...
-
Have you really need VS2010 ?
Have you really need to compile Qt? or just want it works on Windows ?If your answers is no, no , yes , see my last post here
"http://developer.qt.nokia.com/forums/viewthread/5994/":http://developer.qt.nokia.com/forums/viewthread/5994/bq. Just few comment ...
-
[quote author="Hedge" date="1305716471"]I did exactly what you said (and made sure the variables are set) but it still can't find stddef (same error as before).
btw. what means the & between configure & nmake & nmake clean?[/quote]
it chains the commands.
it's the same thing that:
configure
nmake
clean -
there is something weird in your description:
according to your configuration ( platform win32- msvc2010 ) you wanted it configured for VS2010, but according to the compiler arguments ( IC:\qt-everywhere-
opensource-src-4.7.3\mkspecs\win32- msvc2008 ), it's been configured for VS2008 ???anyways:
directly after agreeing to the LGPL policies, the standard include paths are listed:
@You are licensed to use this software under the terms of
the GNU Lesser General Public License (LGPL) version 2.1
or the GNU General Public License (GPL) version 3.Type '3' to view the GNU General Public License version 3 (GPLv3).
Type 'L' to view the Lesser GNU General Public License version 2.1 (LGPLv2.1).
Type 'y' to accept this license offer.
Type 'n' to decline this license offer.Do you accept the terms of the license?
Environment:
INCLUDE=c:\Program Files\Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE c:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE C:\Program Files\Microsoft SDKs\Windows\v6.0A\include @
look there, stddef.h normally is located within "c:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE"
(for your configuration, the Visual Studio version number might be different)