Thanks for all of the replies, how do I then make the MOC step happen before everything else in Qt creator or by plainly using qmake? (letting qmake "do the right thing" did not work).
Thanks again! -Sivan On Thu, Jul 5, 2012 at 10:23 AM, Tony Rietwyk <t...@rightsoft.com.au> wrote: > >> Sent: Thursday, 5 July 2012 4:54 PM >> >> Hello, >> >> I'm trying to use this: >> >> http://doc.qt.nokia.com/4.7-snapshot/network-download-main-cpp.html >> >> As a base point for downloading files over the network (surprisingly, > there's >> no such support in built to Qt) I merely found this piece of html file. > Could >> someone show me to the whole example? or otherwise, even better , >> provide a snippet that'd do that without strange things like ""include >> "moc.h""" at the end of the file? :) >> >> THanks! >> >> -Sivan > > Including the moc output in the cpp file is common practise, as it saves > qmake generating an extra step to compile the moc separately. Of course, > it relies on the moc step preceding the cpp compile in the build! > > Hope that helps, > > Tony. > > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest -- -Sivan _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest