Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.0
-
None
-
1b3d4a94fdd578786529f51b4d25b560696fb610
Description
In the method loadTranslationFile() of qtdeclarative/tools/qmlscene/main.cpp, qmlscene makes a reference to QApplication, despite being written elsewhere to support both widget- and non-widget builds. This prevents qmlscene from building if the QtWidgets module is unavailable.
Switching to QCoreApplication::installTranslator() should be a sufficient fix.