I have tried that, but ENABLE_SCRIPTING 0 in CMakeLists sets it anyway so it makes no difference.
It appears that StelScriptMgr.hpp includes QtScript regardless, and the include for StelScriptMgr.hpp in StelGui.cpp is not within any #defines. Unfortunately it doesn't look as easy as just taking out this include.
I have tried that, but ENABLE_SCRIPTING 0 in CMakeLists sets it anyway so it makes no difference.
It appears that StelScriptMgr.hpp includes QtScript regardless, and the include for StelScriptMgr.hpp in StelGui.cpp is not within any #defines. Unfortunately it doesn't look as easy as just taking out this include.