-
-
Notifications
You must be signed in to change notification settings - Fork 838
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
Stellarium 1.0 fails to build with openGL ES and Qt6 #2753
Comments
Thanks for adding your first issue to Stellarium. If you have questions, please do not hesitate to contact us. |
Simply use Qt5 for pure GL ES2.0 systems. Functionality is the same. |
@ggardet please share cmake configure options |
I think it's not Stellarium configuration that leads to this, but rather Qt's: when |
I don’t want to guess, I want to see the facts :) |
Well the OP says for itself:
|
Well, we got few years ago the situation, when user try compile Stellarium and Qt in OpenGL ES mode on Gentoo Linux with full OpenGL environment… |
Cmake command line:
Which outputs:
|
Does it build and run when you set |
Just tried to build with Qt6 configured with Ideally, we should fix the code to remove calls to legacy functions. Or remove the caller code altogether. What is it used for, is it just debugging? If so, then finding a replacement for A temporary workaround for packagers is to pass |
With Qt5, OpenGL ES2 is used on most SBCs where full OpenGL is not available (Mesa provides OpenGL 2.1 on RPi4 meanwhile, but there are others e.g. with Mali GPUs), and also for Windows systems with insufficient native OpenGL where ANGLE is used to translate to DirectX. If Qt6 does not support OpenGL ES2 (not entirely sure, see https://doc.qt.io/qt-6/qopenglfunctions-es2.html), OP is simply requested to build with Qt5. |
Qt6 does support OpenGL ES2, it's the latter that doesn't support this ancient OpenGL 1.0-era API. Qt has just removed the declarations for this API starting from v6.0. Likewise, Qt6 can easily be built on/for 32-bit systems (I'm writing this from one), and Stellarium works fine on them. What Qt6 doesn't do is define the |
Hello @ggardet! The bug or issue has been fixed! You may test it via building Stellarium from source code or wait the weekly development snapshot... |
Hello @ggardet! Please check the fresh version (development snapshot) of Stellarium: |
Hello @ggardet! Please check the latest stable version of Stellarium: |
Expected Behaviour
Stellarium 1.0 should build with openGL ES and Qt6.
Actual Behaviour
Build fails on openSUSE Tubmleweed aarch64 with openGL ES and Qt6.
Steps to reproduce
Try to build with openGL ES and Qt6.
System
Logfile
Log provided above.
The text was updated successfully, but these errors were encountered: