-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply Fix for Qt running in Snap Packages (#214)
- Apply fix for QDesktopServices/linux to fix issue with Snap confinements (https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1876237) - Remove openssl dependency since its no longer used - Minor script fixes - Update rev numbers for Linux (and aarch64) - Fix the 'custom_install_cmd' for Qt to reflect updates on how custom scripts are interpreted in the build config files - Add 3P OpenSSL dependency to Qt (to use O3DE static openssl instead of the system one) - Add qt patch for mac Signed-off-by: Steve Pham <[email protected]>
- Loading branch information
1 parent
025ebab
commit f2df42b
Showing
9 changed files
with
88 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
diff --git a/qtbase/src/platformsupport/services/genericunix/qgenericunixservices.cpp b/qtbase/src/platformsupport/services/genericunix/qgenericunixservices.cpp | ||
index b583d636c0..4615ebb126 100644 | ||
--- a/qtbase/src/platformsupport/services/genericunix/qgenericunixservices.cpp | ||
+++ b/qtbase/src/platformsupport/services/genericunix/qgenericunixservices.cpp | ||
@@ -203,8 +203,7 @@ static inline QDBusMessage xdgDesktopPortalOpenFile(const QUrl &url) | ||
// handle_token (s) - A string that will be used as the last element of the @handle. | ||
// writable (b) - Whether to allow the chosen application to write to the file. | ||
|
||
-#ifdef O_PATH | ||
- const int fd = qt_safe_open(QFile::encodeName(url.toLocalFile()), O_PATH); | ||
+ const int fd = qt_safe_open(QFile::encodeName(url.toLocalFile()), O_RDONLY); | ||
if (fd != -1) { | ||
QDBusMessage message = QDBusMessage::createMethodCall(QLatin1String("org.freedesktop.portal.Desktop"), | ||
QLatin1String("/org/freedesktop/portal/desktop"), | ||
@@ -219,9 +218,6 @@ static inline QDBusMessage xdgDesktopPortalOpenFile(const QUrl &url) | ||
|
||
return QDBusConnection::sessionBus().call(message); | ||
} | ||
-#else | ||
- Q_UNUSED(url) | ||
-#endif | ||
|
||
return QDBusMessage::createError(QDBusError::InternalError, qt_error_string()); | ||
} | ||
|
||
diff --git a/qtimageformats/src/imageformats/configure.json b/qtimageformats/src/imageformats/configure.json | ||
index 5b876c3..f2fa1cc 100644 | ||
--- a/qtimageformats/src/imageformats/configure.json | ||
+++ b/qtimageformats/src/imageformats/configure.json | ||
@@ -85,7 +85,7 @@ | ||
}, | ||
"sources": [ | ||
{ "type": "pkgConfig", "args": "libtiff-4" }, | ||
- { "libs": "-ltiff" } | ||
+ { "libs": "-ltiff -lz" } | ||
] | ||
}, | ||
"webp": { |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters