How to create splash for my android app in Qt!

  • How to create splash for my android app in Qt!
    i want to create splash screen in first second of my program,can any help me,thanks for reply

  • Maybe QSplashScreen?

  • yes,i succeeded,i use this source in qml for android ,so my problem solved.
    import QtQuick 2.0
    import QtQuick.Window 2.1

    Window {
    id: splash
    color: "transparent"
    title: "Splash Window"
    modality: Qt.ApplicationModal
    flags: Qt.SplashScreen
    property int timeoutInterval: 2000
    signal timeout
    x: (Screen.width - splashImage.width) / 2
    y: (Screen.height - splashImage.height) / 2
    width: splashImage.width
    height: splashImage.height

    Image {
        id: splashImage
        source: "../shared/images/qt-logo.png"
        MouseArea {
            anchors.fill: parent
            onClicked: Qt.quit()
    Timer {
        interval: timeoutInterval; running: true; repeat: false
        onTriggered: {
            visible = false
    Component.onCompleted: visible = true


Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.