Results 1 to 4 of 4

Thread: Qlabel not displaying images other than development machine

  1. #1
    Join Date
    Jul 2012
    Location
    India
    Posts
    33
    Thanks
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Qlabel not displaying images other than development machine

    I created one application using Qt it shows one image in a QLabel using css its working fine on my development machine.

    but not displaying images on other machines. I checked all the locations in my development machine but not in other systems

    Except this everything works fine on other systems. I am using windows xp and windows 7 to test. may missing library files or any other registry settings

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qlabel not displaying images other than development machine

    See my answer here you most likely forgot to deploy image-plugins.

  3. #3
    Join Date
    Jul 2012
    Location
    India
    Posts
    33
    Thanks
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qlabel not displaying images other than development machine

    I copy pasted all the dlls found in plugin folder

    to my application directory like this
    Release\myApp.exe
    Release\plugins\qjpeg4.dll

    but still same problem exist
    how I can possible to find which library is missing in my application

  4. #4
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qlabel not displaying images other than development machine

    It should be something like: Release\imageformat (same name as the folder you copied from) if you want another path use addLibrayPath

  5. The following user says thank you to Zlatomir for this useful post:

    arunkumaraymuo1 (24th August 2012)

Similar Threads

  1. Replies: 9
    Last Post: 1st September 2011, 08:07
  2. QWebView doesn't show JPEG images on a clean XP machine
    By mentalmushroom in forum Qt Programming
    Replies: 46
    Last Post: 12th August 2011, 22:41
  3. assistant not displaying images
    By GrahamLabdon in forum Qt Tools
    Replies: 0
    Last Post: 12th November 2010, 13:51
  4. QWebView not displaying images
    By andyp in forum Qt Programming
    Replies: 7
    Last Post: 3rd December 2009, 21:35
  5. Problem with displaying jpeg and gif images, in QT4
    By node_ex in forum Installation and Deployment
    Replies: 1
    Last Post: 23rd September 2008, 15:29

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.