Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Network transparency for loading files?

    General and Desktop
    2
    3
    650
    Loading More Posts
    • 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
      wooyay last edited by

      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 Reply Quote 0
      • W
        wooyay last edited by

        Can anybody answer this?

        1 Reply Last reply Reply Quote 0
        • SGaist
          SGaist Lifetime Qt Champion last edited by

          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 Reply Quote 0
          • First post
            Last post