-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Sorry, I am a new user of Qt. Attempting to build from Stylit.pro will give me ~5000 flags, ex:
C:\Qt\6.0.1\mingw81_64\include\QtCore\qhashfunctions.h:166: warning: optimization attribute on 'size_t qHash(QStringView, size_t)' follows definition but the attribute doesn't match [-Wattributes]
C:/Qt/6.0.1/mingw81_64/include/QtCore/qhashfunctions.h:166:83: warning: optimization attribute on 'size_t qHash(QStringView, size_t)' follows definition but the attribute doesn't match [-Wattributes]
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION size_t qHash(QStringView key, size_t seed = 0) noexcept;
^~~~~~~~
C:/Qt/6.0.1/mingw81_64/include/QtCore/qhashfunctions.h:131:37: note: previous definition of 'size_t qHash(float, size_t)' was here
Q_DECL_CONST_FUNCTION inline size_t qHash(float key, size_t seed = 0) noexcept
^~~~~
No .exe is produced, the file structure is incomplete and somewhat different from trying to build with qmake, such as certain files appearing /debug rather than /release.
I think the problem is reported here https://www.agner.org/optimize/vectorclass/read.php?i=160 and here https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89325
From what I can tell, it's an issue with the Mingw64 versions 7+. So far, no luck finding an older version to test this. Would appreciate some guidance on where to go from here.