Please use ENABLE_SCRIPT_QML in order to drop the deprecated package in favor of dev-qt/qtdeclarative:5.
Upstream doesn't actually support QML with Qt5. While technically such combination of options can be set in cmake, Qt5 build requires QtScript, and Qt6 build Requires QML
https://github.com/Stellarium/stellarium/issues/2739#issuecomment-1272601781
What's the problem there, test failures or build/runtime issues? Wouldn't upstream benefit from ironing out QML with Qt5 and being able to drop ifdefs throughout the codebase?
Test failures leading to runtime issues; build itself is fine. I opened https://github.com/Stellarium/stellarium/issues/3473
Any changes upstream?