Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-5917

Qt Creator hardcodes -spec linux-g++-32 for the qmake build step when using a cross-compiled Qt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 2.3.0-rc
    • None
    • Kubuntu 11.04 32bit, Qt Creator installed from qt-creator-linux-x86-opensource-2.3.0-rc.bin, Qt Lighthouse build from the latest 4.8 branch using Sourcery-G++

    Description

      The qmake build step created for a Qt project using a cross-compiled Qt version has "-spec linux-g++-32" hardcoded in the command line. This is incorrect as this is the host makespec, but we want the target makespec.

      The only way to work around this bug currently is to remove the qmake build step and add a Custom Process step, where the qmake command is ran without -spec argument, then the target makespec is automatically picked up. I'm wondering why the -spec argument is needed at all, qmake already know which default makespec to use.

      Attachments

        Issue Links

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

          Activity

            People

              hunger Tobias Hunger
              romain_kdab Romain Pokrzywka (KDAB) (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes