Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Network transparency for loading files?
Forum Update on Monday, May 27th 2025

Network transparency for loading files?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 837 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.
  • W Offline
    W Offline
    wooyay
    wrote on last edited by
    #1

    Hi,
    I would like to use network transparent Urls in my object which is not a Qml component.
    I would like to be able to use URLs like "qrc:/bla.txt", "http://localhost/bla.txt" or file:/home/wooyay/file.txt" interchangeably and be able to load a text file from these locations. Is there some easy way to do this? It seems like Qml does a lot of work on translating this kind of Url, is there some way to do this outside of Qml?

    Cheers,
    Martin

    1 Reply Last reply
    0
    • W Offline
      W Offline
      wooyay
      wrote on last edited by
      #2

      Can anybody answer this?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Interesting low-level question, you should try to ask it on the interest mailing list. You'll find Qt's developers/maintainers there (this forum is more user oriented)

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        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