Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Using a Widget as Splashscreen?
Forum Update on Monday, May 27th 2025

Using a Widget as Splashscreen?

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 206 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.
  • B Offline
    B Offline
    BDC_Patrick
    wrote on 6 Jul 2021, 12:41 last edited by
    #1

    Hi there..

    I tried to create a Splash Screen for my App and found out, that only pixmaps are allowed with QSplashScreen. So.. i want to have changing Text and random Images in the Splash itself.. means.. i need a Widget with labels and a stack View to make this happen.

    But, when i tried to use a Widget via Widget *name = new Widget..., it shows a new Window ith Border, Close Button..etc..

    Question now:
    How can i show a Widget as a Splashscreen?

    J 1 Reply Last reply 6 Jul 2021, 12:44
    0
    • B BDC_Patrick
      6 Jul 2021, 12:41

      Hi there..

      I tried to create a Splash Screen for my App and found out, that only pixmaps are allowed with QSplashScreen. So.. i want to have changing Text and random Images in the Splash itself.. means.. i need a Widget with labels and a stack View to make this happen.

      But, when i tried to use a Widget via Widget *name = new Widget..., it shows a new Window ith Border, Close Button..etc..

      Question now:
      How can i show a Widget as a Splashscreen?

      J Offline
      J Offline
      J.Hilk
      Moderators
      wrote on 6 Jul 2021, 12:44 last edited by
      #2

      @BDC_Patrick set the window flag SplashScreen is a good start :D

      https://doc.qt.io/qt-5/qt.html#WindowType-enum


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      B 1 Reply Last reply 6 Jul 2021, 12:54
      4
      • J J.Hilk
        6 Jul 2021, 12:44

        @BDC_Patrick set the window flag SplashScreen is a good start :D

        https://doc.qt.io/qt-5/qt.html#WindowType-enum

        B Offline
        B Offline
        BDC_Patrick
        wrote on 6 Jul 2021, 12:54 last edited by
        #3

        @J-Hilk You´re great - Thank you :D

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 6 Jul 2021, 19:27 last edited by
          #4

          Hi,

          Out of curiosity, did you saw that you can change the image as well as the message on QSplashScreen ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          2/4

          6 Jul 2021, 12:44

          • Login

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