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

The "IOS" variable is not properly set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 8.0.1
    • iOS Support
    • None
    • iOS/tvOS/watchOS

    Description

      The "IOS" variable (https://cmake.org/cmake/help/latest/variable/IOS.html) is not properly set when compiling for iOS from QtCreator.

       

      if(CMAKE_SYSTEM_NAME STREQUAL "iOS")
          message("Got iOS system name") # OK
      endif()
      
      
      if(IOS)
          message("Is iOS") # NOT OK
      endif()

      Attachments

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

        Activity

          People

            con Eike Ziller
            Harald Meyer Harald Meyer
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes