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

qmlcachegen adds Windows paths when cross-compiling on Linux

    XMLWordPrintable

    Details

      Description

      When cross-compiling on Linux for a MingGW target, qmlcachegen adds Windows style environment variables (%PATH%) to PATH that breaks the build.

      cd /home/sapiippo/development/yocto/master/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-qtdeclarative/6.1.0-r0/build/src/imports/tooling && set PATH=/home/sapiippo/development/yocto/master/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-qtd
      eclarative/6.1.0-r0/recipe-sysroot/opt/poky/3.2+snapshot/sysroots/x86_64-w64-mingw32/usr/bin;%PATH% && /home/sapiippo/development/yocto/master/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-qtdeclarative/6.1.0-r0/recipe-sysroot-native/usr/bin/qmlcachegen -
      -resource-name quicktooling_qml_files_2.qrc=quicktooling_qml_files_2_qmlcache -o /home/sapiippo/development/yocto/master/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-qtdeclarative/6.1.0-r0/build/src/imports/tooling/.rcc/qmlcache/quicktooling_qml_files_2/
      qmlcache_loader.cpp @/home/sapiippo/development/yocto/master/build/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-qtdeclarative/6.1.0-r0/build/src/imports/tooling/.rcc/qmlcache/quicktooling_qml_files_2/qml_loader_file_list.rsp
      /bin/sh: line 0: fg: no job control
      ninja: build stopped: subcommand failed.

        Attachments

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

          Activity

            People

            Assignee:
            sapiippo Samuli Piippo
            Reporter:
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes