LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kde, qt development packages (https://www.linuxquestions.org/questions/linux-newbie-8/kde-qt-development-packages-345121/)

kite10linux 07-20-2005 04:05 PM

kde, qt development packages
 
Red Hat 9.0 - new user
KDE 3.3.1 with ?? Qt installed

How can I find out if the KDE and Qt Development packages ("headers") have been installed? What is the command line syntax to use, and what is the expected result?

Also, how can you find out what version of KDE you are running from the command line as well? Going to the menu bar, you can right click with the mouse and select About KDE which tells you what version, but can you also do that from the command line?

Please help.

leonscape 07-20-2005 05:23 PM

you can get the versions by doing

kde-config --version

This should report the versions of QT and KDE.

To find out if you have the headers installed try

ls /usr/include/kde/

If it doesn't find the directory you don't have the headers.

kite10linux 07-20-2005 08:33 PM

Thanks.

The response was: Qt 3.1.1
KDE 3.1-10
kde-config 1.0

How would I have been able to find the command line command to use "kde-config --version" ?

Also, if I was able to see the ".h" files in the /usr/include/kde directory, does that mean that the headers are installed? I am assuming "yes". The next question, is how can I verify that those headers are for KDE 3.1-10 and not a previous KDE version? or Qt version?

BTW - neat quote after your reply

leonscape 07-21-2005 01:03 AM

Other command lines can be found to use with kde-config would be

kde-config -- help

This is how you find out what parameters for other commands as well. ( usually )

kite10linux 07-21-2005 01:43 AM

To clarify, how would I have found the command "kde-config" and not what other optoins to use with that command?

leonscape 07-21-2005 02:47 PM

I found the kde-config command because I'm one of the developers of KDE, and some related programs, and it's used by my configure scripts to check which version of KDE I'm compiling against.

To find useful stuff about developing for KDE, try KDE Developers Corner.

kite10linux 07-21-2005 09:37 PM

Thanks.

One of the developers of KDE?! Neat.
Will you be able to tell me how I can change the screen resolution in KDE 3.1? Do I need to be root? I have posted a question on it here (in games, for playing zgalaga in different screen resolution) but nobody seemed to know how to do that. The KDE Control Center just had appearance controls but not screen resolution.

leonscape 07-24-2005 01:03 PM

If you go into the Control Centre -> Prephirals -> Display.

You can change the resolution there. You can also make sure it goes to that resolution at start up, and also you can activate a systray application to change the rsolution.

Since your on 3.1 I can't remeber if it this was in at the point.

kite10linux 07-24-2005 06:11 PM

Thanks.
From the Control Center -> peripherals, what I see is only digital camera, mouse, keyboard, and printers. No display option. Is it in a later port of KDE than 3.1-10?

Is there a command that I can run to call the display settings GUI, if there is one?

Also, another questions that I had, if you know the answer is: how can I use my USB camera with KDE? When I start the Control Center - peripherals - digital camera setting, it responds with "loading..." and then just a blank screen. It is an IBM webcam - USB (plug-n-play for Windows)

leonscape 07-25-2005 01:10 PM

You probably need an update, KDE is currently at 3.4 which has quite a few bits of pieces ( as well as being faster ) than whats in 3,1. If it doesn't appear in the Control Centre you don't have it Sorry.

AS for the webcam you probably need a kernel module for the USB system, to support your web cam. probably the ibmcam Link here..

See if you can get it from Redhat.

kite10linux 07-25-2005 08:17 PM

Thanks.

ravee 08-13-2005 09:59 PM

leonscape,
How do I find the path where org.kde.qt package is located ? I found that you can use kdevelop to program in java. And one of its wizard is importing this package. But I get error while compiling.

I have Sun's java installed in Linux

Thanks in advance
Ravi

leonscape 08-14-2005 10:43 AM

Your probably looking for the kdebindings-java package.


All times are GMT -5. The time now is 08:10 AM.