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

Qt fails to compile to windows QNX build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P0: Blocker
    • None
    • 5.14.0
    • Build System, Core: Other
    • None
    • QNX, Windows

    Description

      https://code.qt.io/cgit/qt/qtbase.git/commit/src/corelib/global/qsystemdetection.h?h=5.14&id=9b8493314dd77f3e96b353187816bb7ef4dedbb5 added the line

      # if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)

      to /src/corelib/global/qsystemdetection.h.  QT_VERSION and QT_VERSION_CHECK are defined in qglobal.h, which is included via

      #ifndef QGLOBAL_H
      # include <QtCore/qglobal.h>
      #endif
      

      at the top of that file.

      The problem is that config.tests/arch/arch.cpp starts with:

      #define QGLOBAL_H
       #include "../../src/corelib/global/qsystemdetection.h"

      Thus qglobal.h is not included, the two macros are not defined, and the arch config test fails.

      It looks like CI didn't catch this, as QNX is only built from a Linux host.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            bstottle Brett Stottlemyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes