I am using Qt
and QTcpSocket
to create a small chat client/server application.
When I compile my code, the compiler returns the following error:
main.cpp:3:22: fatal error: QTcpSocket: No such file or directory
This refers to #include <QTcpSocket>
.
Where is this library located and how can I install it?