libvlc_exception_t has not been declared



  • 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?



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.