CMake: Explictly add QtOpenGLWidgets
Necessary for manually-compiled Qt 6.9 builds.
This commit is contained in:
committed by
Benjamin Nauck
parent
17dadc774c
commit
066fc1acc0
@@ -166,6 +166,7 @@ macro(PrintFinalReport)
|
||||
simple(QtCore ${QtCore_VERSION})
|
||||
simple(QtNetwork ${QtNetwork_VERSION})
|
||||
conditional(QtOpenGL BUILD_GUI "not needed" ${QtOpenGL_VERSION})
|
||||
conditional(QtOpenGLWidgets BUILD_GUI "not needed" ${QtOpenGLWidgets_VERSION})
|
||||
conditional(QtPrintSupport BUILD_GUI "not needed" ${QtPrintSupport_VERSION})
|
||||
conditional(QtSvg BUILD_GUI "not needed" ${QtSvg_VERSION})
|
||||
conditional(QtUiTools BUILD_GUI "not needed" ${QtUiTools_VERSION})
|
||||
|
||||
@@ -13,6 +13,7 @@ if(BUILD_GUI)
|
||||
elseif (FREECAD_QT_MAJOR_VERSION EQUAL 6)
|
||||
list (APPEND FREECAD_QT_COMPONENTS GuiTools)
|
||||
list (APPEND FREECAD_QT_COMPONENTS SvgWidgets)
|
||||
list (APPEND FREECAD_QT_COMPONENTS OpenGLWidgets)
|
||||
endif()
|
||||
|
||||
list (APPEND FREECAD_QT_COMPONENTS OpenGL PrintSupport Svg UiTools Widgets LinguistTools)
|
||||
|
||||
Reference in New Issue
Block a user