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

BlueZ-check during build is too unobtrusive

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.2, 5.7.1
    • 5.6.0
    • None
    • Problem observed on a RasPi2 with Raspian 8/Jessie - but should be valid for every linux build.

    Description

      When building Qt for Linux the BlueZ header files are required to enable the bluetooth functionality (libbluetooth-dev package on Debian). But this precondition is not documented (or the requirement is very well hidden in the documentation).
      Furthermore the check is not done during configure but during make and produces just a simple one-line message "Unsupported bluetooth platform, will not build a working QtBluetooth library" between of 25 MB of other compiler output.

      It's very hard to spot this problem if you just get a runtime warning that Qt does not support Bluetooth on your platform. So the check should be done during configure with a noticeable warning in the summary.

      Attachments

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

        Activity

          People

            ablasche Alex Blasche
            mic Michael Hanfland
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes