forked from qt-creator/qt-creator
Fix qmake build against Qt 6
Change-Id: Iee5154e5b48c1e7f41d682f2ec7040202366db77 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -19,8 +19,12 @@ SOURCES += \
|
|||||||
imageview.cpp \
|
imageview.cpp \
|
||||||
multiexportdialog.cpp
|
multiexportdialog.cpp
|
||||||
|
|
||||||
!isEmpty(QT.svg.name): QT += svg
|
!isEmpty(QT.svg.name) {
|
||||||
else: DEFINES += QT_NO_SVG
|
QT += svg
|
||||||
|
greaterThan(QT_MAJOR_VERSION, 5) : QT += svgwidgets
|
||||||
|
} else {
|
||||||
|
DEFINES += QT_NO_SVG
|
||||||
|
}
|
||||||
|
|
||||||
FORMS += \
|
FORMS += \
|
||||||
imageviewertoolbar.ui
|
imageviewertoolbar.ui
|
||||||
|
|||||||
Reference in New Issue
Block a user