[Interest] download a file form http
Sivan Greenberg
sivan at omniqueue.com
Thu Jul 5 10:03:18 CEST 2012
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 <tony at 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 at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
--
-Sivan
More information about the Interest
mailing list