[Development] export gobal enums to QML

Salomon, Florian florian.salomon at siemens.com
Tue Sep 2 07:48:49 CEST 2014


Hi,

i'd like to know, if there is any possibility  to export global enums (defined in a separate header file) to QML?

#include "errcodes.h"

Class A : QObject
{
        Q_OBJECT
        Q_ENUMS(eErrorIDs)

public:
        enum globalErrCodes eErrorIDs;
}

Regrads
Florian


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140902/86baf204/attachment.html>


More information about the Development mailing list