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

configure does not error out with -xcb when deps are not satisfied

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.0 Beta 4
    • 5.11.0 Beta 2
    • Build System
    • None
    • 436a6fbb835906e1c62a11dfc7de61461ec767b0

    Description

      While testing https://codereview.qt-project.org/#/c/223880/ I found that configure ignores "-xcb" (explicit request for xcb plugin). When deps are not met we don't get an error like:

      "ERROR: Feature 'xcb' was enabled, but the pre-condition 'libs.xcb' failed."

      Build completes successfully, but XCB plugin obviously was not built because of the missing deps at configure time. This probably affects other platforms as well.

      Also printing in "QPA backends" section could be improved. In the broken use case from the above we don't get a line for "X11: yes/no" at all.

      Attachments

        For Gerrit Dashboard: QTBUG-67251
        # Subject Branch Project Status CR V

        Activity

          People

            buddenha Oswald Buddenhagen
            paeglis Gatis Paeglis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes