-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixup build with qt6 #3
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here I'd also first introduce a version using new api provided by Qt 5.14.
QMutexLocker locker(&mutex); | ||
#else | ||
mutex.lock(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not following why this change? Different behavior too, nothing releases the mutex when the function is exited? Doesn't feel proper.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was resolved without explanation, unresolving.
QRecursiveMutex is Qt 5.14 so using that would be better, but I'm not following why a recursive mutex would be needed because of Qt version.
And then QMutexLocker works with a recursive mutex too so I'm not following why these explicit locks which are even missing the unlocks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still pending review comments here.
d740afb
to
1987e91
Compare
@pvuorela fixed |
9617e4f
to
bc26e97
Compare
No description provided.