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

qmllint: warnings when adding QtQuick.Dialogs to qt_add_qml_module DEPENDENCIES

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.6.1
    • QML: Tooling
    • None
    • All

    Description

      When adding

      DEPENDENCIES QtQuick.Dialogs

      do your qt_add_qml_module you suddenly get lots of warnings in qmllint

       

      Warning: /Users/user/untitled/Main.qml: Warnings occurred while importing base modules: [import]

      Warning: Ambiguous type detected. FolderDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. ColorDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. ColorDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. FolderDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. ColorDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. MessageDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. ColorDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. FileDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. FolderDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. FontDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. MessageDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. FontDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. FolderDialogDelegate 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. FolderDialogDelegate 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. FontDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. FileDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. FontDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. MessageDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. FileDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. FileDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. FolderDialogDelegate 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. MessageDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. FolderDialog 6.0 is defined multiple times. [import]
      Warning: Ambiguous type detected. FolderDialogDelegate 6.0 is defined multiple times. [import]

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              sami.shalayel Sami Shalayel
              albert.astals.cid.avid Albert Astals Cid
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes