Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
5.8.0 Alpha
-
None
-
0933e6d71310178667cce1a60ac65c23a956eb34
Description
Our eventnames2.scxml in tests/auto/compiled generates this header:
// // Statemachine code from reading SCXML file 'eventnames2.scxml' // Created by: The Qt SCXML Compiler version 1 (Qt 5.8.0) // WARNING! All changes made in this file will be lost! // #ifndef EVENTNAMES2_H #define EVENTNAMES2_H #include <QScxmlStateMachine> #include <QString> #include <QByteArray> class eventnames2: public QScxmlStateMachine { public: /* qmake ignore Q_OBJECT */ Q_OBJECT Q_PROPERTY(bool a READ a NOTIFY aChanged) public: eventnames2(QObject *parent = 0); ~eventnames2(); bool a() const; protected: void setService(const QString &id, QScxmlInvokableService *service) Q_DECL_OVERRIDE Q_DECL_FINAL; signals: void aChanged(bool active); public slots: void also(const QVariant &eventData = QVariant()); void valid(const QVariant &eventData = QVariant()); private: struct Data; friend struct Data; struct Data *data; }; Q_DECLARE_METATYPE(::eventnames2*); #endif // EVENTNAMES2_H
Obviously the slot names are not what any sane user would expect.