summaryrefslogtreecommitdiffstats
path: root/external/meta-qt5/recipes-qt/qt5/qtbase/0016-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch
diff options
context:
space:
mode:
authortakeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp>2020-11-02 11:07:33 +0900
committertakeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp>2020-11-02 11:07:33 +0900
commit1c7d6584a7811b7785ae5c1e378f14b5ba0971cf (patch)
treecd70a267a5ef105ba32f200aa088e281fbd85747 /external/meta-qt5/recipes-qt/qt5/qtbase/0016-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch
parent4204309872da5cb401cbb2729d9e2d4869a87f42 (diff)
recipes
Diffstat (limited to 'external/meta-qt5/recipes-qt/qt5/qtbase/0016-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch')
-rw-r--r--external/meta-qt5/recipes-qt/qt5/qtbase/0016-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch66
1 files changed, 0 insertions, 66 deletions
diff --git a/external/meta-qt5/recipes-qt/qt5/qtbase/0016-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch b/external/meta-qt5/recipes-qt/qt5/qtbase/0016-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch
deleted file mode 100644
index 921ca25f..00000000
--- a/external/meta-qt5/recipes-qt/qt5/qtbase/0016-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-From bf8555d48d2402e7ed60f1f4232270d24623e088 Mon Sep 17 00:00:00 2001
-From: Max Krummenacher <max.krummenacher@toradex.com>
-Date: Sat, 27 Oct 2018 12:29:31 +0000
-Subject: [PATCH] Qt5GuiConfigExtras.cmake.in: cope with variable path to
- sysroot
-
-EGL is configured to need an include path into the recipe-specific sysroot.
-However users of the cmake file will have a different absolute path than that
-used when creating the cmake file from cmake.in in qtbase.
-
-Change to store the relative path within the sysroot and then prepend the
-currently used sysroot in the _qt5gui_find_extra_libs macro.
-
-Upstream-Status: Inappropriate [OE specific]
-
-Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
----
- src/gui/Qt5GuiConfigExtras.cmake.in | 22 ++++++++--------------
- 1 file changed, 8 insertions(+), 14 deletions(-)
-
-diff --git a/src/gui/Qt5GuiConfigExtras.cmake.in b/src/gui/Qt5GuiConfigExtras.cmake.in
-index 07869efd7d..671aa82167 100644
---- a/src/gui/Qt5GuiConfigExtras.cmake.in
-+++ b/src/gui/Qt5GuiConfigExtras.cmake.in
-@@ -75,21 +75,15 @@ unset(_qt5gui_OPENGL_INCLUDE_DIR CACHE)
-
- macro(_qt5gui_find_extra_libs Name Libs LibDir IncDirs)
- set(Qt5Gui_${Name}_LIBRARIES)
--!!IF !mac
-- set(Qt5Gui_${Name}_INCLUDE_DIRS ${IncDirs})
--!!ELSE
-+
- foreach(_dir ${IncDirs})
-- if (EXISTS ${_dir})
-- list(APPEND Qt5Gui_${Name}_INCLUDE_DIRS ${_dir})
-- else()
-- find_path(_actual_dir ${_dir}) # Look in sdk directories
-- if (_actual_dir)
-- list(APPEND Qt5Gui_${Name}_INCLUDE_DIRS ${_actual_dir})
-- endif()
-- unset(_actual_dir CACHE)
-+ find_path(_actual_dir ${_dir})
-+ if (_actual_dir)
-+ list(APPEND Qt5Gui_${Name}_INCLUDE_DIRS ${_actual_dir})
- endif()
-+ unset(_actual_dir CACHE)
- endforeach()
--!!ENDIF
-+
- foreach(_lib ${Libs})
- string(REGEX REPLACE "[^_A-Za-z0-9]" "_" _cmake_lib_name ${_lib})
- if (NOT TARGET Qt5::Gui_${_cmake_lib_name} AND NOT _Qt5Gui_${_cmake_lib_name}_LIBRARY_DONE)
-@@ -158,11 +152,11 @@ endmacro()
-
-
- !!IF !isEmpty(CMAKE_EGL_LIBS)
--_qt5gui_find_extra_libs(EGL \"$$CMAKE_EGL_LIBS\" \"$$CMAKE_EGL_LIBDIR\" \"$$CMAKE_EGL_INCDIRS\")
-+_qt5gui_find_extra_libs(EGL \"$$CMAKE_EGL_LIBS\" \"$$CMAKE_EGL_LIBDIR\" \"$$replace(CMAKE_EGL_INCDIRS,$$re_escape($$PKG_CONFIG_SYSROOT_DIR),)\")
- !!ENDIF
-
- !!IF !isEmpty(CMAKE_OPENGL_LIBS)
--_qt5gui_find_extra_libs(OPENGL \"$$CMAKE_OPENGL_LIBS\" \"$$CMAKE_OPENGL_LIBDIR\" \"$$CMAKE_OPENGL_INCDIRS\")
-+_qt5gui_find_extra_libs(OPENGL \"$$CMAKE_OPENGL_LIBS\" \"$$CMAKE_OPENGL_LIBDIR\" \"$$replace(CMAKE_OPENGL_INCDIRS,$$re_escape($$PKG_CONFIG_SYSROOT_DIR),)\")
-
- !!ENDIF
-