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 linking to android extras for Qt6

Halla Rempt09b7a0177385
diff --git a/krita/CMakeLists.txt b/krita/CMakeLists.txt
index 7a95e9475c..3eed13bbee 100644
--- a/krita/CMakeLists.txt
+++ b/krita/CMakeLists.txt
@@ -5,9 +5,7 @@ add_subdirectory( integration )
add_subdirectory( "pics/branding/${BRANDING}" )
if (ANDROID)
- if (QT_MAJOR_VERSION STREQUAL "6")
- set (QtAndroidExtras_INCLUDE_DIRS ${Qt6AndroidExtras_INCLUDE_DIRS})
- else()
+ if (QT_MAJOR_VERSION STREQUAL "5")
set (QtAndroidExtras_INCLUDE_DIRS ${Qt5AndroidExtras_INCLUDE_DIRS})
endif()
include_directories (${QtAndroidExtras_INCLUDE_DIRS})