diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/aggregate/examples.pro | 6 | ||||
-rw-r--r-- | examples/examples.pro | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/examples/aggregate/examples.pro b/examples/aggregate/examples.pro new file mode 100644 index 0000000000..bf5e48fd59 --- /dev/null +++ b/examples/aggregate/examples.pro @@ -0,0 +1,6 @@ +TEMPLATE = subdirs + +sd = $$files(*) +for(d, sd): \ + exists($$d/$${d}.pro): \ + SUBDIRS += $$d diff --git a/examples/examples.pro b/examples/examples.pro index db444b5d12..06ef0adcab 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -25,3 +25,9 @@ contains(QT_CONFIG, opengl):!contains(QT_CONFIG, no-widgets):SUBDIRS += opengl contains(QT_CONFIG, dbus): SUBDIRS += dbus contains(QT_CONFIG, concurrent): SUBDIRS += qtconcurrent contains(DEFINES, QT_NO_TRANSLATION): SUBDIRS -= linguist + +aggregate.files = aggregate/examples.pro +aggregate.path = $$[QT_INSTALL_EXAMPLES] +readme.files = README +readme.path = $$[QT_INSTALL_EXAMPLES] +INSTALLS += aggregate readme |