summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_example_installs.prf
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2012-12-10 19:29:33 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-11 13:37:57 +0100
commitb8d0bde59c00471b915c8f876e16fda9fd5f435e (patch)
tree4d0b70eb86a0f0411c450e7f7251b35104d4b173 /mkspecs/features/qt_example_installs.prf
parente0d72efbe7f4056a88e6c25a0866806603e4b944 (diff)
install a sane top-level examples.pro file
generally, don't install anything from the top-level examples dirs automatically. the global README and the aggregator examples.pro are installed explicitly. Change-Id: I5f6b8760f37d917b800fa85979896a471778cac0 Reviewed-by: hjk <qthjk@ovi.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'mkspecs/features/qt_example_installs.prf')
-rw-r--r--mkspecs/features/qt_example_installs.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/qt_example_installs.prf b/mkspecs/features/qt_example_installs.prf
index 281552acb6..de1176ef96 100644
--- a/mkspecs/features/qt_example_installs.prf
+++ b/mkspecs/features/qt_example_installs.prf
@@ -1,5 +1,5 @@
probase = $$relative_path($$_PRO_FILE_PWD_, $$dirname(_QMAKE_CONF_)/examples)
-!contains(probase, ^\\..*) {
+!isEmpty(probase):!contains(probase, ^\\..*) {
for(ex, EXAMPLE_FILES): \
sourcefiles += $$files($$absolute_path($$ex, $$_PRO_FILE_PWD_))
for(res, RESOURCES) {