Is it somehow possible to set the application badge number using Qt?
This does not seem to be supported on Ubuntu just yet, but here you can find the Mac version:
void QtMac::setApplicationIconBadgeNumber(int number)
You can enable this add-on by putting this into your qmake project file:
QT += macextras