These days I have a task about building a GUI for SFTP (one FTP software built ourselves ).
So I choose QT and learn to use it :)
First, download the tarball "qt-x11-opensource-src-4.5.1.tar.gz" & "qt-creator-1.1.0-src.zip"
Second, tar and install the qt-x11 as follow:
Tar-xzvf qt-x11-opensource-src-4.5.1.tar.gz </P> <p> Cd qt-x11-opensource-src-4.5.1.tar.gz </P> <p>. /configure -- prefix =/usr/local/QT </P> <p> (if you choose the root Dir, you shoshould type 'sudo' while make and make install) </P> <p> sudo make install <br/>
Third, set QT environment VaR at. Profile
Qtdir =/usr/local/QT <br/> Path = $ qtdir/bin: $ PATH <br/> manpath = $ qtdir/man: $ manpath <br/> LD_LIBRARY_PATH = $ qtdir/lib: $ LD_LIBRARY_PATH </P> <p> export qtdir path manpath LD_LIBRARY_PATH
Up to now, we can use command 'qmake-project' and 'qmake' to create a makefile of QT project and make it. next I will show you how to install and use QT-creater, bye :)