fix non-git shadow builds
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Mon, 16 Feb 2015 14:31:58 +0000 (15:31 +0100)
committerJani Heikkinen <jani.heikkinen@theqtcompany.com>
Mon, 16 Feb 2015 15:12:30 +0000 (15:12 +0000)
the qt headers live in the source dir in this configuration.

instead of hard-coding the path in the project file, use the correct
module variable. this requires harfbuzz-ng to be built after corelib.

Change-Id: If1b64b59a0939d3b5190331fcf70da566d4eeedd
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/3rdparty/harfbuzz-ng/harfbuzz-ng.pro
src/src.pro

index a8885d71df0924730e9a095ec19ae5e75abd38b9..300b22ec57544bfc878704d3fdbae7f15bcc2997 100644 (file)
@@ -14,7 +14,7 @@ DEFINES += HAVE_ATEXIT
 unix: DEFINES += HAVE_PTHREAD HAVE_SCHED_H HAVE_SCHED_YIELD
 
 INCLUDEPATH += $$PWD/include
-INCLUDEPATH += $$OUT_PWD/../../../include
+INCLUDEPATH += $$QT.core.includes
 
 SOURCES += \
     $$PWD/src/hb-blob.cc \
index 81f4fa525656a673f99e250aafba5483645ef6b7..83f7587f0e2fda104ec32df95365bab51a235990 100644 (file)
@@ -83,6 +83,7 @@ src_testlib.depends = src_corelib   # src_gui & src_widgets are not build-depend
 
 src_3rdparty_harfbuzzng.subdir = $$PWD/3rdparty/harfbuzz-ng
 src_3rdparty_harfbuzzng.target = sub-3rdparty-harfbuzzng
+src_3rdparty_harfbuzzng.depends = src_corelib   # for the Qt atomics
 
 src_angle.subdir = $$PWD/angle
 src_angle.target = sub-angle