forked from qt-creator/qt-creator
QmlProjectManager: removing declarative dependency
We can parse the .qmlproject files without using the declarative module. Change-Id: I78a910c9ec9477f5c6fbcdca23f62ab841ca4368 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -32,9 +32,14 @@
|
||||
|
||||
namespace QmlProjectManager {
|
||||
|
||||
class QmlProjectFileFormat {
|
||||
class QmlProjectItem;
|
||||
|
||||
class QmlProjectFileFormat
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(QmlProjectManager::QmlProjectFileFormat);
|
||||
|
||||
public:
|
||||
static void registerDeclarativeTypes();
|
||||
static QmlProjectItem *parseProjectFile(const QString &fileName, QString *errorMessage = 0);
|
||||
};
|
||||
|
||||
} // namespace QmlProjectManager
|
||||
|
||||
Reference in New Issue
Block a user