AW: gst-bad qmlglsink and Windows

Weber, Holger Holger.Weber at telerob.com
Thu Sep 7 07:00:56 UTC 2017


Building doesn't work I get a compiler error which has something to doe with GST_PLUGIN_DEFINE. I used qtcreator which is included in msys.

C:/msys64/mingw32/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory 'C:/msys64/home/nice.guy/gst-plugins-bad/ext/build-qtplugin-telerob-Debug'
g++ -c -fno-keep-inline-dllexport -march=i686 -mtune=core2 -Wa,-mbig-obj -pipe -g -pthread -mms-bitfields -pthread -mms-bitfields -pthread -mms-bitfields -Wextra -Wall -W -fexceptions -mthreads -DUNICODE -DGST_USE_UNSTABLE_API -DHAVE_QT_WIN32 -DGST_PACKAGE_NAME="GStreamer Bad Plug-ins (qmake)" -DGST_PACKAGE_ORIGIN="Unknown package origin" -DGST_LICENSE="LGPL" -DPACKAGE="gst-plugins-bad (qmake)" -DPACKAGE_VERSION="1.9.0.1" -DQT_QML_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../qt -I. -I/include -isystem C:/msys64/mingw32/include/QtGui/5.9.1/QtGui -isystem C:/msys64/mingw32/include/gstreamer-1.0 -isystem C:/msys64/mingw32/include/glib-2.0 -IC:/msys64/mingw32/lib/glib-2.0/include -isystem C:/msys64/mingw32/include -IC:/msys64/mingw32/lib/gstreamer-1.0/include -isystem C:/msys64/mingw32/include/QtQuick -isystem C:/msys64/mingw32/include/QtWidgets -isystem C:/msys64/mingw32/include/QtGui -isystem C:/msys64/mingw32/include/QtQml -isystem C:/msys64/mingw32/include/QtNetwork -isystem C:/msys64/mingw32/include/QtCore -Idebug -IC:/msys64/mingw32/share/qt5/mkspecs/win32-g++  -o debug/gstplugin.o ../qt/gstplugin.cc
In file included from C:/msys64/mingw32/include/gstreamer-1.0/gst/gstelementfactory.h:38:0,
                from C:/msys64/mingw32/include/gstreamer-1.0/gst/gstelement.h:90,
                 from C:/msys64/mingw32/include/gstreamer-1.0/gst/gstbin.h:27,
                 from C:/msys64/mingw32/include/gstreamer-1.0/gst/gst.h:35,
                 from ../qt/gstqtsink.h:24,
                 from ../qt/gstplugin.cc:25:
<command-line>:0:17: error: too many decimal points in number
../qt/gstplugin.cc:51:18: note: in expansion of macro 'PACKAGE_VERSION'
     plugin_init, PACKAGE_VERSION, GST_LICENSE, GST_PACKAGE_NAME,
                  ^
<command-line>:0:13: error: 'LGPL' was not declared in this scope
../qt/gstplugin.cc:51:35: note: in expansion of macro 'GST_LICENSE'
     plugin_init, PACKAGE_VERSION, GST_LICENSE, GST_PACKAGE_NAME,
                                   ^
<command-line>:0:13: note: suggested alternative: 'LP'
../qt/gstplugin.cc:51:35: note: in expansion of macro 'GST_LICENSE'
     plugin_init, PACKAGE_VERSION, GST_LICENSE, GST_PACKAGE_NAME,

[....]

Regards,
Holger


Von: Jan Schmidt [mailto:thaytan at noraisin.net]
Gesendet: Mittwoch, 6. September 2017 16:38
An: Discussion of the development of and with GStreamer; Weber, Holger
Betreff: Re: gst-bad qmlglsink and Windows


Hi,
On 07/09/17 00:03, Weber, Holger wrote:
Hi,
I try to get the qmlglsink running under windows. I'm not sure if windows is even supported.

I checked out the current master stream of 1.13.x and tried to compile it.

The configure script says, that QPA is not installed... How can I fix this?


configure: *** checking feature: Qt elements ***
configure: *** for plug-ins: qt ***
checking for QT... yes
checking for moc-qt5... no
checking for moc... C:/msys64/mingw32/bin/moc
checking for rcc-qt5... no
checking for rcc... C:/msys64/mingw32/bin/rcc
checking for uic-qt5... no
checking for uic... C:/msys64/mingw32/bin/uic
configure: Cannot find QPA
configure: WARNING: Could not find any Qt Windowing integration
configure: *** These plugins will not be built: qt

I try to compile the package under msys2 with QT 5.9.

In general we don't build the Qt plugin under msys, because it needs to be built to match the Qt platform and compiler that it's running against.

For Windows, you should try using the qtplugin.pro file in the gst-plugins-bad/ext/qt directory to compile the plugin from with qtcreator. That said - I'm not sure I've tried building it since the dependency on QPA parts was added. It might not work on Windows right now (which is something we'd like to know of course)

The autoconf build is used on other platforms, where Qt can be found and used more easily.

Regards,
Jan.



Regards,
Holger





_______________________________________________

gstreamer-devel mailing list

gstreamer-devel at lists.freedesktop.org<mailto:gstreamer-devel at lists.freedesktop.org>

https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170907/ddaa24e3/attachment-0001.html>


More information about the gstreamer-devel mailing list