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 packages | Assignee: | 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 |
It would be better to use the system copy of qtsingleapplication, if possible... No problem compiling here. Use flags? (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 + 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). |
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.