From 2cd9c79fa750fb84028d062dbc37d9fb9b4c22c6 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Sat, 13 Oct 2018 10:11:05 +0200 Subject: [PATCH] qtHaveModule(svg) checks added --- examples/examples.pro | 11 +++++++++-- tools/tools.pro | 7 +++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/examples/examples.pro b/examples/examples.pro index 4cbf7382..e5ba1f04 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -4,8 +4,6 @@ TEMPLATE = subdirs # c++ SUBDIRS += \ - automotive \ - qvgviewer \ desktop \ dialogbuttons \ layouts \ @@ -15,6 +13,15 @@ SUBDIRS += \ thumbnails \ tabview +qtHaveModule(svg) { + + # when checking in qvg files we could drop the svg dependency + + SUBDIRS += \ + automotive \ + qvgviewer +} + # qml SUBDIRS += \ boxes \ diff --git a/tools/tools.pro b/tools/tools.pro index cfe41353..67095927 100644 --- a/tools/tools.pro +++ b/tools/tools.pro @@ -2,8 +2,11 @@ include( $${PWD}/../qskconfig.pri ) TEMPLATE = subdirs -SUBDIRS += \ - svg2qvg \ +qtHaveModule(svg) { + + SUBDIRS += \ + svg2qvg +} doxygen { SUBDIRS += \