Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Resources missing after macdeployqt
Qt 6.11 is out! See what's new in the release blog

Resources missing after macdeployqt

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 483 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • fire_lizardF Offline
    fire_lizardF Offline
    fire_lizard
    wrote on last edited by fire_lizard
    #1

    I have application which uses PNG files as resources stored in an QRC file.
    All of these images displayed correctly, but after I run macdeployqt (in order to distribute the application) and run the application again all of them disappear.
    After research I found that if I remove qt.conf from the application bundle, all the images displayed correctly again.
    The question is: what line should I add to the qt.conf to make the application find resources inside the application bundle?
    Here is current content of the qt.conf file:

    [Paths]
    Plugins = PlugIns
    Imports = Resources/qml
    Qml2Imports = Resources/qml
    
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved