Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-328

qmlprojectexporter: Layouts module not found error

XMLWordPrintable

      When trying to use qmlprojectexporter to export examples/layouts/mcu_layouts.qmlproject, the following error appears:

      /home/srodal/dev/qul-install/examples/layouts/GridLayout.qml:23:1: error: The module 'QtQuick.Layouts' could not be found in the include paths.
      import QtQuick.Layouts
      ^~~~~~

      It appears that qmlproject files using the Layouts module can't be exported.

      Command used:

      QUL_INSTALL=$HOME/Qt/QtMCUs/2.8.1
      VENDOR=st
      PLATFORM=stm32f769i-discovery-baremetal
      BOARD_DEFAULTS=BoardDefaults_32bpp
      SDK=$HOME/Qt/Tools/QtMCUs/STM/STM32Cube_FW_F7_V1.17.2
      PROJECT=$QUL_INSTALL/examples/layouts/mcu_layouts.qmlproject
      $QUL_INSTALL/bin/qmlprojectexporter $PROJECT --boarddefaults $QUL_INSTALL/platform/boards/$VENDOR/$PLATFORM/cmake/${BOARD_DEFAULTS}.qmlprojectconfig --toolchain gnu --platform $PLATFORM --outdir=$PWD/out --project-type cmake --board-sdk $SDK --verbose --include-ide-generated-hw-code --ide-sources-outdir $PWD/ide --generate-entrypoint
      

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

            sikrovel Sivert Krøvel
            srodal Samuel Rødal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes