[Interest] Q_NAMESPACE is not portable?

Matthew Woehlke mwoehlke.floss at gmail.com
Mon Aug 26 17:29:31 CEST 2019

On 23/08/2019 19.02, Giuseppe D'Angelo via Interest wrote:
> On 24/08/2019 00:10, Matthew Woehlke wrote:
>> Am I doing something wrong, or is it impossible to use Q_NAMESPACE
>> correctly without platform-specific PP conditionals?
> I've fixed this in 5.14, see
>> https://doc-snapshots.qt.io/qt5-dev/qobject.html#Q_NAMESPACE_EXPORT

Okay... that's both good and bad news... good that it's fixed, bad that
it isn't available in a released version.

BTW, what happened to the doc? Macros aren't class members...

(Relatedly, any word on lifting the implied <QObject> dependency on
several of these?)


More information about the Interest mailing list