Bug 327455

Summary: Missing Phonon::operator<<(QDebug, Phonon::CaptureCategory const&) implementation
Product: [Frameworks and Libraries] Phonon Reporter: Pulfer <pulfer>
Component: generalAssignee: Harald Sitter <sitter>
Status: RESOLVED FIXED    
Severity: normal CC: martin.sandsmark, myriam, romain.perier
Priority: NOR    
Version: 4.7.0   
Target Milestone: 4.8   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.1
Attachments: Patch to fix the issue

Description Pulfer 2013-11-11 15:54:05 UTC
Rebuilding smokeqt after switching to phonon 4.7.0 I got this build error:

/builddir/build/BUILD/smokeqt-4.11.3/build/phonon/x_10.cpp:2052: error: undefined reference to 'Phonon::operator<<(QDebug, Phonon::CaptureCategory const&)'
collect2: error: ld returned 1 exit status

Looking at source code I found that "Phonon::operator<<(QDebug, Phonon::CaptureCategory const&)" implementation is missing.

Reproducible: Always
Comment 1 Pulfer 2013-11-11 15:55:07 UTC
Created attachment 83494 [details]
Patch to fix the issue
Comment 2 Harald Sitter 2013-11-11 16:21:03 UTC
Git commit 73b5d9628fa15890f78dec28653447596ab04539 by Harald Sitter.
Committed on 11/11/2013 at 16:20.
Pushed by sitter into branch '4.7'.

Add missing qdebug operator defintion.
FIXED-IN: 4.7.1

M  +6    -0    phonon/phononnamespace.cpp

http://commits.kde.org/phonon/73b5d9628fa15890f78dec28653447596ab04539
Comment 3 Harald Sitter 2013-11-11 16:21:47 UTC
Thanks for the patch.