Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-128524

Qml build time warning: used as property type but cannot be found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 6.8.0 RC
    • 6.8.0 Beta4
    • QML: Compiler
    • None
    • Linux/Wayland, Linux/X11
    • 2d44996c2b3f049031282796090fb8dfa8a98cd6

    Description

      When compiling qml modules, the following warnings are emitted:

      Warning: AddMechanicalUnitModel.h:: QList<IdNameModel*> is used as property type but cannot be found. 
      Warning: MechanicalUnitGroupModel.h:: QList<IdNameActivatedModel*> is used as property type but cannot be found. 
      Warning: MechanicalUnitModel.h:: QList<IdNameModel*> is used as property type but cannot be found. 
      Warning: MechanicalUnitModel.h:: QList<IdNameModel*> is used as property type but cannot be found. 
      Warning: MechanicalUnitModel.h:: QList<JointModel*> is used as property type but cannot be found. 
      Warning: MechanicalUnitModel.h:: QList<IdNameModel*> is used as property type but cannot be found. 
      Warning: ModifyTaskFrameModel.h:: TreeModel::ItemType is used as argument type but cannot be found. 
      Warning: TaskModel.h:: QList<IdNameModel*> is used as property type but cannot be found.
      

      These classes are declared with Q_OBJECT and QML_ELEMENT.

      Attachments

        1. demo.zip
          1 kB
        2. demo-1.zip
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtqmlteam Qt Qml Team User
            xuzhongxing2020 zhongxing xu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes