summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/declarative/declarative.pro2
-rw-r--r--src/qbase.pri2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/declarative.pro b/src/declarative/declarative.pro
index e5e604b..e4901bf 100644
--- a/src/declarative/declarative.pro
+++ b/src/declarative/declarative.pro
@@ -12,6 +12,8 @@ unix:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui QtXml
# QMAKE_CXXFLAGS = -fprofile-arcs -ftest-coverage
# LIBS += -lgcov
+INCLUDEPATH += ../../include/QtDeclarative
+
include(../qbase.pri)
#modules
diff --git a/src/qbase.pri b/src/qbase.pri
index 6428130..b9c8c06 100644
--- a/src/qbase.pri
+++ b/src/qbase.pri
@@ -1,5 +1,5 @@
isEmpty(TARGET):error(You must set TARGET before include()'ing $${_FILE_})
-INCLUDEPATH *= $$QMAKE_INCDIR_QT/$$TARGET #just for today to have some compat
+!equals(TARGET, QtDeclarative): contains():INCLUDEPATH *= $$QMAKE_INCDIR_QT/$$TARGET #just for today to have some compat
!isEmpty(RCC_DIR): INCLUDEPATH += $$RCC_DIR
isEmpty(QT_ARCH):!isEmpty(ARCH):QT_ARCH=$$ARCH #another compat that will rot for change #215700
TEMPLATE = lib