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

Please add QMAKE_HOST to the qmake documentation

    XMLWordPrintable

Details

    • 32a9ef32df0c58674c74be468f2b7815993bdfcb

    Description

      There is no mention of the QMAKE_HOST variable in the existing qmake documentation. It has been posted on the Qt Developer Network FAQ so it's a bit embarrassing that this is not actually visible anywhere in either the online documentation or Assistant.

      Suggested text:-
      --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      You can use QMAKE_HOST.arch for this. The QMAKE_HOST variable expresses host information about the machine running qmake and QMAKE_HOST.arch allows you to determine the target architecture. You can use it as follows:

      win32-g++:contains(QMAKE_HOST.arch, x86_64):{
      do something
      }

      --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

      Attachments

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

        Activity

          People

            sgaist Samuel Gaist
            cattell Matthew Cattell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes