mirror of https://github.com/KLayout/klayout.git
More patches for uitools-less build for CentOS 8
This commit is contained in:
parent
2ac28292b8
commit
8c4d76505c
|
|
@ -20,7 +20,9 @@
|
|||
|
||||
*/
|
||||
|
||||
#if QT_VERSION >= 0x050000
|
||||
#if !defined(HAVE_QT_UITOOLS)
|
||||
# defined FORCE_LINK_GSI_QTUITOOLS
|
||||
#elif QT_VERSION >= 0x050000
|
||||
# include "../qt5/QtUiTools/gsiQtExternals.h"
|
||||
#else
|
||||
# include "../qt4/QtUiTools/gsiQtExternals.h"
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@
|
|||
# include "gsiQtSvgExternals.h"
|
||||
# include "gsiQtNetworkExternals.h"
|
||||
# include "gsiQtDesignerExternals.h"
|
||||
# include "gsiQtUiToolsExternals.h"
|
||||
|
||||
FORCE_LINK_GSI_QTCORE
|
||||
FORCE_LINK_GSI_QTGUI
|
||||
|
|
@ -73,11 +74,7 @@ FORCE_LINK_GSI_QTDESIGNER
|
|||
FORCE_LINK_GSI_QTNETWORK
|
||||
FORCE_LINK_GSI_QTSQL
|
||||
FORCE_LINK_GSI_QTSVG
|
||||
|
||||
#if defined(HAVE_QT_UITOOLS)
|
||||
# include "gsiQtUiToolsExternals.h"
|
||||
FORCE_LINK_GSI_QTUITOOLS
|
||||
#endif
|
||||
|
||||
#else
|
||||
# define QT_EXTERNAL_BASE(x)
|
||||
|
|
|
|||
|
|
@ -8,8 +8,9 @@ SOURCES = \
|
|||
|
||||
HEADERS += \
|
||||
|
||||
LIBS += -lklayout_QtUiTools
|
||||
|
||||
contains(QT_MODULES, uitools) {
|
||||
LIBS += -lklayout_QtCore
|
||||
LIBS += -lklayout_QtUiTools
|
||||
}
|
||||
|
||||
LIBS += -lklayout_QtCore
|
||||
|
||||
|
|
|
|||
|
|
@ -98,8 +98,13 @@ PYMODTEST (import_QtXml, "import_QtXml.py")
|
|||
PYMODTEST (import_QtSql, "import_QtSql.py")
|
||||
PYMODTEST (import_QtNetwork, "import_QtNetwork.py")
|
||||
PYMODTEST (import_QtDesigner, "import_QtDesigner.py")
|
||||
|
||||
#if defined(HAVE_QT_UITOOLS)
|
||||
|
||||
PYMODTEST (import_QtUiTools, "import_QtUiTools.py")
|
||||
|
||||
#endif
|
||||
|
||||
#if QT_VERSION >= 0x50000
|
||||
|
||||
PYMODTEST (import_QtWidgets, "import_QtWidgets.py")
|
||||
|
|
|
|||
Loading…
Reference in New Issue