Open lengocthuong15 opened 7 months ago
I've figured it out by myself, in Qt 6.5.3, they don't export the function qGlobalPostedEventsCount
anymore, so when building with this lib, we cannot link it.
https://codereview.qt-project.org/c/qt/qtbase/+/411667/1
The workaround is to enable it again
Revert Q_CORE_EXPORT
back to src/corelib/kernel/qcoreapplication.cpp
But I don't know is there any particular reason (especially about security) that they need to remove this export.
From my point of view, there is no solid reason, they just think that this function is not using anywhere other than autotest, so just the not export it to outside anymore.
Hi @sjinks I am trying to build this lib with Qt 6.5.3 Everything looks good except there is an error the link state
For more context, I can build this with Qt 6.3.1 but got this issue when upgrading to Qt 6.5.3 Here is the output for
And here is the output for
It seems that in the new version, they change the use of
qGlobalPostedEventsCount
6.3.1qGlobalPostedEventsCount
6.5.3qGlobalPostedEventsCount
Do you have any idea?