ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
KDE is based on the QT GUI framework. The new version of KDE (currently in development) is based on QT4, whereas the current KDE is based on the older version, QT3.
You have a choice of languages - which would you like to use. probably the most flexible and powerful is to use C++ since that is the native language of QT. However, there are quite complete bindings to other languages, for example python.
I'd start by searching for a tutorial of QT in the language you want to use, and once you know about QT, start to explore the KDE libraries.
That would be a good place to start. QT is a very nice framework - it's easy to learn and extremely powerful. Another very strong reason to try it is that is it cross platform. Once you have an app written in QT, it's easy to port it to the Mac or Windows. The current KDE is not cross platform, so if you use KDE features in your program, it won't be portable. However, KDE4 (the forthcoming version which uses QT4) will be portable. It will be interesting to see KDE running on a windows box.
My friend told me that I should learn C instead of c++, what should I do?
If you want to program for KDE, then learn C++, python and maybe ruby. C is not used very much in KDE although its the language of choice in GNOME and the Linux Kernel.
C++ is a superset of C, so if you learn C++, you're learning C into the bargain. That's probably not quite fair because C++ and C programs tend to have different designs, but if you're just interested in syntactical stuff, C++ will teach you basic C syntax.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.