QtGStreamer in Qt5
marcotrapanese at gmail.com
Mon Jul 15 03:41:28 PDT 2013
I didn't understand what it was asking for, indeed. I successfully compiled
with the right path.
The last question is: in the Qt project file I wrote the following:
CONFIG += link_pkgconfig
but the linker cannot find the reference for the QGst functions:
undefined reference to QGst::Element::currentState()
undefined reference to QGst::Element::SeekEvent::create()
undefined reference to QGst::Element::DurationQuery::create()
and so on.
Shouldn't the packages take care of including the required libs?
I checked those files and all paths seems ok.
What should I do to investigate further now?
2013/7/15 George Kiagiadakis <kiagiadakis.george at gmail.com>
> On Mon, Jul 15, 2013 at 11:56 AM, Marco Trapanese
> <marcotrapanese at gmail.com> wrote:
> > I'm trying the pre 0.10.2.2. I have the Qt5.1.0 installed in
> > /home/marco/Development/Qt5.1.0 so I issue the following command from the
> > build directory:
> > cmake ..
> > -DCMAKE_INSTALL_PREFIX=/home/marco/Development/qt-gstreamer-0.10.2.2
> > -DQT_VERSION=5 -DQTGSTREMER_STATIC=OFF -DQTGSTREAMER_EXAMPLES=ON
> > -DUSE_GST_PLUGIN_DIR=OFF -DUSE_QT_PLUGIN_DIR=OFF
> > -DCMAKE_PREFIX_PATH=/home/marco/Development/Qt5.1.0/5.1.0/gcc/lib/
> > but the first error is it cannot find the Qt5 installation dir and it
> > suggests me to set the CMAKE_PREFIX_PATH to the Qt5Core directory.
> > I double checked the path and it's correct. Am I missing some thing
> This doesn't look like a correct path. The path should contain
> lib/cmake/Qt5Core/ under it, so I guess the correct one is
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel