qml: Don't build the QWidgets example

This commit is contained in:
Sergio Martins
2020-07-26 21:00:00 +01:00
parent ebda537a11
commit 1f09bfa9d5

View File

@@ -127,7 +127,7 @@ if(OPTION_BUILD_PYTHON_BINDINGS)
add_subdirectory(python)
endif()
if(${PROJECT_NAME}_EXAMPLES)
if(${PROJECT_NAME}_EXAMPLES AND NOT OPTION_QTQUICK)
add_subdirectory(examples/dockwidgets)
set_compiler_flags(kddockwidgets_example)
endif()