I am trying to write an Http proxy that basically works like indianwebproxy
So i fired up qtcreator and but one of my classes is failing to compile with the infamous
You can't copy QTcpSocket
s, so it may cause other cryptic errors if you try to pass them by copy rather than by address.
HttpProxyThreadBrowser(QTcpSocket * outgoingSocket,QTcpSocket * browserSocket,QObject *parent = 0);
private:
QTcpSocket* outgoingSocket;
QTcpSocket* browserSocket;
And completely recompiling your project may help, when you change header files, because qmake generated Makefile can sometimes fail to notice the changes.