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 += \