I did build Qt4.3.4 as per the insturctions in the site ...
http://wiki.qtcentre.org/index.php?t...c_applications
what i did ...
=> downloaded the Qt4.3.4 soure code ( for Linux )from Trolltech site
=> created a seperated directory for like this in my home directory
Qt-4.3.4_Static
=> typed the following commands
1) cd Qt-4.3.4_Static [ for switching to Qt-4.3.4_Static ]
2) ./configure -static -release -qt-zlib -qt-gif -qt-libpng -qt-libmng -qt-libjpeg
3) make sub-src
4) su
5) make install_qmake
6) make install_mkspecs
Now system created directory - "Trolltech/Qt-4.3.4/" - inside /usr/local .
Now i want to set the PATH variable like this in /etc/profile ..
....is it ok ...??Qt Code:
PATH = "/home/myname/Qt-4.3.4_Static/bin: $PATH"To copy to clipboard, switch view to plain text mode
My doubt is if in future if i want to use shared library of Qt4 ( which was default in Opensuse ) ,which is the path i need to update in the PATH variable ...?? ( because the default path of the default version of Qt4 in Opensuse is /usr/lib/qt4 ,and there is NO bin folder inside this qt4 )
Please tell me how to switch to "Shared Qt4 Library" and "Static Qt4 Library" ...??
Thanks in advance




Reply With Quote
Bookmarks