Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Remove android extras for Qt6

Halla Rempt52fb73224a51
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 695918f3b4..e4d9bf3d18 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -446,10 +446,12 @@ find_package(Qt${QT_MAJOR_VERSION} ${MIN_QT_VERSION}
)
if (ANDROID)
- find_package(Qt${QT_MAJOR_VERSION} ${MIN_QT_VERSION}
- REQUIRED COMPONENTS
- AndroidExtras
- )
+ if (QT_MAJOR_VERSION STREQUAL "6")
+ find_package(Qt${QT_MAJOR_VERSION} ${MIN_QT_VERSION}
+ REQUIRED COMPONENTS
+ AndroidExtras
+ )
+ endif()
endif()
if (QT_MAJOR_VERSION STREQUAL "6")