Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error to compile qtlocalpeer #7

Open
simonbcn opened this issue Dec 30, 2015 · 1 comment
Open

Error to compile qtlocalpeer #7

simonbcn opened this issue Dec 30, 2015 · 1 comment

Comments

@simonbcn
Copy link

Gentoo 64 bits
QMake version 3.0
Using Qt version 5.5.1 in /usr/lib64
....
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DNATIVE_ASEMAN_NOTIFICATION -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../Berry -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o qtlocalpeer.o ../asemantools/qtsingleapplication/qtlocalpeer.cpp
../asemantools/qtsingleapplication/qtlocalpeer.cpp: In member function 'bool QtLocalPeer::sendMessage(const QString&, int)':
../asemantools/qtsingleapplication/qtlocalpeer.cpp:164:19: error: variable 'QDataStream ds' has initializer but incomplete type
     QDataStream ds(&socket);
                   ^
../asemantools/qtsingleapplication/qtlocalpeer.cpp: In member function 'void QtLocalPeer::receiveConnection()':
../asemantools/qtsingleapplication/qtlocalpeer.cpp:181:26: error: variable 'QDataStream ds' has initializer but incomplete type
     QDataStream ds(socket);
                          ^
Makefile:1319: recipe for target 'qtlocalpeer.o' failed
make: *** [qtlocalpeer.o] Error 1
@dominikfuchs
Copy link

Solution is to add #include into qtlocalpeer.cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants