forked from qt-creator/qt-creator
Fix compilation for latest qt/master
QmlList has been replaced by QmlListProperty (33eb76f050b45718d87926). Patch provided by Aaron Kennedy. Reviewed-by: akennedy
This commit is contained in:
@@ -21,7 +21,7 @@ class QmlProjectItem : public QObject {
|
||||
Q_DECLARE_PRIVATE(QmlProjectItem)
|
||||
Q_DISABLE_COPY(QmlProjectItem)
|
||||
|
||||
Q_PROPERTY(QmlList<QmlProjectManager::QmlProjectContentItem*> *content READ content DESIGNABLE false)
|
||||
Q_PROPERTY(QmlListProperty<QmlProjectManager::QmlProjectContentItem> content READ content DESIGNABLE false)
|
||||
Q_PROPERTY(QString sourceDirectory READ sourceDirectory NOTIFY sourceDirectoryChanged)
|
||||
Q_PROPERTY(QStringList libraryPaths READ libraryPaths WRITE setLibraryPaths NOTIFY libraryPathsChanged)
|
||||
|
||||
@@ -31,7 +31,7 @@ public:
|
||||
QmlProjectItem(QObject *parent = 0);
|
||||
~QmlProjectItem();
|
||||
|
||||
QmlList<QmlProjectContentItem*> *content();
|
||||
QmlListProperty<QmlProjectContentItem> content();
|
||||
|
||||
QString sourceDirectory() const;
|
||||
void setSourceDirectory(const QString &directoryPath);
|
||||
|
||||
Reference in New Issue
Block a user