bc4fbcd215
There may be multiple libraries specified in the mkspec, such as EGL and Mali, as used in devices/linux-sh4-stmicro-ST7108-g++, so create an imported target for each one. Also populate the Qt5Gui_EGL_LIBS variable with all created imported targets. Similar variables are created for the used OPENGL implementation. In the case of using the packaged ANGLE library, we already know the exact locations of the binaries. This makes it possible for third parties to use the same GL implementation as used by the Qt build itself. As these are used only privately by QtGui, they are also added to the DEPENDENT_LIBRARIES of that target so that they are found for rpath-link usage. On some platforms (eg Raspberry Pi), multiple include directories must be set to include egl.h, as the headers it includes for vcos are a bit scattered. Task-number: QTBUG-29132 Change-Id: I1126da3d37cd51c88d3670347c8b6405b285efb5 Reviewed-by: Volker Krause <volker.krause@kdab.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com> |
||
---|---|---|
.. | ||
test_add_resource_options | ||
test_add_resources_delayed_file | ||
test_concurrent_module | ||
test_dbus_module | ||
test_dependent_modules | ||
test_egl_lib | ||
test_interface | ||
test_json_plugin_includes | ||
test_multiple_find_package | ||
test_opengl_lib | ||
test_openglextensions_module | ||
test_platform_defs_include | ||
test_private_includes | ||
test_qtmainwin_library | ||
test_testlib_definitions | ||
test_testlib_no_link_gui | ||
test_testlib_no_link_widgets | ||
test_umbrella_config | ||
test_use_modules_function | ||
test_wrap_cpp_and_resources | ||
test_wrap_cpp_options | ||
test(needsquoting)dirname | ||
cmake.pro | ||
CMakeLists.txt |