Results 1 to 3 of 3

Thread: static exe image issues

  1. #1
    Join Date
    Aug 2011
    Posts
    42
    Thanks
    10
    Qt products
    Qt4
    Platforms
    Windows

    Default static exe image issues

    I compiled Qt statically. the exe has some images. It works perfectly fine on the computer where my original program is. I copied the exe to different folder along with QtCore4.dll & QtGui4.dll & it still works perfectly fine. The problem happens when i copy the exe into a different computer. The exe works fine but it doesn't display the images. I am not sure why this is happening? the images are stored in a qrc file so i don't think that is the issue

    Thank You

    Prem.

  2. #2
    Join Date
    Feb 2011
    Location
    Romania
    Posts
    53
    Thanks
    1
    Thanked 11 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: static exe image issues

    Maybe this thread will help you

  3. The following user says thank you to cincirin for this useful post:

    premroxx (30th September 2011)

  4. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: static exe image issues

    If you need the DLLs then your application has not been built/linked with a static Qt to make a static executable. In any case, you need the imageformat and/or iconengine plugins for the image type(s) you are using.

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

    premroxx (30th September 2011)

Similar Threads

  1. Static Linking Ordering Issues
    By SneakyPeterson in forum Newbie
    Replies: 1
    Last Post: 11th June 2010, 11:51
  2. Program not linking with static image plugins
    By andyp in forum Qt Programming
    Replies: 7
    Last Post: 8th December 2009, 10:15
  3. MainWindow Background-Image issues
    By BingoMaster in forum Newbie
    Replies: 2
    Last Post: 5th November 2009, 17:22
  4. Issues writing a simple image viewer class
    By ultim8 in forum Qt Programming
    Replies: 5
    Last Post: 27th March 2009, 13:50
  5. Replies: 3
    Last Post: 6th March 2008, 11:55

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.