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

ALSA autodetection fails for ALSA >= 1.1.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.1
    • 5.5.1, 5.6.0 RC
    • Build System, Multimedia
    • None
    • Debian Sid.

    Description

      Note: I don't think this really belongs to build system, but...

      Once again we in Debian have a newer version of a lib :-P (pun intended!)

      The problem basically boils down to the following lines in qtbase's config.tests/unix/alsa/alsatest.cpp:

      #if(!(SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 10))
      #error "Alsa version found too old, require >= 1.0.10"
      #endif
      

      The point is that the above macro fails with 1.1.0 even if the SND_LIB_MINOR's comparison is changed to >= as SND_LIB_SUBMINOR < 10.

      Edited because I pasted the workaround patch for testing that it builds fine with 1.1.x.

      Attachments

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

        Activity

          People

            ylopes Yoann Lopes
            lisandropm Lisandro Damián Nicanor Pérez Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes