forked from qt-creator/qt-creator
		
	QmlJS: Don't warn user about imports if static info is available
Don't underline the import if a qmldump fails, but the typeinfo is available via a .qmltypes file. That should allow users to 'fix' qmldump issues by shipping a .qmltypes file. Reviewed-by: Erik Verbruggen
This commit is contained in:
		| @@ -110,6 +110,7 @@ public: | ||||
|     }; | ||||
|  | ||||
|     typedef QHash<QString, QList<LanguageUtils::FakeMetaObject::ConstPtr> > CppQmlTypeHash; | ||||
|     typedef QHash<QString, QList<LanguageUtils::ComponentVersion> > BuiltinPackagesHash; | ||||
|  | ||||
| public: | ||||
|     ModelManagerInterface(QObject *parent = 0); | ||||
| @@ -135,6 +136,7 @@ public: | ||||
|                                  const QString &importUri, const QString &importVersion) = 0; | ||||
|  | ||||
|     virtual CppQmlTypeHash cppQmlTypes() const = 0; | ||||
|     virtual BuiltinPackagesHash builtinPackages() const = 0; | ||||
|  | ||||
| signals: | ||||
|     void documentUpdated(QmlJS::Document::Ptr doc); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user