The code is following;
#include<qapplication.h>
#include<qnetwork.h>
#include<qurloperator.h>
#include<qhttp.h>
int main( int argc, char ** argv )
{
QApplication a( argc, argv );
qInitNetworkProtocols();
QUrlOperator op( "http://www.trolltech.com" );
op.get( "index.html" );
a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) );
return a.exec();
}
It is not giving any error; but it is not displaying anything.
Help me please.
Anurag Shukla
Bookmarks