diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-11 12:32:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-11 12:32:48 +0100 |
commit | 95c20b170b50a028890f00e7e9c338427d92279f (patch) | |
tree | f4f0943446f8e1c5f9739566a0ff53eb5e00e800 /www-client/chromium/files/chromium-123-qt-gui-check.patch | |
parent | 900988746a1a7412b5d0f0025e9f892233a417ff (diff) |
gentoo auto-resync : 11:04:2024 - 12:32:48
Diffstat (limited to 'www-client/chromium/files/chromium-123-qt-gui-check.patch')
-rw-r--r-- | www-client/chromium/files/chromium-123-qt-gui-check.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-123-qt-gui-check.patch b/www-client/chromium/files/chromium-123-qt-gui-check.patch new file mode 100644 index 000000000000..53c1ca89222f --- /dev/null +++ b/www-client/chromium/files/chromium-123-qt-gui-check.patch @@ -0,0 +1,31 @@ +From 3a812de6e7e0b285eda21ebbb670ca809c4db2b5 Mon Sep 17 00:00:00 2001 +From: Matt Jolly <Matt.Jolly@footclan.ninja> +Date: Thu, 11 Apr 2024 12:42:17 +1000 +Subject: [PATCH] Add QtGui to the list of Qt modules + +Re: https://bugreports.qt.io/browse/QTBUG-124135 - certain versions of QT +(6.6.3, 6.7.0) produce pkg-config files that no longer emit dependencies. +This causes Chromium builds to fail as due to not seeing QtGui as a dependency +of QtWidgets: + + `gen/qt6/../../../../ui/qt/qt_shim.h:11:10: fatal error: 'QImage' file not found` + +While this has been resolved upstream, there will certainly be some users +that are still using these versions of QT. This patch adds QtGui to the list of +Qt modules that are required to build the Chromium UI. + +Bug: https://bugs.gentoo.org/928299 +Suggested-by: Chris Pritchard <chris@christopherpritchard.co.uk> +Signed-off-by: Matt Jolly <kangie@gentoo.org> +--- a/ui/qt/BUILD.gn ++++ b/ui/qt/BUILD.gn +@@ -60,6 +60,7 @@ template("qt_shim") { + pkg_config("qt" + invoker.qt_version + "_config") { + packages = [ + "Qt" + invoker.qt_version + "Core", ++ "Qt" + invoker.qt_version + "Gui", + "Qt" + invoker.qt_version + "Widgets", + ] + } +-- +2.44.0 |