Results 1 to 4 of 4

Thread: Does Qt Embedded support PNG

  1. #1
    Join Date
    Oct 2009
    Posts
    22
    Thanks
    2
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Does Qt Embedded support PNG

    Hi,

    I am having some trouble displaying PNGs on my embedded platform, just wondering if it is supported. I have created some icons which I can display on my no bother when running my app in an i386 environment but no such luck in an embedded one.

    Thanks.

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

    Default Re: Does Qt Embedded support PNG

    Yes, PNG should be supported on all platforms Qt runs on.
    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.


  3. #3
    Join Date
    Oct 2009
    Posts
    22
    Thanks
    2
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Does Qt Embedded support PNG

    Even it is running on the framebuffer. I have designed the gui using designer, would the PNGs be embedded into the code some how or is there a file location that the pngs should eb in?

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

    Default Re: Does Qt Embedded support PNG

    It depends if you use Qt resources or not. Adding a png file to a form in Designer is not enough to embed the file into the binary. You either have to make that file available during runtime (remember about relative paths) or use Qt resources.
    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. Qt/X11 source-distro apps corrupting KDE Desktop background
    By wdezell in forum Installation and Deployment
    Replies: 5
    Last Post: 23rd July 2009, 21:10
  2. Problem building qt embedded for WinCE and VS2005
    By high_flyer in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 5th June 2009, 01:04
  3. Japanese support in QT Embedded Linux
    By Beppe in forum Qt Programming
    Replies: 0
    Last Post: 28th May 2009, 15:16
  4. remote control support on Qt4.4 & Qt embedded.
    By punit.doshi.85 in forum Qt Programming
    Replies: 1
    Last Post: 1st August 2008, 20:08
  5. Qt-4.4.0 installation error in linux
    By babu198649 in forum Installation and Deployment
    Replies: 4
    Last Post: 27th May 2008, 14:35

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.