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. .exe file don't work correct on different PC
Qt 6.11 is out! See what's new in the release blog

.exe file don't work correct on different PC

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 2.4k 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.
  • A Offline
    A Offline
    adrianlin
    wrote on last edited by
    #1

    I am working on an application, that takes frames from 4 webcams (i named the webcams 1,2,3,4). It can run maximum any 2 webcams simultaneously (1 and 2; 1 and 3; 1 and 4; 2 and 3 ...). I can select from an USB custom device, which webcam/s are running.

    The problem is that .exe file that was created in release directory, works correctly on my PC, but when i move my application on other PC, when i select webcams 3 and 4, it starts just webcam 3. Or when i only select webcam 4, it also starts webcam 3.

    I used Qt creator 2.4.1 (based on Qt4.7.4 32bit), and OpenCV2.4.2., on 32bit Windows7. I am trying to run my application on the other computer with Windows7 32bit.

    For my .exe to work, i had to copy some .dll files from OpenCv installation, in the same directory with the .exe file. So, i think that i have to recompile OpenCv on the other computer too, so my application can run correctly but i'm not sure about this. Might this work ?

    1 Reply Last reply
    0
    • mrdebugM Offline
      mrdebugM Offline
      mrdebug
      wrote on last edited by
      #2

      I think is not a problem on dll or version (32 - 64) but the way to access to the webcams. I know OpenCV on Linux but not on Windows. I know that OpenCV does not change channel of a input device. Are you sure OpenCV supports correctly Windows 7?

      Need programmers to hire?
      www.labcsp.com
      www.denisgottardello.it
      GMT+1
      Skype: mrdebug

      1 Reply Last reply
      0
      • JeroentjehomeJ Offline
        JeroentjehomeJ Offline
        Jeroentjehome
        wrote on last edited by
        #3

        Don't think you need to recompile openCV. If that is the problem, the program woudn't run anyway and give a "couldn't find dll" stuff errors.
        As mrdebug says it is probably caused by Win7 and how it handles webcams. Maybe install Qt on a Win7 and start testing it there.
        Greetz

        Greetz, Jeroen

        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