NetBSD Problem Report #48763

From  Sat Apr 26 12:58:12 2014
Return-Path: <>
Received: from ( [])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id C7F81A5813
	for <>; Sat, 26 Apr 2014 12:58:11 +0000 (UTC)
Message-Id: <>
Date: Sat, 26 Apr 2014 14:58:04 +0200 (CEST)
From: Thomas Klausner <>
Reply-To: Thomas Klausner <>
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
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

Architecture: x86_64
Machine: amd64
qsound audio support in qt4 does not work on NetBSD.

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()));;
    return app.exec();


Supply a chat1.wav like

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.


NetBSD Home
NetBSD PR Database Search

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