Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    How to Beep with the hummer in Windows computer

    General and Desktop
    2
    6
    2027
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lib0855 last edited by

      i need the mother board beep as i donot have a audio device. i know the QApplication:beep() function, but it donot work. who can help me?

      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by mrjj

        @lib0855 said:

        QApplication:beep()

        Hi and welcome

        What OS are you using ?

        Beep is not always supported and often beep will play on your connected speakers instead of the internal one.
        https://msdn.microsoft.com/en-us/library/windows/desktop/ms679277(v=vs.85).aspx
        http://blogs.msdn.com/b/larryosterman/archive/2010/01/04/what-s-up-with-the-beep-driver-in-windows-7.aspx

        So are you sure your MB even have an internal speaker ?

        L 2 Replies Last reply Reply Quote 1
        • L
          lib0855 @mrjj last edited by

          @mrjj the MB speaker works well, and the OS is windows xp 32-bit. i learn the reason the MB speaker not work. thanks

          1 Reply Last reply Reply Quote 0
          • L
            lib0855 @mrjj last edited by

            @mrjj i tried the Beep(DWORD, DWORD) in the OS windows 7, but havenot tried in my windows xp computer. So much thanks!

            1 Reply Last reply Reply Quote 0
            • mrjj
              mrjj Lifetime Qt Champion last edited by

              Ok, Good luck with your beeping :)

              As a side note, if you some day really need sound, one can get a usb sound card
              for very little money.
              Like
              http://www.amazon.com/Plugable-Headphone-Microphone-Aluminum-Compatibility/dp/B00NMXY2MO/ref=pd_sim_23_4?ie=UTF8&refRID=1ESBC0SA8R1V717G8NRC

              L 1 Reply Last reply Reply Quote 0
              • L
                lib0855 @mrjj last edited by

                @mrjj Got it. Thanks!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post