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

Q_OS_ANDROID doesn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 4.0.2
    • Android Support
    • None
    • Qt Creator 4.0.2
      Qt 5.7

    Description

      In a Qt Android project, Q_OS_ANDROID isn't defined.

      In the image attached, can see an Android project and the code inside Q_OS_ANDROID is disabled.

      If changed for _ANDROID_ it detects the code.

      Attachments

        1. __ANDROID__.PNG
          __ANDROID__.PNG
          57 kB
        2. include_gtglobal_invalid.PNG
          include_gtglobal_invalid.PNG
          24 kB
        3. include_gtglobal.PNG
          include_gtglobal.PNG
          24 kB
        4. OneInclude.PNG
          OneInclude.PNG
          13 kB
        5. OnlyIfdef.PNG
          OnlyIfdef.PNG
          13 kB
        6. Q_OS_ANDROID.PNG
          Q_OS_ANDROID.PNG
          54 kB
        7. Q_OS_WIN_2.PNG
          Q_OS_WIN_2.PNG
          21 kB
        8. Q_OS_WIN.PNG
          Q_OS_WIN.PNG
          21 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kosjar Nikolai Kosjar
            lqsa lqsa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes