Thursday, 29 October 2015

[gccsdk] Qt5Base built with gcc5

--- src/corelib/kernel/qfunctions_p.h 2015-06-29 21:04:57.000000000 +0100
+++ src/corelib/kernel/qfunctions_p.h.fixed 2015-10-23 12:54:32.528764202 +0100
@@ -57,5 +57,9 @@
# include "QtCore/qfunctions_winrt.h"
#endif

+#define Q_STATIC_GLOBAL_OPERATOR static
+#define Q_STATIC_GLOBAL_INLINE_OPERATOR static inline
+
+
#endif

OK. Have now built Qt5Base from autobuilder with current sources.

It generally runs its test code, so is of interest.

patches in autobuilder as follows:

1: add following line at setvars line45 . this deals with the __FUNCTION__ issue, again in sledgehammer mode

find -regex ".*\.\(c\|C\|h\)"  -type f  -exec sed -i 's/__FUNCTION__/__func__/g' {} \;

2: deal with an undefined variable:

--- src/corelib/kernel/qfunctions_p.h    2015-06-29 21:04:57.000000000 +0100
+++ src/corelib/kernel/qfunctions_p.h.fixed    2015-10-23 12:54:32.528764202 +0100
@@ -57,5 +57,9 @@
 #  include "QtCore/qfunctions_winrt.h"
 

No comments:

Post a Comment