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 291 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.
  • RacerGodR Offline
    RacerGodR Offline
    RacerGod
    wrote on 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
    • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on
    • cristian-adamC Offline
      cristian-adamC Offline
      cristian-adam
      wrote on 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
      • aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on 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 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').

          cristian-adamC 1 Reply Last reply
          0
          • S SimonSchroeder

            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').

            cristian-adamC Offline
            cristian-adamC Offline
            cristian-adam
            wrote on 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

            JonBJ 1 Reply Last reply
            0
            • cristian-adamC cristian-adam

              @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

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on 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
              • cristian-adamC Offline
                cristian-adamC Offline
                cristian-adam
                wrote on 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

                • Login

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