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

Cross building for Linux does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.14.0 RC1
    • 5.12.5
    • Build System
    • None
    • FreeBSD 12.0 with a cross gcc targeting Linux
    • Linux/X11, Other
    • c0bde0da812b2f63b40150ecc3278ff5c4537c40 (qt/qtbase/5.13)

    Description

      A cross build targeting linux-g++ does not work because CROSS_COMPILE isn't picked up.

      I successfully compiled Qt with -platform freebsd-clang -xplatform linux-g++ -device-option CROSS_COMPILE=x86_64-unknown-linux-gnu- using the attached patch against qtbase, although I'm unsure this is the correct place for the fix.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            zirias Felix Palmen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes