Fix qmake build against Qt 6

Change-Id: Iee5154e5b48c1e7f41d682f2ec7040202366db77
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Jarek Kobus
2020-11-04 11:12:44 +01:00
parent c742f0ac9a
commit fdaed3aa09

View File

@@ -19,8 +19,12 @@ SOURCES += \
imageview.cpp \
multiexportdialog.cpp
!isEmpty(QT.svg.name): QT += svg
else: DEFINES += QT_NO_SVG
!isEmpty(QT.svg.name) {
QT += svg
greaterThan(QT_MAJOR_VERSION, 5) : QT += svgwidgets
} else {
DEFINES += QT_NO_SVG
}
FORMS += \
imageviewertoolbar.ui