[Qt-interest] #include <QFtp> --- No such file or directory

Miguel Cardenas mfcardenas at gmail.com
Wed Jan 27 22:00:45 CET 2010


Hello

I am trying to build a very simple ftp client using QFtp but the compiler
says

     error: QFtp: No such file or directory

I have this simple .PRO

------------------------------------
TEMPLATE = app
TARGET = qFtp

SOURCES =       qFtp.cpp

CONFIG += qt network thread warn_on release
------------------------------------

Note that I have the network module instaled and QFtp is already there

     $ find Qt-4.5.1/ -name *QFtp*
     Qt-4.5.1/include/QtNetwork/QFtp

If I do

     #include <QtNetwork/QFtp>

then the program compiles, but the documentation tells to

     #include <QFtp>

but it does not work... Perhaps I need to specify something else on the .PRO
file, but currently I have a program that uses QHttp and has nothing special
else and it is compiling...

Any idea on what is going on?

Notes:
- I have installation at /usr/local/Trolltech/Qt4-version with link to
simply Qt4 and all variables working


Thanks for any help!


-- 
Miguel Cardenas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100127/e210593a/attachment.html 


More information about the Qt-interest-old mailing list