Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-13769

Path to Layouts is missing in Arguments to qmlprojectexporter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • QDS 4.6.0
    • MCU support
    • None
    • Windows

      C:/Qt/QtMCUs/2.8.0/include/qul/Layouts is missing by default in Arguments to Qt for MCUs Deploy Step.

      This causes the following deployment error, if there is "import QtQuick.Layouts" in any of the QML files in the project.

      C:/Users/81808/Downloads/MissingQtQuickLayouts/Screen01.ui.qml:11:1: error: The module 'QtQuick.Layouts' could not be found in the include paths.
      import QtQuick.Layouts 

      The workaround is to manually modify this:

      C:/Users/81808/Downloads/MissingQtQuickLayouts/MissingQtQuickLayouts.qmlproject --platform qt --toolchain mingw --include-dirs "C:/Qt/QtMCUs/2.8.0/include/qul,C:/Qt/QtMCUs/2.8.0/include/qul/Timeline,C:/Qt/QtMCUs/2.8.0/include/qul/Shapes" 

      to this in Arguments (adding C:/Qt/QtMCUs/2.8.0/include/qul/Layouts):

      C:/Users/81808/Downloads/MissingQtQuickLayouts/MissingQtQuickLayouts.qmlproject --platform qt --toolchain mingw --include-dirs "C:/Qt/QtMCUs/2.8.0/include/qul,C:/Qt/QtMCUs/2.8.0/include/qul/Timeline,C:/Qt/QtMCUs/2.8.0/include/qul/Shapes,C:/Qt/QtMCUs/2.8.0/include/qul/Layouts"

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

            thohartm Thomas Hartmann
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes