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. Video can't load from qrc file on windows xp

Video can't load from qrc file on windows xp

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 198 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.
  • LinArcXL Offline
    LinArcXL Offline
    LinArcX
    wrote on last edited by LinArcX
    #1

    Hi.
    I developed an application and deployed it on windows xp.

    Everything's fine except that i have a video and seems it can't load from qrc files.(qrc:/foo.ogv)

    It worth to mention that it totally works on windows 7.

    Edit: if i try to use absolute path(like: file:///D:/foo.ogv) it works. But i wana use qrc.

    JonBJ 1 Reply Last reply
    0
    • LinArcXL LinArcX

      Hi.
      I developed an application and deployed it on windows xp.

      Everything's fine except that i have a video and seems it can't load from qrc files.(qrc:/foo.ogv)

      It worth to mention that it totally works on windows 7.

      Edit: if i try to use absolute path(like: file:///D:/foo.ogv) it works. But i wana use qrc.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @LinArcX
      "Load" it with what?

      1 Reply Last reply
      0
      • LinArcXL Offline
        LinArcXL Offline
        LinArcX
        wrote on last edited by
        #3

        @JonB Post edited.

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

          Hi,

          You can't as the native backends know nothing about qrc. Copy the file in some safe known place on the disk and play it from there. Use QStandardPaths for that.

          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
          1

          • Login

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