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
parent
618ea643ca
commit
095000c898
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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 = .
|
||||
|
|
|
|||
Loading…
Reference in New Issue