Results 1 to 5 of 5

Thread: image not displayed ...

  1. #1
    Join Date
    Nov 2008
    Posts
    52
    Qt products
    Qt4
    Platforms
    Windows

    Default image not displayed ...

    from a complex project which had many designer files & related .cpp,.h,etc files.the project had many screens connected in the output.out of those screens i took the first screen,i.e.,I took designer file & related .cpp,.h,etc files related to that screen and did qmake -project.then
    qmake fille.pro & make.It got compiled & is running,but the images r not getting displayed.rest evarything is working properly.

  2. #2
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: image not displayed ...

    how do you load images throught resource file or use hard-coded paths to images?
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  3. #3
    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

  4. #4
    Join Date
    Nov 2008
    Posts
    52
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: image not displayed ...

    I load images throught resource file

  5. #5
    Join Date
    Dec 2008
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: image not displayed ...

    hello

    I have a similar problem. I create a simple widget, which works fines, but when I create a custom widget to be added to a library of Qdesigner(using the analogclockplugin as a starting point), and then try to use the custom widget, the Qlabel images do not get displayed. Other widgets like the buttons are displayed fine.



    the images are linked to Qlabel in the Qdesigner program.
    How do I customise which attributes the user can change/select in a custom widget?

Similar Threads

  1. QSlider custom handle image not displayed
    By planglois in forum Qt Programming
    Replies: 1
    Last Post: 5th September 2008, 13:49
  2. can Qlabel display a series of image one by one ?
    By jirach_gag in forum Qt Tools
    Replies: 3
    Last Post: 11th August 2008, 15:36
  3. Finding marks on scanned image for alignment
    By caduel in forum Qt Programming
    Replies: 1
    Last Post: 23rd September 2007, 02:10
  4. no image displayed on QGraphicsView
    By sincnarf in forum Qt Programming
    Replies: 9
    Last Post: 28th June 2007, 12:33
  5. JPEG Image isn't displayed!?
    By GodOfWar in forum Qt Programming
    Replies: 9
    Last Post: 16th April 2007, 15:01

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.