Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c844925
commit 5a7a91f
Showing
2 changed files
with
15 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- src/corelib/global/qglobal.h.orig 2018-02-08 11:24:48.000000000 -0700 | ||
+++ src/corelib/global/qglobal.h 2018-05-18 20:48:57.000000000 -0700 | ||
@@ -508,7 +508,7 @@ | ||
# define Q_ALWAYS_INLINE inline | ||
#endif | ||
|
||
-#ifdef Q_CC_GNU | ||
+#if defined(Q_CC_GNU) && defined(Q_OS_WIN) | ||
# define QT_INIT_METAOBJECT __attribute__((init_priority(101))) | ||
#else | ||
# define QT_INIT_METAOBJECT |