[Interest] Using Q_ENUM_NS?

Matthew Woehlke mwoehlke.floss at gmail.com
Fri Aug 23 23:00:47 CEST 2019

Is it *really* impossible to use Q_ENUM_NS (in the same namespace) in
more than one header? If not, how does one do so correctly?

If I don't have code that looks *exactly* like this:

  namespace whatever {

...moc is unhappy. But if Q_NAMESPACE appears in more than one header, I
get duplicate definition errors.


More information about the Interest mailing list