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

QApplication::beep plays nothing on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.9.1
    • QPA: X11/XCB
    • None
    • Linux laptop 4.13.0-22-generic #25-Ubuntu SMP Tue Dec 19 11:13:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

    Description

      It just does nothing on my Kubuntu 16-17. I tried several 5.x versions.
      Afaik it should be a well-known problem.
      It works only after execution of:
      sudo modprobe pcspkr
      pcspkr isn't loaded by default on my system.

      Also QMediaPlayer doesn't provide any simple beep. I have to deploy an audio file with my app as I can't rely on existence of any hardcoded sound file on linux system.

      Attachments

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

        Activity

          People

            paeglis Gatis Paeglis
            truf Alexander Trufanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes