[Bug 796350] New: Put class declartion into QT NAMESPACE

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed May 23 08:18:57 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796350

            Bug ID: 796350
           Summary: Put class declartion into QT NAMESPACE
    Classification: Platform
           Product: GStreamer
           Version: 1.x
                OS: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: hamed.masafi at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list