Fixed qmake-based builds after changing setup.py

This commit is contained in:
Matthias Koefferlein 2022-05-14 00:00:35 +02:00
parent 26dbb4003e
commit 684ece41d1
6 changed files with 21 additions and 11 deletions

View File

@ -30,6 +30,7 @@ SOURCES = \
# Enabled without Qt:
HEADERS += \
antForceLink.h \
antConfig.h \
antObject.h \
antPlugin.h \
@ -39,6 +40,7 @@ HEADERS += \
antCommon.h
SOURCES += \
antForceLink.cc \
antConfig.cc \
antObject.cc \
antPlugin.cc \

View File

@ -54,6 +54,7 @@ SOURCES = \
# Enabled without Qt:
HEADERS += \
edtForceLink.h \
edtConfig.h \
edtMainService.h \
edtPartialService.h \
@ -65,6 +66,7 @@ HEADERS += \
edtDistribute.h \
SOURCES += \
edtForceLink.cc \
edtConfig.cc \
edtMainService.cc \
edtPartialService.cc \

View File

@ -8,12 +8,14 @@ DEFINES += MAKE_LYM_LIBRARY
SOURCES = \
gsiDeclLymMacro.cc \
lymForceLink.cc \
lymMacroInterpreter.cc \
lymMacroCollection.cc \
lymMacro.cc \
HEADERS = \
lymCommon.h \
lymForceLink.h \
lymInclude.h \
lymMacroInterpreter.h \
lymMacroCollection.h \

View File

@ -1,5 +1,6 @@
TARGET = lay
TARGET = laycore
REALMODULE = lay
include($$PWD/../pymod.pri)
@ -8,5 +9,12 @@ SOURCES = \
HEADERS += \
LIBS += -lklayout_lay
equals(HAVE_QT, "0") {
LIBS += -lklayout_laybasic
} else {
LIBS += -lklayout_lay
}
# hard linked as they contribute GSI classes to "lay" module:
LIBS += -lklayout_img -lklayout_edt -lklayout_ant -lklayout_lym

View File

@ -8,10 +8,6 @@ SUBDIRS = \
rdb \
lib \
lay \
lym \
ant \
edt \
img \
!equals(HAVE_QT, "0") {

View File

@ -89,8 +89,12 @@ PYMODTEST (import_db, "import_db.py")
PYMODTEST (import_rdb, "import_rdb.py")
#if defined(HAVE_QT) && defined(HAVE_QTBINDINGS)
PYMODTEST (import_lay, "import_lay.py")
#else
PYMODTEST (import_lay, "import_lay_noqt.py")
#endif
#if defined(HAVE_QT) && defined(HAVE_QTBINDINGS)
PYMODTEST (import_QtCore, "import_QtCore.py")
#if QT_VERSION >= 0x60000
@ -146,8 +150,4 @@ PYMODTEST (import_QtCore5Compat, "import_QtCore5Compat.py")
PYMODTEST (import_pya, "pya_tests.py")
#elif defined(HAVE_QT)
PYMODTEST (import_lay, "import_lay_noqt.py")
#endif