Results 1 to 2 of 2

Thread: setWindowOpacity is not working in Linux Cent OS

  1. #1
    Join Date
    Jun 2011
    Posts
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default setWindowOpacity is not working in Linux Cent OS

    Hi,

    setWindowOpacity is not working in Linux Cent OS,
    This is the code, which i done, It works fine in Ubundu, but not in cent OS. Please help me to solve this

    Qt Code:
    1. #include <QtCore>
    2. #include <QWidget>
    3. #include <QApplication>
    4.  
    5. int main(int argc, char *argv[])
    6. {
    7. QApplication a(argc, argv);
    8. QWidget* splashScreen = new QWidget( 0, Qt::FramelessWindowHint );
    9. splashScreen->setWindowOpacity( .5 );
    10. splashScreen->show();
    11. return a.exec();
    12. }
    To copy to clipboard, switch view to plain text mode 


    Thanks
    Ashif
    Last edited by wysota; 23rd June 2011 at 13:44. Reason: missing [code] tags

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: setWindowOpacity is not working in Linux Cent OS

    Do you have a compositing window manager?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Installing Qt SDK 1.1 on Linux Cent OS 5.5
    By ThomasKennedy in forum Installation and Deployment
    Replies: 1
    Last Post: 2nd November 2012, 21:28
  2. showMinimized() is not working on xburts linux processor
    By jthacker in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 2nd June 2010, 07:51
  3. öüä not working in qt4-apps on linux
    By niko in forum Qt Programming
    Replies: 10
    Last Post: 7th April 2007, 11:41
  4. QTextEdit hasFocus() not working on linux
    By vermarajeev in forum Qt Programming
    Replies: 13
    Last Post: 28th December 2006, 11:05
  5. QProcess / system call not working under linux. Why?
    By johnny_sparx in forum Qt Programming
    Replies: 12
    Last Post: 11th March 2006, 00:32

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.