mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-30 09:49:21 +02:00
WIP: fixed some string extractors
This commit is contained in:
@@ -10,6 +10,6 @@ HEADERS += \
|
||||
|
||||
LIBS += -lklayout_QtCore -lklayout_QtGui
|
||||
|
||||
equals(HAVE_QT5, "1") {
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
LIBS += -lklayout_QtWidgets
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ HEADERS += \
|
||||
|
||||
LIBS += -lklayout_QtGui -lklayout_QtCore
|
||||
|
||||
equals(HAVE_QT5, "1") {
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
LIBS += -lklayout_QtWidgets
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,6 @@ LIBS += -lklayout_QtCore -lklayout_QtXml
|
||||
# Because of stupid dependency of QtCore on QtGui and this on QtWidgets:
|
||||
LIBS += -lklayout_QtGui
|
||||
|
||||
equals(HAVE_QT5, "1") {
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
LIBS += -lklayout_QtWidgets
|
||||
}
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ SUBDIRS = \
|
||||
QtCore \
|
||||
QtGui
|
||||
|
||||
equals(HAVE_QT5, "1") {
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
|
||||
SUBDIRS += QtWidgets
|
||||
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ HEADERS += \
|
||||
# Use this opportunity to provide the __init__.py file
|
||||
|
||||
equals(HAVE_QTBINDINGS, "1") {
|
||||
equals(HAVE_QT5, "1") {
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
INIT_PY = $$PWD/../__init__.py.qt5
|
||||
} else {
|
||||
INIT_PY = $$PWD/../__init__.py.qt4
|
||||
|
||||
Reference in New Issue
Block a user