Computing.Net > Forums > Linux > how to install qt?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

how to install qt?

Reply to Message Icon

Name: admiral
Date: May 8, 2004 at 14:20:58 Pacific
OS: win xp/linux
CPU/Ram: 256 megs
Comment:

how to install qt free last version? i tried to install it but i couldn t! i got an error message and, after some time i discover that i don t have the lib files! when i go to my /lib directory i got only a readme file that says: u have to build the libraries. how do i do that?

i m looking for a tutorial proper for linux newbies like me, something that explains the whole thing from the beginning...



Sponsored Link
Ads by Google

Response Number 1
Name: taurus
Date: May 8, 2004 at 15:03:05 Pacific
Reply:

Most Linux distros come with qt on the CD unless you want to upgrade to the latest version! And you are telling me that there is not even a single file in /lib??? It's hard to believe you still can run or boot your system with no library files in /lib! Which Linux distro are you talking about now since you didn't even bother to tell us?

taurus


0

Response Number 2
Name: admiral
Date: May 8, 2004 at 16:25:31 Pacific
Reply:

ok, let me explain. i am using kurumin a brazilian distro. i wanna upgrade my qt to the latest version (3.2 i guess) but when i unpack the compressed file in the qt directory i noticed that the lib directory is empty. i think the file i got doesn t have anything in the lib directory and now i would like to know if this is correct.

1 - where can i get these files?
2 - how to upgrade my qt?


0

Response Number 3
Name: Wolfbone
Date: May 8, 2004 at 17:43:37 Pacific
Reply:

The lib directory is empty because you haven't built the libraries. In general you must read the documentation in the text files supplied for instructions as to how to configure and compile the libraries,plugins and apps but in the case of QT, most of the work involves choosing the right configure options. Why you wish to do this, you have not said, but unless there is some application you need that absolutely depends on this version of QT *and* there is no binary package available for your distro, you should probably not be doing this.

QT builds in a non-standard and rather awkward manner and it is necessary also to disable any earlier version of QT you have by removing it from the library and binary search paths. I suggest you move the entire source tree to where you wish the libraries to reside when built eg. /usr/local/qt then cd into that directory and run './configure --help'. You may need to 'export QTDIR=$PWD' first and when you are sure which options you want then run 'configure' again with those options followed by 'make'. It will take a long time so it is important to get the options right first time. Finally you will need to add /usr/local/qt/lib to your /etc/ld.so.conf file and add /usr/local/qt/bin to your path and run ldconfig.

Note that anything you already run that depends on QT - such as the whole of KDE - will not work when you disable the current QT libraries and will almost certainly not work with the new version you build.


0

Response Number 4
Name: admiral
Date: May 8, 2004 at 20:06:07 Pacific
Reply:

well, after all that u 've said i think i ll leave qt as it is.

u know, i downloaded ktouch (ktouch.sourceforge.net)and to compile and run it i need qt 3.2 and kde 3.2.2 but i think i ll look for a earlier version and run it in my old qt and kde 3.1.

i ll not upgrade qt anymore. sounds to complicated and too dangerous to my computer.

i ll just leave it as it is.

but thanks for the help.


0

Response Number 5
Name: Wolfbone
Date: May 8, 2004 at 21:21:00 Pacific
Reply:

ktouch is in the kdeedu package which should already be supplied with your distro.


0

Related Posts

See More



Response Number 6
Name: admiral
Date: May 9, 2004 at 08:09:54 Pacific
Reply:

it should, indeed, but i have the "lite version" of kurumin (the distro) and it doesn t have ktouch, it only gave u an option to download it but it doesn t work with me.

but there is no problem, i ll get the full version.i can do it in no time, and i need to upgrade my distro, anyway.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: how to install qt?

How to install a Zip Drive, Floppy Disk, CD-ROM and a CD-RW www.computing.net/answers/linux/how-to-install-a-zip-drive-floppy-disk-cdrom-and-a-cdrw/90.html

How to Install Linux on Windows XP Home www.computing.net/answers/linux/how-to-install-linux-on-windows-xp-home/8351.html

how to install qpopper in redhat 7.0 www.computing.net/answers/linux/how-to-install-qpopper-in-redhat-70/12482.html