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

configure/qmake fails when cross-compiling

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 5.9, 5.10
    • Fix Version/s: 5.10.0 Alpha
    • Component/s: Build System
    • Labels:
      None
    • Commits:
      190aa94be7f5e146bef44862b974d733755cec85

      Description

      With qtbase from the 5.9 branch and the boot2qt cross-compilation setup, the configure step fails when called from qt5:

      Command line: -R . -openssl -device linux-imx6-g++ -device-option CROSS_COMPILE=/home/qt/work/b2qt/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option 'DISTRO_OPTS=hard-float boot2qt' -sysroot /home/qt/work/b2qt/toolchain/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi -extprefix /home/qt/work/install -mysql_config /home/qt/work/b2qt/toolchain/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/bin/mysql_config -psql_config /dev/null -tslib -no-xcb -opensource -confirm-license -nomake tests -verbose -prefix /home/qt/work/install -release -nomake examples
      Project ERROR: Cannot run compiler 'g++'. Maybe you forgot to setup the environment?
      

      This is visible also in https://testresults.qt.io/coin/integration/qt/qt5/tasks/1502284291 in full detail.

        Attachments

        1. log.txt.2803
          91 kB
        2. log.txt.2804
          5 kB
        3. log.txt.2805
          7 kB

          Issue Links

          For Gerrit Dashboard: QTBUG-62434
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              buddenha Oswald Buddenhagen
              Reporter:
              shausman Simon Hausmann
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes