-
Notifications
You must be signed in to change notification settings - Fork 449
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
[Building/Packaging] Build issue with Qt 5 with QList initializer #1235
Comments
A solution that works for both Qt5 and 6 should be:
|
Thanks for pointing this out. Qt5.15 shall still be supported! However
|
Thank you for your quick answer. |
- use QVector instead of QList - provides constructor with size argument Fixes OpenBoard-org#1235, thanks @sebojolais
Pushed a commit on my branch which is probably the next candidate for merging and which continues the rework of the thumbnails. See letsfindaway@4dffb67 |
Describe the problem
Since this commit , this line:
https://github.com/OpenBoard-org/OpenBoard/blame/310eabe20a2838472a73e751d60b8d3e6f46d85e/src/gui/UBThumbnailScene.cpp#L36
mThumbnailItems{document->proxy()->pageCount()}
throws an error during the build with Qt5:
Because the QList constructor of Qt 6 does not exist in Qt 5.
If OB does not support Qt 5 anymore, sorry for this false positive.
Versions
Provide version information for all components and libraries.
dev branch
The text was updated successfully, but these errors were encountered: