PDA

View Full Version : SmartClient



yesraaj
22nd February 2007, 05:00
how to access the parameter passed via Url in Qt4

e8johan
22nd February 2007, 06:14
Use the QUrl class to access the individual parts of a given URL.

yesraaj
22nd February 2007, 07:17
i think qftp class is not a part of open source....
is that true ....
i cannot find any header file with Qftp name .....

jpn
22nd February 2007, 07:56
A quote from QtNetwork Module (http://doc.trolltech.com/4.2/qtnetwork#configuring-the-build-process) docs:


Applications that use Qt's networking classes need to be configured to be built against the QtNetwork module. The following declaration in a qmake project file ensures that an application is compiled and linked appropriately:
QT += network
This line is necessary because only the QtCore and QtGui modules are used in the default build process.

Rerun qmake after adding the above line to the .pro file. After that "#include <QFtp>" works.