diff options
author | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2015-03-16 16:44:03 +0100 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2015-03-25 10:03:38 +0000 |
commit | 0bd06bd9bd3b8387edbca4fc8bb16002f2732358 (patch) | |
tree | 0e8cce86d8160185ce9cdd8c54286eaf4d3bbada /tests/auto/corelib/plugin | |
parent | 6bcef040d8e76bd443aa056b93043eeda26fb0b0 (diff) |
Fix building test qpluginloader/machtest against installed qtbase
When building the test while qtbase has been installed and the
build dir was removed, the include paths were not found in
frameworks builds.
Change-Id: I32d9e61176a5e19c86095580ddad6914f25ff952
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'tests/auto/corelib/plugin')
-rw-r--r-- | tests/auto/corelib/plugin/qpluginloader/machtest/machtest.pro | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/auto/corelib/plugin/qpluginloader/machtest/machtest.pro b/tests/auto/corelib/plugin/qpluginloader/machtest/machtest.pro index 7acddc22ce..e3d5bff5ff 100644 --- a/tests/auto/corelib/plugin/qpluginloader/machtest/machtest.pro +++ b/tests/auto/corelib/plugin/qpluginloader/machtest/machtest.pro @@ -3,11 +3,14 @@ OTHER_FILES += \ ppcconverter.pl \ generate-bad.pl +# Needs explicit load()ing due to aux template. Relies on QT being non-empty. +load(qt) + i386.target = good.i386.dylib -i386.commands = $(CXX) $(CXXFLAGS) -shared -arch i386 -o $@ -I$$[QT_INSTALL_HEADERS/get] $< +i386.commands = $(CXX) $(CXXFLAGS) -shared -arch i386 -o $@ -I$(INCPATH) $< i386.depends += $$PWD/../fakeplugin.cpp x86_64.target = good.x86_64.dylib -x86_64.commands = $(CXX) $(CXXFLAGS) -shared -arch x86_64 -o $@ -I$$[QT_INSTALL_HEADERS/get] $< +x86_64.commands = $(CXX) $(CXXFLAGS) -shared -arch x86_64 -o $@ -I$(INCPATH) $< x86_64.depends += $$PWD/../fakeplugin.cpp # Current Mac OS X toolchains have no compiler for PPC anymore |