Hi,

I start to test a socket application (tripserver from "C++ GUI PROGRAMMING WITH QT4"), but, when I type make command I have this message:

massimiliano@nowire:~/lavoro/cvs/openshowvarqt4prove/simpleserver$ make
/usr/bin/uic-qt4 simpleserverwindow.ui -o ui_simpleserverwindow.h
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 main.o main.cpp
In file included from main.cpp:2:
simpleserver.h:2:22: error: QTcpServer: No such file or directory
simpleserver.h:3:22: error: QTcpSocket: No such file or directory

In the .h file I have:

Qt Code:
  1. #include <QTcpServer>
  2. #include <QTcpSocket>
To copy to clipboard, switch view to plain text mode 

I have no problem whit the other Q class include.

nowire