Results 1 to 2 of 2

Thread: Resource files not showing on Ubuntu 16.04

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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: Resource files not showing on Ubuntu 16.04

    So you have built on 18.04, made a deployment package on 18.04 using a third-party tool, deployed that package on 16.04, and you do not see the SVG icons.

    If you are using the QRC file correctly then resources are built in to the executable; they cannot be missing but they will not be files in the deployment bundle either. If you are explicitly loading them, then you should be referring to them by the pseudo-path "qrc:///images/someicon.svg" and not some relative path like "images/someicon.svg"

    Check that the third party tool has placed ".../imageformats/libqsvg.so" and/or ".../iconengines/libqsvgicon.so" in the deployment package. If it hasn't then there are options to force it to do so.
    Last edited by ChrisW67; 14th April 2020 at 23:34.

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

    EVARATE (15th April 2020)

Similar Threads

  1. Replies: 2
    Last Post: 8th September 2018, 08:24
  2. Replies: 3
    Last Post: 31st August 2015, 20:25
  3. integrated + binary resource files
    By Le_B in forum Qt Quick
    Replies: 0
    Last Post: 5th June 2011, 16:45
  4. QDir::setCurrent with resource files
    By LarryERamey in forum Qt Programming
    Replies: 3
    Last Post: 20th April 2011, 02:21
  5. How to compile qt resource files?
    By yangyunzhao in forum Qt Programming
    Replies: 1
    Last Post: 10th August 2009, 06:46

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.