Skip to content

fix android build failure#63

Closed
sadeqAlbana wants to merge 1 commit intosomcosoftware:masterfrom
sadeqAlbana:master
Closed

fix android build failure#63
sadeqAlbana wants to merge 1 commit intosomcosoftware:masterfrom
sadeqAlbana:master

Conversation

@sadeqAlbana
Copy link
Copy Markdown

QtCorePrivate was missing in find_package and target_link_libraries did not include ${QT_VERSION_MAJOR} in the library name

Comment thread src/CMakeLists.txt

find_package(QT NAMES Qt5 Qt6 COMPONENTS Core Multimedia Concurrent Quick REQUIRED)
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Multimedia Concurrent Quick REQUIRED)
find_package(QT NAMES Qt5 Qt6 COMPONENTS Core CorePrivate Multimedia Concurrent Quick REQUIRED)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CorePrivate is not available for Qt5 and Qt6 versions < Qt6.10

@OMSomco OMSomco closed this Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants