aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/qmlcompiler/qqmljstypedescriptionreader.cpp2
-rw-r--r--tests/auto/qml/qmllint/tst_qmllint.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/qmlcompiler/qqmljstypedescriptionreader.cpp b/src/qmlcompiler/qqmljstypedescriptionreader.cpp
index 6f474bbe10..b24722b37c 100644
--- a/src/qmlcompiler/qqmljstypedescriptionreader.cpp
+++ b/src/qmlcompiler/qqmljstypedescriptionreader.cpp
@@ -248,6 +248,8 @@ void QQmlJSTypeDescriptionReader::readComponent(UiObjectDefinition *ast)
addWarning(script->firstSourceLocation(),
tr("Unknown access semantics \"%1\".").arg(semantics));
}
+ } else if (name == QLatin1String("extension")) {
+ // not implemented
} else {
addWarning(script->firstSourceLocation(),
tr("Expected only name, prototype, defaultProperty, attachedType, "
diff --git a/tests/auto/qml/qmllint/tst_qmllint.cpp b/tests/auto/qml/qmllint/tst_qmllint.cpp
index 3f674fb5cc..0a2f8ed6b1 100644
--- a/tests/auto/qml/qmllint/tst_qmllint.cpp
+++ b/tests/auto/qml/qmllint/tst_qmllint.cpp
@@ -317,6 +317,7 @@ void TestQmllint::cleanQmlCode()
{
QFETCH(QString, filename);
const QString warnings = runQmllint(filename, true);
+ QEXPECT_FAIL("unknownBuiltinFont", "Broken extended support", Continue);
QVERIFY2(warnings.isEmpty(), qPrintable(warnings));
}
@@ -361,6 +362,7 @@ QString TestQmllint::runQmllint(const QString &fileToLint, bool shouldSucceed, c
return runQmllint(fileToLint, [&](QProcess &process) {
QVERIFY(process.waitForFinished());
QCOMPARE(process.exitStatus(), QProcess::NormalExit);
+ QEXPECT_FAIL("unknownBuiltinFont", "Broken extended support", Continue);
if (shouldSucceed)
QCOMPARE(process.exitCode(), 0);
else