diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-11-03 16:30:01 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-11-10 20:53:35 +0100 |
commit | 913ec8a57a43e7793db9f8c18eb880b0737edacf (patch) | |
tree | 414e971c48e8c1278750466ba2ae700ae24455c2 /src/qml/qml | |
parent | a7ea2782793dc3d9dc3861fafbe1b0d3254c96c4 (diff) |
Add debug trace when a static plugin is loaded
Change-Id: Icc4ff1f78bca75c59af1c2550fae15a2489a8bf1
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/qml')
-rw-r--r-- | src/qml/qml/qqmlimport.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlimport.cpp b/src/qml/qml/qqmlimport.cpp index f6af507147..a9107b908a 100644 --- a/src/qml/qml/qqmlimport.cpp +++ b/src/qml/qml/qqmlimport.cpp @@ -1274,6 +1274,11 @@ QTypeRevision QQmlImportsPrivate::importExtension( } return QTypeRevision(); } + + if (qmlImportTrace()) + qDebug().nospace() << "QQmlImports(" << qPrintable(base) << ")::importExtension: " + << "loaded static plugin " << versionUri; + break; } } |