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

Make qmake support dynamic spec selection

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.0.0 Beta 1
    • 4.0.0
    • Build tools: qmake
    • None
    • 14bbab09c158e3eb54169b42c4a303d396a32f0e

      If you don't pass a -spec argument to qmake, the default target spec is used. In order to support host builds outside of qtbase when cross-compiling, there should be a way to select the host spec instead. For example, qmake could recognize a magic comment in the .pro file itself:

      #pragma spec:default-host
      TARGET=lrelease
      ...
      

      Such a generic solution would also allow us to get rid of the hard-coded spec selection in the configure script (which tends to grow stale).

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

            buddenha Oswald Buddenhagen
            kenthans Kent Hansen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes