summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2017-02-01 11:44:38 +0100
committerRobert Griebl <robert.griebl@pelagicore.com>2017-02-01 13:18:49 +0000
commit9e18b1b2f8b319a41a8fc967e119156be4d8ae7b (patch)
tree47d4dd880079399df7c8664492a57e503d3dff2c /examples
parent54e452dc1b7f7db8a2c0e1cd5699e3097244e9a9 (diff)
downloadqtivi-9e18b1b2f8b319a41a8fc967e119156be4d8ae7b.tar.gz
Move qtivi over to the new config system
Use the new configuration system to define external libraries, configure tests and features. Don't use pkg-config outside of the configuration step. The geniviextras-only CONFIG option has now been replaced with a command-line option and can be used by passing it to qmake after '--'. E.g. 'qmake -- --geniviextras-only'. Removed adding DLT into the rpath. Similar to all other Qt modules, it is now expected that packages found using pkg-config can be found by the dynamic linker. Change-Id: If46cd1b79413cd7571ee1068898848d9871e61ba Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/examples.pro10
1 files changed, 3 insertions, 7 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index a3bc472..e689d54 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -1,9 +1,5 @@
TEMPLATE = subdirs
-!geniviextras-only {
- SUBDIRS = vehiclefunctions \
- media
-}
-config_dlt {
- SUBDIRS += geniviextras
-}
+qtHaveModule(ivivehiclefunctions): SUBDIRS += vehiclefunctions
+qtHaveModule(ivimedia): SUBDIRS += media
+qtHaveModule(geniviextras): SUBDIRS += geniviextras