Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Qt5GStreamer namespace reference errors
Forum Updated to NodeBB v4.3 + New Features

Qt5GStreamer namespace reference errors

Scheduled Pinned Locked Moved 3rd Party Software
2 Posts 2 Posters 1.7k Views 1 Watching
  • 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.
  • G Offline
    G Offline
    Gowtam
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      controlhorus
      wrote on last edited by
      #2

      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

      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