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:
@@ -600,7 +600,9 @@ class QMLJS_EXPORT CppQmlTypesLoader
|
||||
public:
|
||||
/** \return an empty list when successful, error messages otherwise. */
|
||||
static QStringList loadQmlTypes(const QFileInfoList &xmlFiles);
|
||||
|
||||
static QHash<QString, LanguageUtils::FakeMetaObject::ConstPtr> builtinObjects;
|
||||
static QHash<QString, QList<LanguageUtils::ComponentVersion> > builtinPackages;
|
||||
|
||||
// parses the xml string and fills the newObjects map
|
||||
static QString parseQmlTypeDescriptions(const QByteArray &xml,
|
||||
|
Reference in New Issue
Block a user