python/CMakeLists.txt - use PyKDDockWidgetsQt6 namespace for Qt6

follow PySide6 naming convention
This commit is contained in:
Allen Winter
2021-08-10 08:29:50 -04:00
parent ee3a3af408
commit e91849759c
2 changed files with 2 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ endif()
if(${PROJECT_NAME}_QT6)
set(PYSIDE_MAJOR_VERSION "6")
set(QtWidgets_VERSION ${Qt6Widgets_VERSION})
set(PYTHON_BINDING_NAMESPACE "${PYTHON_BINDING_NAMESPACE}Qt${PYSIDE_MAJOR_VERSION}") set(QtWidgets_VERSION ${Qt6Widgets_VERSION})
else()
set(PYSIDE_MAJOR_VERSION "2")
set(QtWidgets_VERSION ${Qt5Widgets_VERSION})