Skip to content

Commit 82183e6

Browse files
authored
Merge pull request #734 from openstudiocoalition/hotfix/730
Hotfix #730 - QtCharts not needed by modeleditor
2 parents 9c0bf5f + 38e0307 commit 82183e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,7 @@ find_file(qweb_resources_200 NAMES qtwebengine_resources_200p.pak PATHS "${QT_IN
559559
# QT_WEB_LIBS are linked by OS App and openstudio_lib but not by openstudio_modeleditor.so or openstudio_modeleditor
560560
list(APPEND QT_WEB_LIBS Qt6::WebEngineCore)
561561
list(APPEND QT_WEB_LIBS Qt6::WebEngineWidgets)
562+
list(APPEND QT_WEB_LIBS Qt6::Charts)
562563
set_target_properties(${QT_WEB_LIBS} PROPERTIES INTERFACE_LINK_LIBRARIES "")
563564

564565
if(NOT APPLE)
@@ -616,7 +617,6 @@ list(APPEND QT_LIBS Qt6::Xml)
616617
list(APPEND QT_LIBS Qt6::PrintSupport)
617618
list(APPEND QT_LIBS Qt6::Gui)
618619
list(APPEND QT_LIBS Qt6::Svg)
619-
list(APPEND QT_LIBS Qt6::Charts)
620620

621621
if(WIN32)
622622
find_package(Qt6OpenGL ${QT_VERSION} REQUIRED PATHS ${QT_INSTALL_DIR} NO_DEFAULT_PATH)

0 commit comments

Comments
 (0)