Skip to content

Commit 72eb702

Browse files
committed
QtChart in CMake file
1 parent 533ab61 commit 72eb702

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/gui/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,10 @@ SET(QGIS_GUI_MOC_HDRS
737737
FIND_PACKAGE(Qt5Qml REQUIRED)
738738
FIND_PACKAGE(Qt5QuickWidgets REQUIRED)
739739

740+
IF(Qt5Widgets_VERSION VERSION_GREATER 5.7.0)
741+
FIND_PACKAGE(Qt5Charts REQUIRED )
742+
ENDIF(Qt5Widgets_VERSION VERSION_GREATER 5.7.0)
743+
740744
IF(Qt5Qml_FOUND)
741745
ADD_DEFINITIONS(-DWITH_QML)
742746
SET(QGIS_GUI_MOC_HDRS

0 commit comments

Comments
 (0)