g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o chatdialog.o chatdialog.cpp
In file included from chatdialog.h:28,
from chatdialog.cpp:26:
client.h:27:27: error: QAbstractSocket: No such file or directory
client.h:29:24: error: QHostAddress: No such file or directory
In file included from client.h:31,
from chatdialog.h:28,
from chatdialog.cpp:26:
server.h:27:22: error: QTcpServer: No such file or directory
server.h:32: error: expected class-name before ‘{’ token
server.h:32: warning: ‘class Server’ has virtual functions but non-virtual destructor
client.h:44: error: expected ‘,’ or ‘...’ before ‘&’ token
client.h:44: error: ISO C++ forbids declaration of ‘QHostAddress’ with no type
client.h:53: error: ‘QAbstractSocket’ has not been declared
client.h:53: error: expected ‘,’ or ‘...’ before ‘socketError’
client.h:62: error: ‘QHostAddress’ was not declared in this scope
client.h:62: error: template argument 1 is invalid
make: *** [chatdialog.o] Błąd 1
Bookmarks