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 {
  Q_NAMESPACE
  Q_ENUM_NS(...)
  }

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

-- 
Matthew
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to