Results 1 to 5 of 5

Thread: image not showing in splash screen

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default image not showing in splash screen

    Hi

    I am developing on a Mac. I added a QSplashScreen to my app and it worked nicely, displaying a transparent png. Since i added the following call (before i create my QApplication object as per the docs), all i get is a grey window, the same dimensions as my png:

    QApplication::setGraphicsSystem("raster");

    If i uncommented then the image comes back. It's vital to my app that it draws in raster mode.

    Any help would be great,

    thanks

    David

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: image not showing in splash screen

    Is the entire area grey, or just the transparent area?
    I have seen other mention of translucency on Mac under the raster renderer: here

    You might like to share a bit more code.

Similar Threads

  1. Problem with Splash Screen ?
    By vinod in forum Qt Programming
    Replies: 13
    Last Post: 11th April 2020, 17:15
  2. splash screen problem
    By wizarda in forum Qt Programming
    Replies: 9
    Last Post: 15th January 2011, 02:05
  3. Showing a splash screen with transparency.
    By kremuwa in forum Qt Programming
    Replies: 11
    Last Post: 12th September 2010, 22:46
  4. Splash screen showing for two seconds
    By Koas in forum Qt Programming
    Replies: 5
    Last Post: 17th October 2008, 19:40
  5. Splash Screen
    By Salazaar in forum Newbie
    Replies: 27
    Last Post: 4th June 2007, 17:31

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.