Details
-
Task
-
Resolution: Done
-
Not Evaluated
-
None
-
6.0
-
None
-
-
523d1c54e4ff365863ae463cc30edfb2fbb15ee3 5ee1dac8d600ed76fd5434929ac1fc9a7c965304 (qt/qtbase/dev)
Description
src/android/java/res/layout/splash.xml was reintroduced in 523d1c54e4ff365863ae463cc30edfb2fbb15ee3.
REG: Fix compilation with old AndroidManifest.xml For apps created with Qt 5.2.1, the AndroidManifest.xml will contain a reference to android.app.splash_screen, which was removed from the application template when the splash screen functionality was fixed by 4d08d80be60af14c5daed7c6f8d37538aea6c429. To make sure existing apps still compile, we put back a dummy splash.xml so that the reference in existing manifests still work. If this splash screen was actually used for something, it will no longer show up, so we also need to document that people should update their AndroidManifest.xml to the new system, but we can't inform people via mysterious compilation failures :) Task-number: QTBUG-37493
So we should remove it in Qt 6.0 to avoid the lint warning:
UnusedResources: Unused resources
src/android/java/res/layout/splash.xml:2: The resource R.layout.splash appears to be unused