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:
Thomas Hartmann
2013-07-11 17:37:02 +02:00
parent 18c739c82d
commit e7f81afc4f
9 changed files with 118 additions and 63 deletions

View File

@@ -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