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. .open() unable to open stream in packaged application

.open() unable to open stream in packaged application

Scheduled Pinned Locked Moved Unsolved General and Desktop
deploy problemsopencv
2 Posts 2 Posters 614 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.
  • B Offline
    B Offline
    BigBen
    wrote on last edited by
    #1

    I have made an application that has a live video stream. I use openCV's VideoCapture.open() to open and run the stream on the application. It runs perfectly on debug and release mode on my system. Even after I package the application using the windeployqt.exe file, and run the packaged application on my system, it runs perfectly.

    However, when I try to run this packaged application on another PC, the application starts, but the stream is unable to open. Basically, the .open() function of VideoCapture returns false.

    I am not sure what might be going wrong.

    JonBJ 1 Reply Last reply
    0
    • B BigBen

      I have made an application that has a live video stream. I use openCV's VideoCapture.open() to open and run the stream on the application. It runs perfectly on debug and release mode on my system. Even after I package the application using the windeployqt.exe file, and run the packaged application on my system, it runs perfectly.

      However, when I try to run this packaged application on another PC, the application starts, but the stream is unable to open. Basically, the .open() function of VideoCapture returns false.

      I am not sure what might be going wrong.

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

      @BigBen
      This sounds like you would be best looking for openCV's VideoCapture.open() questions? Maybe whatever it does requires certain files in certain places which are not present/found on the other system, either openCV runtime files or the file you are trying to open?

      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