Unsolved Qt Quick Controls 2 - Bad Image Quality
-
Hi;
I am developing an android app. I tried two different ways for splash screen. 1st image is good quality, but 2st image is bad quality. Why?
Note: Both example use same quality image.
-- This is Android native splashscreen:
-- This is QML Image component:
Image is mdpi format:
QQC2 QML code:
import QtQuick 2.0 import QtQuick.Controls 2.2 import QtQuick.Window 2.3 Window { id: splashScreen modality: Qt.ApplicationModal flags: Qt.SplashScreen width: screen.width height: screen.height Rectangle { id: splashRect anchors.fill: parent color: "#81DAF5" Image { id: image anchors.centerIn: parent source: "qrc:/res/images/icon.png" } } Component.onCompleted: visible = true }