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

QtWebEngine fails to build when an older Qt5 version is present in the install location

    XMLWordPrintable

    Details

    • Commits:
      917e78fb8848b9e31c81d6d4b0286ee23c0a84f1

      Description

      This has already been discussed on the interest ML:

      Building all of Qt 5.4 in a single configure step followed by a single "make" step leads to headerfile confusion when building QtWebEngine if an older (pre 5.4) Qt version has been installed using the same "-headerdir".

      It turns out that this is because qtwebengine/src/core/core_gyp_generator.pro adds that location to the headerfile search path to be used while building, apparently a left-over from Qt 5.2 days when QtWebEngine was not yet shipped with the rest of Qt.
      As admitted by a comment just above the INCLUDEPATH statement:

      1. something fishy with qmake in 5.2 ?

      I'm attaching a patch that resolve the issue by removing QT_INSTALL_HEADERS from said INCLUDEPATH statement. This turns out to be unnecessary, at least when building with specifying just about all -*dir options.

        Attachments

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

          Activity

            People

            • Assignee:
              mibrunin Michael Bruning
              Reporter:
              rjvbertin René Bertin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes