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. Linking against libvlc.dll
Qt 6.11 is out! See what's new in the release blog

Linking against libvlc.dll

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

    Hi all,

    I am trying to run a sample code that I found in the internet. However, whatever I do, I couldn't get it running. It compiles, so I assume that it is linking successfully but I can't get an instance.

    I have copied my complete code into DropBox. Could anyone share couple of minutes to have a look where I am making a mistake?

    If you put a break-point to the following line, you will see that vlcInstance is set 0x0 after the call, which is not good.
    @vlcInstance = libvlc_new(0, NULL);@

    "Source code... 1.47Mb":https://www.dropbox.com/s/ebhzoz3hnh745ps/vlc_exp.zip

    Thanks a lot.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dolevo
      wrote on last edited by
      #2

      sorted out. everything is correct but I needed to provide plugins folder under the bin folder where my exe file is located.

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

        Hi,

        Do you mean it doesn't start ? Is the dll in a place where it can be found on your program startup ?

        If not, you have to modify the PATH in the run panel in QtCreator and add the folder where the dll is

        Hope it helps

        EDIT: a bit too late... Great you found out ! Don't forget to update the thread's title to solved so other forum users may know a solution has been found :)

        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