Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.0 Beta1
-
None
-
-
dd11f6d0527bfac17d855909397f66fe816a0d1f
Description
testcase
#include <QApplication> #include <QSound> #include <QPushButton> #include <QDialog> int main(int argc, char *argv[]) { QApplication app(argc, argv); QDialog dlg; QPushButton btn("Push me!", &dlg); QSound snd("chat1.wav"); QObject::connect(&btn, SIGNAL(clicked()), &snd, SLOT(play())); dlg.show(); return app.exec(); }
It works with Qt-4.8.5 but with Qt-5.2.0 I hear nothing.