[Qt-interest] error compiling with Qt on console using MSVC 2005

Matthias Pospiech matthias.pospiech at gmx.de
Wed Aug 18 11:41:42 CEST 2010


I have set up a console using this code:

@echo off
call "C:\Programme\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86
rem
rem This file is generated
rem
echo Setting up a MSVC-2005/Qt only environment...
echo -- QTDIR set to C:\Qt\msvc\2005\4.6.3
echo -- Adding C:\Qt\msvc\2005\4.6.3\bin to PATH
echo -- Adding %SystemRoot%\System32 to PATH
echo -- QMAKESPEC set to win32-msvc2005
set QTDIR=C:\Qt\msvc\2005\4.6.3
set PATH=%PATH%;C:\Qt\msvc\2005\4.6.3\bin;
set PATH=%PATH%;%SystemRoot%\System32
set QMAKESPEC=win32-msvc2005


However if I compile a Qt programm from that console I get this error:

c:\qt\msvc\2005\4.6.3\include\qtcore\qglobal.h(45) : fatal error C1083: 
Datei (I
nclude) kann nicht geöffnet werden: "stddef.h": No such file or directory

What am I doing wrong?



More information about the Qt-interest-old mailing list