Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.2.8, 6.5.1
-
c92700b1c (dev), 76405c024 (6.5), 2484df534 (6.6), 3f4f236aa (6.5.2)
Description
Application example
Code
import QtQuick import QtApplicationManager.Application Item { Component.onCompleted: console.log(ApplicationInterface.applicationId) }
qmllint output
Warning: D:/Test/Test.qml:2:1: Warnings occurred while importing module "QtApplicationManager.Application": [import] import QtApplicationManager.Application ^^^^^^ --- Warning: C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\Application\plugins.qmltypes:14:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.0. C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\Application\plugins.qmltypes:29:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.0. C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\Application\plugins.qmltypes:54:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.0. [import] Warning: Found deprecated dependency specifications in C:/Qt/6.5.1/msvc2019_64/qml/QtApplicationManager/Application/plugins.qmltypes.Specify dependencies in qmldir and use qmltyperegistrar to generate qmltypes files without dependencies. [import] --- Warning: D:/Test/Test.qml:5:58: Member "applicationId" not found on type "ApplicationInterface" [missing-property] Component.onCompleted: console.log(ApplicationInterface.applicationId) ^^^^^^^^^^^^^ ---
SystemUI example
Code
import QtQuick import QtApplicationManager.SystemUI Item { IntentServerHandler {} }
qmllint output
Warning: D:/Test/Test2.qml:2:1: Warnings occurred while importing module "QtApplicationManager.SystemUI": [import] import QtApplicationManager.SystemUI ^^^^^^ --- Warning: C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\SystemUI\plugins.qmltypes:14:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.0. C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\SystemUI\plugins.qmltypes:52:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.0. C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\SystemUI\plugins.qmltypes:98:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.1. C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\SystemUI\plugins.qmltypes:119:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.0. C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\SystemUI\plugins.qmltypes:222:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.0. C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\SystemUI\plugins.qmltypes:247:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.0. C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\SystemUI\plugins.qmltypes:299:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.0. C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\SystemUI\plugins.qmltypes:378:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.0. C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\SystemUI\plugins.qmltypes:388:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.0. C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\SystemUI\plugins.qmltypes:426:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.0. C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\SystemUI\plugins.qmltypes:451:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.0. C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\SystemUI\plugins.qmltypes:472:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.0. C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\SystemUI\plugins.qmltypes:560:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.0. C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\SystemUI\plugins.qmltypes:612:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.0. C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\SystemUI\plugins.qmltypes:785:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.0. C:\Qt\6.5.1\msvc2019_64\qml\QtApplicationManager\SystemUI\plugins.qmltypes:919:38: Meta object revision and export version differ. Revision 0 corresponds to version 0.0; it should be 2.0. [import] Warning: Found deprecated dependency specifications in C:/Qt/6.5.1/msvc2019_64/qml/QtApplicationManager/SystemUI/plugins.qmltypes.Specify dependencies in qmldir and use qmltyperegistrar to generate qmltypes files without dependencies. [import] --- Warning: D:/Test/Test2.qml:5:2: IntentServerHandler was not found. Did you add all import paths? [import] IntentServerHandler {} ^^^^^^^^^^^^^^^^^^^ Info: Did you mean "IntentServer"? IntentServer {} ^^^^^^^^^^^^ Warning: D:/Test/Test2.qml:5:2: Type IntentServerHandler is used but it is not resolved [unresolved-type] IntentServerHandler {} ^^^^^^^^^^^^^^^^^^^ Info: D:/Test/Test2.qml:2:1: Unused import [unused-imports] import QtApplicationManager.SystemUI ^^^^^^
Attachments
Issue Links
- resulted in
-
QTBUG-114357 AppMan: Port from manual Q_CLASSINFO()+dumpqmltypes to QML_ELEMENT+qmltyperegistrar
- Withdrawn