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: # Enabled without Qt:
HEADERS += \ HEADERS += \
antForceLink.h \
antConfig.h \ antConfig.h \
antObject.h \ antObject.h \
antPlugin.h \ antPlugin.h \
@ -39,6 +40,7 @@ HEADERS += \
antCommon.h antCommon.h
SOURCES += \ SOURCES += \
antForceLink.cc \
antConfig.cc \ antConfig.cc \
antObject.cc \ antObject.cc \
antPlugin.cc \ antPlugin.cc \

View File

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

View File

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

View File

@ -1,5 +1,6 @@
TARGET = lay TARGET = laycore
REALMODULE = lay
include($$PWD/../pymod.pri) include($$PWD/../pymod.pri)
@ -8,5 +9,12 @@ SOURCES = \
HEADERS += \ 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 \ rdb \
lib \ lib \
lay \ lay \
lym \
ant \
edt \
img \
!equals(HAVE_QT, "0") { !equals(HAVE_QT, "0") {

View File

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