How to build QtGStreamer with MinGW on Windows
-
wrote on 5 Sept 2018, 03:25 last edited by
-
wrote on 5 Sept 2018, 07:45 last edited by
en... I have solved this problem?
the source code I have downloaded ( form https://gstreamer.freedesktop.org/data/src/qt-gstreamer/qt-gstreamer-1.2.0.tar.xz ) may have something wrongs ???
when I download the same version source code from https://github.com/GStreamer/qt-gstreamer
I completed the compilation !! -
wrote on 5 Sept 2018, 04:48 last edited by
Sounds like there is a syntax error in the code at line 125 in gstqtglvideosinkbase.cpp.
My guess as to why is because the particular compiler you are using is not supported or the code is using a new C++ feature set, i.e. c++11 and you are building with c++98.
I would check to make sure the mingw you are trying to use is one that works with Qt and that the proper C++ is being used. Qt is historically very picky about what version of mingw can build it. I've found straying for the specific version they use almost always causes problems.
-
wrote on 5 Sept 2018, 05:53 last edited by
@ambershark thanks for your reply.
The version of mingw complier I used is that :
mingw32-make -v
GNU Make 4.1
Built for i686-w64-mingw32
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.Any problem with that ?
I use it to build the boost at first.I download Qt5.5 and try to change the version of MinGW. ( Qt5.10 and Qt5.5 use the MinGW in different version). But the problem still exits.
Could you show me the way?
-
wrote on 5 Sept 2018, 07:45 last edited by
en... I have solved this problem?
the source code I have downloaded ( form https://gstreamer.freedesktop.org/data/src/qt-gstreamer/qt-gstreamer-1.2.0.tar.xz ) may have something wrongs ???
when I download the same version source code from https://github.com/GStreamer/qt-gstreamer
I completed the compilation !! -
wrote on 6 Sept 2018, 02:59 last edited by
Awesome! I knew it was a syntax error but wouldn't have guessed it was a corrupt file, lol.
Glad you found it and fixed it. :)
1/5