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

Windeploy QT does not copy QtQuick\Controls\Styles\Base files (and others)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.7.1
    • None
    • * Windows 7 64bits
       * MinGW
       * Qt 5.7.1

      Hi, I had issues when deploying with windployqt an application using QuickControls V1, (but issue may be for others).

      The result of deployement does not contains subfolders of QtQuick\Controls\Styles\ (Base, Desktop). It only contains Flat.

      My application starts 4 times on 5, the 5th I have QML engine error "QtQuick\Controls\Styles\Base\ButtonStyle.qml not found". I use this style in my QML file.

      I don't know why the engine is working 4 times on 5 but I know why the folders Base and Desktop are not copied.

      Windeployqt, in utils.h lines 314-326 removes just created folders if they do not contains qmldir or .qmltypes files.

      I don't really know if it's a Windeploy issue, a QuickControl V1 declaration issue or an issue in QMLEngine (regarding the 4 times on 5 success...).

       

      I only know that when copying the missing Styles\base folder the engine is OK 5 times on 5.

       

      I reproduced the "no styles\base folder" issue on a very simple QuickControl V1 application, but tjis one seems to start everytime (tested 20 times....)

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

            kleint Friedemann Kleint
            walter.k. walter koenig
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes