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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes