After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796350 - Put class declaration into QT NAMESPACE
Put class declaration into QT NAMESPACE
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: qt-gstreamer
1.x
Other All
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-05-23 08:18 UTC by Hamed Masafi
Modified: 2018-05-23 08:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hamed Masafi 2018-05-23 08:18:57 UTC
In some case when gstreamer is used with namespaced qt classes the build process will be fail. To resolve please put all qt class declartion into qt namespace.

for example in file clocktime.h the 22th line should change from 
class QTime;

to:
QT_BEGIN_NAMESPACE
class QTime;
QT_END_NAMESPACE

this process does not affect any existing or new sources with normal Qt build. But in some cases, for example Qt compiled with namespace or namespaced headers (like WinCC_OA app plugin development) the classes will be declared in right namespace.
Comment 1 Tim-Philipp Müller 2018-05-23 08:34:13 UTC
Thanks for the bug report.

qt-gstreamer is no longer maintained, so I don't think this will get fixed.