Fix shadow build compilation with MSVC

\#include "foo" in MSVC does not search the output path, so we need to
pass the proper -I flag to find the build dir's src/corelib/global.

Change-Id: I546051c99fd29d7734f8bf35d058ea283ec9bca7
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
bb10
Thiago Macieira 2012-03-01 16:17:27 +01:00 committed by Qt by Nokia
parent 618ea643ca
commit 095000c898
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@
#include "preprocessor.h"
#include "moc.h"
#include "outputrevision.h"
#include "../../corelib/global/qconfig.cpp"
#include <qconfig.cpp>
#include <QFile>
#include <QFileInfo>
#include <QDir>

View File

@ -3,7 +3,7 @@ TARGET = moc
DEFINES += QT_MOC QT_NO_CAST_FROM_BYTEARRAY QT_NO_COMPRESS
DESTDIR = ../../../bin
INCLUDEPATH += .
INCLUDEPATH += . $$OUT_PWD/../../corelib/global
DEPENDPATH += .
LIBS =
OBJECTS_DIR = .