Fix compilation on Qt 5.4
This commit is contained in:
parent
8d51050820
commit
dde2ef5972
5 changed files with 5 additions and 4 deletions
|
@ -156,7 +156,7 @@ public:
|
|||
Airship
|
||||
};
|
||||
|
||||
Q_ENUM(AircraftType)
|
||||
Q_ENUMS(AircraftType)
|
||||
|
||||
AircraftType aircraftType() const
|
||||
{ return m_aircraftType; }
|
||||
|
|
|
@ -218,7 +218,7 @@ public:
|
|||
Airship = LauncherController::Airship
|
||||
};
|
||||
|
||||
Q_ENUM(AircraftType)
|
||||
Q_ENUMS(AircraftType)
|
||||
|
||||
Q_INVOKABLE void setSearch(QString t, AircraftType aircraft)
|
||||
{
|
||||
|
|
|
@ -113,7 +113,7 @@ public:
|
|||
Village = FGPositioned::VILLAGE
|
||||
};
|
||||
|
||||
Q_ENUM(Type)
|
||||
Q_ENUMS(Type)
|
||||
|
||||
Q_PROPERTY(QString ident READ ident NOTIFY infoChanged)
|
||||
Q_PROPERTY(QString name READ name NOTIFY infoChanged)
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
#include <QMetaObject>
|
||||
#include <QDebug>
|
||||
#include <QQmlEngine>
|
||||
|
||||
QmlRadioButtonGroup::QmlRadioButtonGroup(QObject *parent) : QObject(parent)
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#define QMLRADIOBUTTONHELPER_HXX
|
||||
|
||||
#include <QObject>
|
||||
#include <QQmlEngine> // for QML_DECLARE_TYPEINFO
|
||||
#include <QtQml>
|
||||
|
||||
class QmlRadioButtonGroup;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue