QmlJS: Allow QML plugins to ship pre-dumped type descriptions.

If there's a library.xml file next to the qmldir file, Creator will
read that instead of trying to run qmldump on the library.

Reviewed-by: Erik Verbruggen
This commit is contained in:
Christian Kamm
2010-11-26 14:24:59 +01:00
parent 42fbb45b09
commit 3fcbbd1a65
2 changed files with 75 additions and 11 deletions

View File

@@ -72,6 +72,9 @@ private:
QString qmldirPath;
QString importPath;
QString importUri;
bool hasPredumpedXmlFile() const;
QString predumpedXmlFilePath() const;
};
void dump(const Plugin &plugin);