Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt5GStreamer namespace reference errors
Gowtam last edited by
I was trying to run the sample program that came up with QtGstreamer. But Qt5 isn't detecting the namespace:
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
HEADERS += mainwindow.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?
controlhorus last edited by
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?