Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 552376 - media-video/smplayer - qtsingleapplication/qtlocalpeer.cpp:160:19: error: variable 'QDataStream ds' has initializer but incomplete type
Summary: media-video/smplayer - qtsingleapplication/qtlocalpeer.cpp:160:19: error: var...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: PATCH
Depends on: 487544
Blocks:
  Show dependency tree
 
Reported: 2015-06-17 09:36 UTC by Helmut Jarausch
Modified: 2015-07-01 05:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
QDataStream patch (smplayer-14.9.0.6966-qdatastream.patch,367 bytes, patch)
2015-06-17 09:36 UTC, Helmut Jarausch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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).