mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-07 11:31:08 +02:00
Added a build system option to enable/disable uitools support as some distributions do not support that
This commit is contained in:
@@ -8,7 +8,7 @@ SOURCES = \
|
||||
|
||||
HEADERS += \
|
||||
|
||||
contains(QT_MODULES, uitools) {
|
||||
equals(HAVE_QT_UITOOLS, "1") {
|
||||
LIBS += -lklayout_QtUiTools
|
||||
}
|
||||
|
||||
|
||||
+7
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user