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
This is often caused by not linking the files generated by automoc.
First, you need to run automoc on the headers where classes using Q_OBJECT are defined, in your case "httpproxythreadbrowser.h". This will generate a "*.moc" file.
Now there are two common approaches how to continue. Either you can #include the .moc file at the end of your .cpp file with class definition or you can pass it to the compiler as anoher source file.