Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 552376

Summary: media-video/smplayer - qtsingleapplication/qtlocalpeer.cpp:160:19: error: variable 'QDataStream ds' has initializer but incomplete type
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal CC: media-video, rhill
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=548470
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 487544    
Bug Blocks:    
Attachments: QDataStream patch

Description Helmut Jarausch 2015-06-17 09:36:50 UTC
Created attachment 405274 [details, diff]
QDataStream patch

media-video/smplayer-14.9.0.6966 (as well as version 14.9.0.6690-r3
need the attached patch since they fail to compile:

qtsingleapplication/qtlocalpeer.cpp: In member function 'bool QtLocalPeer::sendMessage(const QString&, int)':
qtsingleapplication/qtlocalpeer.cpp:160:19: error: variable 'QDataStream ds' has initializer but incomplete type
     QDataStream ds(&socket);


This is with gcc-5.x, at least.
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2015-06-17 13:13:45 UTC
It would be better to use the system copy of qtsingleapplication, if possible...
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2015-06-28 03:53:45 UTC
No problem compiling here.  Use flags?
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2015-06-29 11:18:25 UTC
(In reply to Ryan Hill from comment #2)
> No problem compiling here.  Use flags?

I don't think it's related to gcc-5.1, but rather to Qt >= 5.5

https://codereview.qt-project.org/111954
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2015-07-01 05:45:51 UTC
+  01 Jul 2015; Ben de Groot <yngwin@gentoo.org>
+  +files/smplayer-14.9.0.6966-unbundle-qtsingleapplication.patch,
+  +smplayer-14.9.0.6966-r1.ebuild:
+  Unbundle qtsingleapplication (bug #487544). Also fixes compilation with Qt 5.5
+  (bug #552376).