NetBSD Problem Report #48763

From wiz@yt.nih.at  Sat Apr 26 12:58:12 2014
Return-Path: <wiz@yt.nih.at>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C7F81A5813
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 26 Apr 2014 12:58:11 +0000 (UTC)
Message-Id: <20140426125804.394AC2AC0CF@yt.nih.at>
Date: Sat, 26 Apr 2014 14:58:04 +0200 (CEST)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: qt4: qsound not working on NetBSD
X-Send-Pr-Version: 3.95

>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:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.