Results 1 to 4 of 4

Thread: Two begginer's questions (QSplashScreen mouse event transparency, Qt Resource System)

  1. #1
    Join Date
    Feb 2010
    Posts
    68
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Two begginer's questions (QSplashScreen mouse event transparency, Qt Resource System)

    Hello, I'd like to ask you these two questions:
    1. How to make a splash screen which would not disappear after clicking it with left mouse button (if it's possible). I tried to set attribute Qt::WA_TransparentForMouseEvents but it didn't work. Any ideas?

    2. Is there any size limit in Qt's Resource System? I tried to make simple animation on the startup and therefore i added 44 .png files to the .qrc file. When I'm trying to compile it, I'm getting such an error:
    "cc1plus.exe: out of memory allocating 65535 bytes".
    ?

    Thanks in advance for your effort.

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Two begginer's questions (QSplashScreen mouse event transparency, Qt Resource Sys

    1. Install an event filter and eat the mouse click events

    2. There's always a limit, and that is almost always a hardware limit (size of your HD and other HD parameters, size of your ram etc...)
    Most likely your HD is full

  3. #3
    Join Date
    Feb 2010
    Posts
    68
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Two begginer's questions (QSplashScreen mouse event transparency, Qt Resource Sys

    I think that's not possible - the .png files I added to the .qrc file have about 12 MB - and I've got a few gigabytes of free space on my HD - or maybe I didn't understand something?

  4. #4
    Join Date
    Feb 2010
    Posts
    68
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Two begginer's questions (QSplashScreen mouse event transparency, Qt Resource Sys

    Eating the mouse click events works well, thanks .
    But what about the second issue?

Similar Threads

  1. Replies: 3
    Last Post: 12th May 2010, 13:11
  2. How to disable mouse click over a QSplashScreen
    By graciano in forum Qt Programming
    Replies: 2
    Last Post: 8th November 2009, 16:02
  3. Transparency problems with system tray in Windows
    By lliehu in forum Qt Programming
    Replies: 2
    Last Post: 8th December 2007, 15:37
  4. Replies: 3
    Last Post: 4th January 2007, 01:58
  5. [QT3+XP] transparency and mouse tracking
    By incapacitant in forum Newbie
    Replies: 9
    Last Post: 17th February 2006, 18:49

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.