Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Can an XML file be part of a Qt qrc resource file
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 3 Posters 977 Views 1 Watching
  • 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.
  • F Offline
    F Offline
    fninsiima
    wrote on last edited by A Former User
    #1

    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

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

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

      1 Reply Last reply
      1
      • ArtmeticA Offline
        ArtmeticA Offline
        Artmetic
        wrote on last edited by
        #3

        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.

        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