Qt5GStreamer namespace reference errors



  • I was trying to run the sample program that came up with QtGstreamer. But Qt5 isn't detecting the namespace:

    like:
    error: undefined reference to `QGst::Ui::VideoWidget::stopPipelineWatch()' and so on..
    My .pro file:

    @QT += core gui

    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

    TARGET = gstreamtest
    TEMPLATE = app

    SOURCES += main.cpp
    mainwindow.cpp
    player.cpp
    mediaapp.cpp

    HEADERS += mainwindow.h
    player.h
    mediaapp.h

    FORMS += mainwindow.ui

    QMAKE_CXXFLAGS += -std=c++0x

    QWTPATH = /usr/local
    INCLUDEPATH += $$QWTPATH/include/Qt5GStreamer
    LIBS += -L$$QWTPATH/lib -lQt5GStreamer-0.10

    CONFIG += link_pkgconfig
    PKGCONFIG += Qt5GStreamer-0.10 Qt5GStreamerUi-0.10@

    Is there anything else I need to configure?



  • Hello

    I am trying to do something similar. I downloaded QtGStreamer library. I compiled at installed it at /usr/local/TrollTech/Qt-4.8.5. When I try to run the example it did not find pkgconfig QtGStreamer-0.10.

    I can see that QTStreamer has installed all their libs/pkconfig at /usr/local/TrollTech/Qt-4.8.5/lib/i386-linux.gnu and I think QtCreator is looking for them at /usr/local/TrollTech/Qt-4.8.5/lib/

    How can I configure QtCreator to look for this other directory?

    Thanks


Log in to reply
 

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