Lines 1-37
Link Here
|
1 |
Sent upstream: https://github.com/aarnt/octopkg/pull/4 |
|
|
2 |
|
3 |
commit 5f02bb3e504d1d3560ee5a7a3d7c0f90b25adac5 |
4 |
Author: Raphael Kubo da Costa <rakuco@FreeBSD.org> |
5 |
Date: Thu Jan 21 13:27:57 2016 +0100 |
6 |
|
7 |
QtSolutions: Fix build with Qt 5.5.1. |
8 |
|
9 |
Import commit ad9bc4600 to the qt-solutions git repository: |
10 |
QtSingleApplication: Fix build with Qt 5.5 due to the QDataStream |
11 |
include cleanup. |
12 |
|
13 |
This fixes the following error: |
14 |
|
15 |
src/QtSolutions/qtlocalpeer.cpp:159:17: error: variable has incomplete type 'QDataStream' |
16 |
QDataStream ds(&socket); |
17 |
^ |
18 |
/usr/local/include/qt5/QtCore/qglobal.h:570:7: note: forward declaration of 'QDataStream' |
19 |
class QDataStream; |
20 |
^ |
21 |
src/QtSolutions/qtlocalpeer.cpp:179:17: error: variable has incomplete type 'QDataStream' |
22 |
QDataStream ds(socket); |
23 |
^ |
24 |
/usr/local/include/qt5/QtCore/qglobal.h:570:7: note: forward declaration of 'QDataStream' |
25 |
class QDataStream; |
26 |
^ |
27 |
|
28 |
--- src/QtSolutions/qtlocalpeer.cpp |
29 |
+++ src/QtSolutions/qtlocalpeer.cpp |
30 |
@@ -40,6 +40,7 @@ |
31 |
|
32 |
#include "qtlocalpeer.h" |
33 |
#include <QtCore/QCoreApplication> |
34 |
+#include <QtCore/QDataStream> |
35 |
#include <QtCore/QTime> |
36 |
#include <QRegularExpression> |
37 |
|