Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Cross-Platform Method Of Creating A SplashScreen?
QtWS25 Last Chance

Cross-Platform Method Of Creating A SplashScreen?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 652 Views
  • 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 Offline
    A Offline
    ApprenticeCoder
    wrote on last edited by
    #1

    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
    0
    • L Offline
      L Offline
      Leonardo
      wrote on last edited by
      #2

      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
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved