stdware / qwindowkit

Cross-platform frameless window framework for Qt. Support Windows, macOS, Linux.
Apache License 2.0
442 stars 67 forks source link

qt_version <= qt5.14 compile error #97

Closed WangPengZhan closed 1 month ago

WangPengZhan commented 1 month ago

d7eb519dfa18983844d525965ff1f57

b1a3b31ab23d55acfdde036c41dbeac

when Qt <= 5.14, threadData is QThreadData* Type Qt > 5.14 , threadData is QAtomicPointer Type

https://github.com/stdware/qwindowkit/blob/e5c3837218c3dc2b7b327f11de5894b9350adbc9/src/core/qwkglobal.cpp#L30

when qt <= 5.14, error occurred when complied.

do you want to support qt version bewteen 5.12 and 5.14?

SineStriker commented 1 month ago

OK I'll fix this.

WangPengZhan commented 1 month ago

I have fixed this issue and will push it for PR tomorrow

WangPengZhan commented 1 month ago

https://github.com/stdware/qwindowkit/pull/98

SineStriker commented 1 month ago

等会,你PR错分支了,应该到main。

WangPengZhan commented 1 month ago

你可以帮我cherry-pick到main分支么?