Added a build system option to enable/disable uitools support as some distributions do not support that

This commit is contained in:
Matthias Koefferlein
2021-02-27 18:03:37 +01:00
parent 66199958a5
commit 33ae3b0239
7 changed files with 43 additions and 18 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ SOURCES = \
HEADERS += \
contains(QT_MODULES, uitools) {
equals(HAVE_QT_UITOOLS, "1") {
LIBS += -lklayout_QtUiTools
}
+7 -3
View File
@@ -1,4 +1,6 @@
include($$PWD/../klayout.pri)
TEMPLATE = subdirs
SUBDIRS = \
db \
@@ -20,7 +22,6 @@ SUBDIRS = \
QtSql \
QtWidgets \
QtDesigner \
QtUiTools \
QtMultimedia \
QtPrintSupport \
QtSvg \
@@ -35,13 +36,16 @@ SUBDIRS = \
QtXml \
QtSql \
QtNetwork \
QtDesigner \
QtUiTools
QtDesigner
}
}
}
equals(HAVE_QT_UITOOLS, "1") {
SUBDIRS += QtUiTools
}
ALL_DIRS = $$SUBDIRS
SUBDIRS += unit_tests