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. libvlc_exception_t has not been declared
Forum Update on Monday, May 27th 2025

libvlc_exception_t has not been declared

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

    hello, im traying to implement libvlc on QT, but im having troubles when i build, i got the error: "libvlc_exception_t has not been declared", i dont know whats happening, how can i solve it?
    Im using Windows 7.
    My *.pro file is:

    @

    QT += core gui

    TARGET = RTP_video
    TEMPLATE = app

    SOURCES += main.cpp
    vlc_on_qt.cpp

    HEADERS +=
    vlc_on_qt.h

    FORMS += mainwindow.ui

    win32:LIBS += $$quote(C:/Program Files (x86)/VideoLAN/VLC/libvlc.dll)
    win32:INCLUDEPATH += $$quote(C:/Program Files (x86)/VideoLAN/VLC/sdk/include)

    @

    Could you tell me what im doing wrong?

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rcari
      wrote on last edited by
      #2

      Well your problem seems more VLC related than Qt but hey...

      Make sure that you use the following:
      @
      include <vlc/libvlc.h>
      @

      It will include <vlc/libvlc_structures.h> which defines libvlc_exception_t.

      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