Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator Build Sound
QtWS25 Last Chance

Qt Creator Build Sound

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
7 Posts 5 Posters 292 Views
  • 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.
  • R Offline
    R Offline
    RacerGod
    wrote on 10 Jan 2025, 07:26 last edited by
    #1

    How can I configure Qt Creator to play a sound notification when it finishes compiling a project, so I get an audible cue when my build is ready?

    1 Reply Last reply
    0
    • C Christian Ehrlicher moved this topic from General and Desktop on 10 Jan 2025, 08:21
    • C Offline
      C Offline
      cristian-adam
      wrote on 10 Jan 2025, 16:01 last edited by
      #2

      I found this plugin https://github.com/yeckel/SoundOnBuild which does exactly this.

      The bad part is that it was made 10 years ago.

      1 Reply Last reply
      1
      • A Offline
        A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on 11 Jan 2025, 11:53 last edited by
        #3

        @RacerGod You could add a custom build step (either in qmake / CMake or in Creators project setting) that starts a player with that sound.

        Qt has to stay free or it will die.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SimonSchroeder
          wrote on 13 Jan 2025, 08:25 last edited by
          #4

          I'm not entirely sure if Qt Creator supports this in their integrated console, but you can try just echoing the character \a to the console. This character is known as 'bell' (though the 'a' stands for 'alert').

          C 1 Reply Last reply 13 Jan 2025, 16:28
          0
          • S SimonSchroeder
            13 Jan 2025, 08:25

            I'm not entirely sure if Qt Creator supports this in their integrated console, but you can try just echoing the character \a to the console. This character is known as 'bell' (though the 'a' stands for 'alert').

            C Offline
            C Offline
            cristian-adam
            wrote on 13 Jan 2025, 16:28 last edited by
            #5

            @SimonSchroeder It's supported, see https://doc.qt.io/qtcreator/creator-reference-terminal-view.html#terminal-preferences at the ☑️ Audible bell

            But it's nothing like an explicit sound like the plugin's wav file above https://github.com/yeckel/SoundOnBuild/blob/master/kids-cheer-01.wav

            J 1 Reply Last reply 13 Jan 2025, 17:27
            0
            • C cristian-adam
              13 Jan 2025, 16:28

              @SimonSchroeder It's supported, see https://doc.qt.io/qtcreator/creator-reference-terminal-view.html#terminal-preferences at the ☑️ Audible bell

              But it's nothing like an explicit sound like the plugin's wav file above https://github.com/yeckel/SoundOnBuild/blob/master/kids-cheer-01.wav

              J Offline
              J Offline
              JonB
              wrote on 13 Jan 2025, 17:27 last edited by
              #6

              @cristian-adam
              But on finishing a build I want a symphony to be played. Not just any symphony, I want an AI to compose a new symphony to play after each build.... :)

              1 Reply Last reply
              2
              • C Offline
                C Offline
                cristian-adam
                wrote on 16 Jan 2025, 17:01 last edited by
                #7

                There is another plugin that does what you expect: https://github.com/vivaladav/SIGBUILD

                A Qt Creator plugin to get notified when your builds terminate and to track their stats.

                Project Status

                Currently the plugin is usable and the project is under development with regular releases to update it to the latest major version of Qt Creator.

                People who want to start to use SIGBUILD need to build it from scratch following the instruction in the Development section.

                Because of the current status of the project, it's guaranteed only that SIGBUILD will work >with the latest version of Qt Creator. Previous versions are likely to work too, but they are >not officially supported, so please do not create issues for them.

                Current features

                • Systray notifications
                • Audio notifications
                • Latest build info
                • Session log
                • Full Qt Creator options
                1 Reply Last reply
                1

                5/7

                13 Jan 2025, 16:28

                • Login

                • Login or register to search.
                5 out of 7
                • First post
                  5/7
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved