fix: Qt5 compat - fix addAction wrapper, qHash for NodeKind, add windows-qt5 CI

This commit is contained in:
IChooseYou
2026-02-16 09:06:10 -07:00
parent 13e28e8791
commit f53fa84a15
3 changed files with 34 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ enum class NodeKind : uint8_t {
} // namespace rcx (temporarily close for qHash)
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
inline uint qHash(rcx::NodeKind key, uint seed = 0) { return ::qHash(static_cast<uint8_t>(key), seed); }
inline uint qHash(rcx::NodeKind key, uint seed = 0) { return qHash(static_cast<int>(key), seed); }
#endif
namespace rcx { // reopen