Commit 038f18ea authored by Tim Jenssen's avatar Tim Jenssen Committed by Thomas Hartmann

QmlJS: add import name to the missing error message

Change-Id: Id973d442e1770f453b16723f9cf75ee2169b33ad
Reviewed-by: default avatarThomas Hartmann <>
parent a2fd5368
......@@ -403,15 +403,15 @@ Import LinkPrivate::importNonFile(Document::Ptr doc, const ImportInfo &importInf
error(doc, locationFromRange(importInfo.ast()->firstSourceLocation(),
"QML module not found.\n\n"
"QML module not found(%1).\n\n"
"Import paths:\n"
"For qmake projects, use the QML_IMPORT_PATH variable to add import paths.\n"
"For Qbs projects, declare and set a qmlImportPaths property in your product "
"to add import paths.\n"
"For qmlproject projects, use the importPaths property to add import paths.\n"
"For CMake projects, make sure QML_IMPORT_PATH variable is in CMakeCache.txt.\n").arg(
importPaths.join(QLatin1Char('\n'))));, importPaths.join(QLatin1Char('\n'))));
return import;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment