On Wednesday, 14 May 2014 09:04:15 CEST, Kristoffersen, Even (NO14) wrote: > You can add a wrapper class for the enum inside the namespace > for your Qt C++/QML code, non-Qt C++ won't change:
Thanks, but this wouldn't help me -- the application as a whole *is* using Qt. > namespace Imap > { > #ifdef QT_VERSION > #include <QObject> I don't think this would actually work -- including the QObject header within a custom namespace seems very fishy. > It's not the prettiest solution Now that's a nice euphemism :) With kind regards, Jan -- Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/ _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest