Results 1 to 10 of 10

Thread: QWizard::Background Pixmap

  1. #1
    Join Date
    Sep 2008
    Posts
    14
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Question QWizard::Background Pixmap

    HI,

    Iam using Qt4 version and now iam using QWizard..

    In QWizard i set Background Pixmap (in MacStyle )...My problem is,The background pixmap is displaying when it is local machine...and its not displaying in remote..

    In local machine I have Qt4 Installed , but in remote i didnt install Qt4 directly, but at the same time iam providing all the Qt4 related libraries like libQtGui.so.4.. to the remote machine..but even though the Background pixmap is not displaying..

    Splach Screen, Background Pixmap is not at all displaying in remote systems with Qt4 libraries...

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QWizard::Background Pixmap

    How are u setting the background pic in code ?

  3. #3
    Join Date
    Sep 2008
    Posts
    14
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Post Re: QWizard::Background Pixmap

    setPixmap(QWizard::BackgroundPixmap, QPixmap("sample.jpg"));

  4. #4
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QWizard::Background Pixmap

    Are u copying the sample.jpg to remote system ??

    Better look at into embedding images in resource files. ( qrc ) into your application.

  5. #5
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

  6. #6
    Join Date
    Sep 2008
    Posts
    14
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Post Re: QWizard::Background Pixmap

    Ya i copied sample.jpg to remote system and iam also tried .qrc file...But it didnt work

  7. #7
    Join Date
    Sep 2008
    Posts
    14
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Question QWizard Background Pixmap

    HI,

    Iam using Qt4 version and now iam using QWizard..

    In QWizard i set Background Pixmap (in MacStyle )...My problem is,The background pixmap is displaying when it is local machine...and its not displaying in remote..

    In local machine I have Qt4 Installed , but in remote i didnt install Qt4 directly, but at the same time iam providing all the Qt4 related libraries like libQtGui.so.4.. to the remote machine..but even though the Background pixmap is not displaying..

    Splach Screen, Background Pixmap is not at all displaying in remote systems with Qt4 libraries...I ve the copy of sample.jpg in remote systems and i tried the .qrc file resource also..

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

  9. #9
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QWizard::Background Pixmap

    { Two threads merged. }

    Do NOT start multiple threads on the same subject. Thank you.
    J-P Nurmi

  10. #10
    Join Date
    Nov 2008
    Posts
    142
    Thanks
    3
    Thanked 20 Times in 20 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QWizard::Background Pixmap

    Quote Originally Posted by divya balachandran View Post
    Ya i copied sample.jpg to remote system and iam also tried .qrc file...But it didnt work
    Did you copy the image plugins too, as the FAQ says?

Similar Threads

  1. Performance problems with small pixmap
    By RThaden in forum Qt Programming
    Replies: 4
    Last Post: 9th July 2008, 15:14
  2. Qt 3.3.8 pixmap to/from image error
    By ksierens in forum Qt Programming
    Replies: 1
    Last Post: 15th April 2008, 06:46
  3. finding maximum scaling of a pixmap
    By babu198649 in forum Newbie
    Replies: 1
    Last Post: 31st March 2008, 14:32
  4. empty pixmap as a QLabel
    By tommy in forum Qt Programming
    Replies: 16
    Last Post: 11th December 2007, 21:15
  5. Invalid pixmap
    By munna in forum Newbie
    Replies: 2
    Last Post: 8th June 2006, 08:00

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.