HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
deprecated-declarations warnings with Qt-5.14
Trying to compile S3_0 against development version of crosser-1.10, which has Qt-5.14.2 results in deprecated-declarations errors (warnings turned to errors by -Werror).
This is despite the fact that we have QT_DISABLE_DEPRECATED_BEFORE at Qt-5.2 level only. Qt seems to have no mechanism to allow deprecations above certain version level - that's either a missing feature or a bug, but apparently we need to live with it.
Setting '-Wno-error=deprecated-declarations', or maybe just '-Wno-deprecated-declarations', for --enable-debug builds should work as a quick workaround, and the only one I have figured out so far.
So far this issue has been seen with crosser build only. As such it would affected only S3_0 and later. S2_6 might very well be affected, but I'd rather backport the workaround only when the issue has been confirmed on that branch.
#1 Updated by Marko Lindqvist 12 months ago
- File 0010-Set-Wno-deprecated-declarations-to-CXXFLAGS-of-enabl.patch 0010-Set-Wno-deprecated-declarations-to-CXXFLAGS-of-enabl.patch added
- File 0008-Set-Wno-deprecated-declarations-to-CXXFLAGS-of-enabl.patch 0008-Set-Wno-deprecated-declarations-to-CXXFLAGS-of-enabl.patch added
- Status changed from In Progress to Resolved
- Sprint/Milestone changed from 3.0.0 to 2.6.3
The simpler solution, -Wno-deprecated-declarations, works. I think this one is fine even for S2_6.