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

qmlimportscanner cannot find files with +selector

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • 6.5
    • 6.2.5, 6.3.1, 6.4.0 Beta2
    • QML: Tooling
    • All

    Description

      We have some files that are inside a file selector directory like +desktop or +mobile. The qmlimportscanner throws some "Cannot open input file" errors here.

      We use androiddeployqt that automatically call this:

      qmlimportscanner -rootPath /.../resources/qml/ -importPath /.../build/qml /.../resources/qml/

      Cannot open input file /.../View/FocusPoint.qml:No such file or directory
      Cannot open input file /.../View/ContentArea.qml:No such file or directory
      Cannot open input file /.../View/FocusFrame.qml:No such file or directory
      Cannot open input file /.../View/FramedImage.qml:No such file or directory
      Cannot open input file /.../View/Controller.qml:No such file or directory
      Cannot open input file /.../View/TabBarView.qml:No such file or directory
       

      Content of the directories:

      $ ls View/**
      View/BaseController.qml  View/qmldir
      
      View/+desktop:
      Controller.qml  FocusFrame.qml  FocusPoint.qml  FramedImage.qml  SectionPage.qml
      
      View/+mobile:
      ContentArea.qml  Controller.qml  FocusFrame.qml  FocusPoint.qml  SectionPage.qml  TabBarView.qml
      

      He did not understand the +desktop or +mobile subdirectory.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            misery André Klitzing
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes