[Interest] can't get cmake to find qt5 while compiling qtgstreamer

pritam.ghanghas at gmail.com pritam.ghanghas at gmail.com
Thu Jul 16 12:52:15 CEST 2015


Hi

Hi

I was compiling Qt-Gstreamer from source. I have Qt4.8 and Qt 5.4.1
installed from ubuntu repositories on ubuntu 1504.
I also have Qt5.4.2  installed using the installer in default $HOME location

first I tried

cd build
cmake ..

cmake detects only Qt 4.8 and QtQuick1
Here is the output
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these
packages.
-----------------------------------------------------------------------------
  * Qt - Required for building everything
  * QtOpenGL - Required for OpenGL acceleration in qtvideosink and
QtGStreamerUi
  * QtQuick1 (QtDeclarative) - Required for building QtQuick1 support
  * Boost - Required for building QtGLib
  * GStreamer - Required to build QtGStreamer
  * GStreamer base library - Used for building the qtvideosink element
  * GStreamer app library - Required to build QtGStreamerUtils
  * GStreamer audio library - Required to build QtGStreamer
  * GStreamer video library - Required to build QtGStreamer
  * GStreamer pbutils library - Used for building the Discoverer API
  * GLib - Required to build QtGLib
  * GObject - Required to build QtGLib
  * OpenGL - Required for OpenGL rendering support in qtvideosink
  * Doxygen - Used to generate the API documentation

-----------------------------------------------------------------------------
-- Congratulations! All external packages have been found.
-----------------------------------------------------------------------------

If I supply the path for Qt.5.4.2 manually to CMAKE_PREFIX_PATH using
cmake -DCMAKE_PREFIX_PATH="/home/pritam/Qt/5.4/gcc_64" ..

still same result.

How do I get QtQuick2 with QtGstreamer?

I am trying to use qtgstreamer to play a stream coming from a raspberry pi
cam over network. I downloaded qtgstreamer from ppa. It works but the video
has red hue in it. I think I have the same problem as thing bug report
https://bugzilla.gnome.org/show_bug.cgi?id=740614. To workaround I will
have to change code, but if it doesn't compile I can't do that. So stuck
:--(

-- 
Regards,
pritam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150716/7a0781a6/attachment.html>


More information about the Interest mailing list