-
-
Notifications
You must be signed in to change notification settings - Fork 839
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
Qt6 compatibility upgrade #2373
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
On macOS 12.4 with Qt 6.3.0 (official package from Qt.io) the main scene is not render (just a black screen) :( P.S. I got reports, that Stellarium have just a black screen with official 5.15.2 on macOS, but I see no problem for rendering with Qt 5.15.3 from homebrew. |
Sad. From what I am reading, Mac is leaving OpenGL, replacing by Metal, and Windows still pushes DirectX. Qt6 lost ANGLE, so only full OpenGL PCs will be able to run the Qt6-based series (or MESA should still be available, but of course less fun), unless some GPU hero does the new Qt6 graphics subsystem glue code. . I cannot find any reports online about bad font rendering or similar terms. This is maddening. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
- add dev comments - also do some cleanup
- Disabled code for Qt6 builds which is problematic/buggy in Qt6 - Errors will remain in code which is in fact currently unused. - Cleanup most debug output
This comment was marked as resolved.
This comment was marked as resolved.
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files |
The failing unit test around units and intersections of SphericalRegions is really bad, and was not able to fix the methods. However the methods are currently not used, so it need not be solved immediately. I #ifdeffed those functions away, and the program still works. Guillaume confirmed he also does not use them. One side-development in this branch was the program's OpenGL initialisation. ANGLE is of course no longer available. I am however unsure about the current Mac-related code. Else this can now probably be merged for first tests of 1.0beta. Speaking about version number, @alex-w do you want to develop the new number scheme still in this branch or after merge? |
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.
Speaking about version number, @alex-w do you want to develop the new number scheme still in this branch or after merge?
Of course after merge
Hello @gzotti! Please check the fresh version (development snapshot) of Stellarium: |
Hello @gzotti! Please check the fresh version (development snapshot) of Stellarium: |
Hello @gzotti! Please check the latest stable version of Stellarium: |
This branch should be used as we adapt to Qt6.
Milestones:
To build with Qt6, disable SCRIPTING. This is dealt with in another branch (#2461).
I think the best strategy for now is working on master with Qt5.15+, trying to get rid of deprecated stuff hinted at by clazy, use feature branches for larger tasks, and occasionally rebase this branch from master to test.
Update 2022-06-08
The program builds! However, text is garbled.
Update 2022-06-29
Finally! Text is visible again.
It should be possible to keep compilation compatible between Qt5 and Qt6, without any extra branch. Qt6 requires 64bit CPUs and fully working OpenGL graphics, so Qt5 will likely have to stay around for a few more years. I have re-extended compatibility back to Qt5.12 (Ubuntu 20LTS, and even 5.9, for Ubuntu 18LTS).
Description
Fixes # (issue)
Screenshots (if appropriate):
Type of change
How Has This Been Tested?
Test Configuration
Operating system: Windows 10
Operating system: Ubuntu 22.04
Checklist: