Skip to content

Commit

Permalink
Patch qtbase/src/corelib/kernel/qproperty.h
Browse files Browse the repository at this point in the history
Fixes Guix builds for macOS.
  • Loading branch information
hebasto committed Sep 28, 2024
1 parent cdff967 commit 992bf88
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions depends/patches/qt/dont_hardcode_pwd.patch
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,16 @@ index 08b49a8d..faea5b55 100755

printUsage()
{

--- a/qtbase/src/corelib/kernel/qproperty.h
+++ b/qtbase/src/corelib/kernel/qproperty.h
@@ -32,8 +32,8 @@
#endif

#if __has_include(<experimental/source_location>) && !defined(Q_QDOC)
-#include <experimental/source_location>
#if !defined(QT_PROPERTY_COLLECT_BINDING_LOCATION)
+#include <experimental/source_location>
#if defined(__cpp_lib_experimental_source_location)
#define QT_SOURCE_LOCATION_NAMESPACE std::experimental
#define QT_PROPERTY_COLLECT_BINDING_LOCATION

0 comments on commit 992bf88

Please sign in to comment.