Can an XML file be part of a Qt qrc resource file



  • I added an .xml file as a resource in my resources.qrc.
    This .xml file is to be used in my PyQt desktop application.
    I am packaging this application using pyinstaller.

    However, this .xml file when used in my application is not working.

    So far i've had success with adding images and html files as resources. Im not certain what ive done wrong



  • Hi! XML files inside qrc works. The problem must be somewhere else. Can you say what exactly doesn't work?



  • How you read this file as qrc? Is file in the location that you give. Remember you cannot change qrc files, but after unpacking you can.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.