C++ Qt - QTcpSocket - File not found
You need
QT += network
in your .pro file. Otherwise the module in which those headers are defined/libraries are built won't be loaded.
You need
QT += network
in your .pro file. Otherwise the module in which those headers are defined/libraries are built won't be loaded.