forked from qt-creator/qt-creator
Fix build with Qt6
Add missing includes for "incomplete type" issues. Remove usage of QDesktopWidget. Don't compile native WebKit help backend (missing native widget integration). Add SvgWidget dependency. Task-number: QTCREATORBUG-24098 Change-Id: I1b3afb54d385940ff283824870fa7454866212a4 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
find_package(Qt5 COMPONENTS SvgWidgets QUIET)
|
||||
if (TARGET Qt5::SvgWidgets)
|
||||
set(SVG_WIDGETS Qt5::SvgWidgets)
|
||||
endif()
|
||||
|
||||
add_qtc_plugin(ImageViewer
|
||||
DEPENDS OptionalSvg
|
||||
DEPENDS OptionalSvg ${SVG_WIDGETS}
|
||||
PLUGIN_DEPENDS Core
|
||||
SOURCES
|
||||
exportdialog.cpp exportdialog.h
|
||||
|
||||
Reference in New Issue
Block a user