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

qmlimportscanner cannot find files with +selector

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.2.5, 6.3.1, 6.4.0 Beta2
    • Fix Version/s: 6.5
    • Component/s: QML: Tooling
    • Labels:
    • Platform/s:
      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

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes