Hi, all.
I am developing a new addon for Qt5 in Gerrit /playground/QtSerialPort and I
have a
problem with the macros QT_BEGIN_NAMESPACE_SERIALPORT,
QT_END_NAMESPACE_SERIALPORT and etc.
With this code in the global file serialport-global.h
..
#ifndef SERIALPORT_GLOBAL_H
#define
I answer to myself.
If add in serialport_global.h also these lines:
..
#if defined QT_BEGIN_MOC_NAMESPACE
# undef QT_BEGIN_MOC_NAMESPACE
#endif
#if defined QT_END_MOC_NAMESPACE
# undef QT_END_MOC_NAMESPACE
#endif
#define QT_BEGIN_MOC_NAMESPACE QT_BEGIN_NAMESPACE_SERIALPORT
#define