Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved Cross-Platform Method Of Creating A SplashScreen?

    Mobile and Embedded
    2
    2
    544
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      ApprenticeCoder last edited by

      I need to display a splashscreen in a cross platform way, Qt Splashscreen does not work on mobile platforms, is there another way? If not cross platform, is there a way to display a splash screen in android at least? For those wondering, Qsplashscreen hangs a black screen on android, but works fine for windows, under my conditions at least.

      1 Reply Last reply Reply Quote 0
      • L
        Leonardo last edited by

        Hi. There's no way to have a cross platform splash screen. For Android, there's a way provided by Qt. Add this tag to your manifest:

        <meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/splash"/>
        

        It will be shown before your activity. For iOS, you should not, but you can use the launch images for that.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post