Important: Please read the Qt Code of Conduct -

Build problem .pro "Undefined reference to _Imp__ ... "

  • Hello everybody,

    I'm new on QT and i need to use VLC-QT to create a media player.
    I Download the library, i try to include it into my projet but i can't use this library with it.
    I have already many lines of errors : "Undefined reference to Imp_ ...". I have correct some mistake done on the .pro
    But all of this errors stay.

    I link my .pro

    QT += core gui

    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

    TARGET = SelectViz
    TEMPLATE = app

    SOURCES += main.cpp

    HEADERS += mainwindow.h

    FORMS += mainwindow.ui

    QT += core gui

    win32:CONFIG(release,debug|release): LIBS += -L$$PWD/../..//Desktop/VLC/lib/ -lvlc-qt -lvlc-qt-widgets
    else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../Desktop/VLC/debug/ -lvlc-qt -lvlc-qt-widgets
    else:unix: LIBS += -L$$PWD/../../Desktop/VLC/lib/ -lvlc-qt -lvlc-qt-widgets
    INCLUDEPATH += $$PWD/../../Desktop/VLC/include
    DEPENDPATH += $$PWD/../../Desktop/VLC/include

    i already see many problem solve but solutions doesn't work with my problem. (destructor problems, or qmake problems)
    I work on Windows.
    If someone can help me.

Log in to reply