From e05c407d5e4236167fbe89959dbb05b8c4d82a8b Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 17 Jun 2018 22:59:04 +0200 Subject: [PATCH] WIP: added shared object dependencies for Qt5 --- src/gsiqt/qt5/QtPrintSupport/QtPrintSupport.pro | 3 +++ src/gsiqt/qt5/QtSvg/QtSvg.pro | 3 +++ src/gsiqt/qt5/QtWidgets/QtWidgets.pro | 3 +++ 3 files changed, 9 insertions(+) diff --git a/src/gsiqt/qt5/QtPrintSupport/QtPrintSupport.pro b/src/gsiqt/qt5/QtPrintSupport/QtPrintSupport.pro index 0df4f3d33..ef6d0d215 100644 --- a/src/gsiqt/qt5/QtPrintSupport/QtPrintSupport.pro +++ b/src/gsiqt/qt5/QtPrintSupport/QtPrintSupport.pro @@ -18,6 +18,9 @@ LIBS += -lklayout_QtCore # because QWidget is used for some UI stuff, we need this: LIBS += -lklayout_QtWidgets +# because QPagedPaintDevice is used, we need this: +LIBS += -lklayout_QtGui + SOURCES += \ HEADERS += \ diff --git a/src/gsiqt/qt5/QtSvg/QtSvg.pro b/src/gsiqt/qt5/QtSvg/QtSvg.pro index 1988667c0..849065beb 100644 --- a/src/gsiqt/qt5/QtSvg/QtSvg.pro +++ b/src/gsiqt/qt5/QtSvg/QtSvg.pro @@ -18,6 +18,9 @@ LIBS += -lklayout_QtCore # because QWidget is used for some UI stuff, we need this: LIBS += -lklayout_QtWidgets +# because QPaintDevice is used, we need this: +LIBS += -lklayout_QtGui + SOURCES += \ HEADERS += \ diff --git a/src/gsiqt/qt5/QtWidgets/QtWidgets.pro b/src/gsiqt/qt5/QtWidgets/QtWidgets.pro index 8209ae850..ee368ec87 100644 --- a/src/gsiqt/qt5/QtWidgets/QtWidgets.pro +++ b/src/gsiqt/qt5/QtWidgets/QtWidgets.pro @@ -15,6 +15,9 @@ LIBS += -L$$DESTDIR -lklayout_tl -lklayout_gsi -lklayout_qtbasic # because QPainter is used as base class for QStylePainter, we need this: LIBS += -lklayout_QtGui +# because QObject is the base class of some classes we need this +LIBS += -lklayout_QtCore + SOURCES += \ gsiDeclQtWidgetsAdd.cc