Details
-
Bug
-
Resolution: Cannot Reproduce
-
P3: Somewhat important
-
None
-
5.8.0
-
None
-
Qt 5.8 for Android, running on Debian testing amd64.
Description
In a CMake-based project, when linking with the module QtGui for the Android platform, an OpenGL ES library has to be linked in manually; the QtGui CMake files do not drag in that dependency automatically.
I have to have the following in CMakeLists.txt:
target_link_libraries(myapp Qt5::Gui)
if(ANDROID)
target_link_libraries(myapp -lGLESv3)
endif()
Attachments
Issue Links
- is duplicated by
-
QTBUG-78453 Qt android cmake: missing link to GLESv2
- Closed