mirror of https://github.com/KLayout/klayout.git
Build patch to allow building without qxmlpattern with -without-qt-xml
This commit is contained in:
parent
a4b663199d
commit
156b9137ab
|
|
@ -28,7 +28,6 @@
|
|||
#include <QPoint>
|
||||
#include <QColor>
|
||||
#include <QSize>
|
||||
#include <QAbstractMessageHandler>
|
||||
|
||||
// NOTE: this is required because HitTestAccuracy is defined here, but goes into Qt
|
||||
// namespace which is in QtCore ... this introduces a dependency of QtCore GSI lib on QtGui.
|
||||
|
|
|
|||
|
|
@ -186,10 +186,6 @@ equals(HAVE_QT, "0") {
|
|||
|
||||
QT += widgets gui printsupport
|
||||
|
||||
lessThan(QT_MAJOR_VERSION, 6) {
|
||||
QT += xmlpatterns
|
||||
}
|
||||
|
||||
equals(HAVE_QTBINDINGS, "1") {
|
||||
!equals(HAVE_QT_DESIGNER, "0") {
|
||||
# designer isn't needed by the base application
|
||||
|
|
@ -207,6 +203,12 @@ equals(HAVE_QT, "0") {
|
|||
# uitools isn't needed by the base application
|
||||
QT += uitools
|
||||
}
|
||||
!equals(HAVE_QT_XML, "0") {
|
||||
lessThan(QT_MAJOR_VERSION, 6) {
|
||||
QT += xmlpatterns
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue