pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48763: qt4: qsound not working on NetBSD



>Number:         48763
>Category:       pkg
>Synopsis:       qt4: qsound not working on NetBSD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 26 13:00:00 +0000 2014
>Originator:     Thomas Klausner
>Release:        NetBSD 6.99.40
>Organization:
Curiosity is the very basis of education and if you tell me that 
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:
        
        
Architecture: x86_64
Machine: amd64
>Description:
qsound audio support in qt4 does not work on NetBSD.

>How-To-Repeat:
Take a qsound example program like this one:

#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();
}

(from https://bugreports.qt-project.org/browse/QTBUG-34639)

Supply a chat1.wav like
https://bugreports.qt-project.org/secure/attachment/35934/chat1.wav

Compile it with
g++ -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/ -L/usr/pkg/qt4/lib 
-Wl,-R/usr/pkg/qt4/lib -o qsound qsound.c  -lQtCore -lQtGui

and run it. Hear nothing.
>Fix:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index