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

Provide a flag to windeployqt to skip raw .qml files

XMLWordPrintable

    • Windows

      One can build the sample and run "windeployqt --qmldir <QML path> <binary>". Since "Main.qml" imports Controls and custom MyModule, there are going to be those dirs under "qml" in installation location.

      The thing is that there are also .qml files being deployed which are not needed at all. One can remove all .qml files under "/qml" and nothing will break. All QML modules should have already been built into .dll libraries and raw .qml files are not needed here.

      Maybe there are use cases for those raw .qml files in instalaltion directory, but I think it makes sense to provide a flag to windeployqt to let user choose either they want to deploy .qml files.

        1. QTBUG141674.7z
          2 kB
          Luqiao Chen
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            owolff Oliver Wolff
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes