-   Programming (
-   -   A newbie question about C, Kdevelop and QT Designer (

stormrider_may 04-29-2006 11:01 AM

A newbie question about C, Kdevelop and QT Designer
I'm a 3 years php programmer which is trying to program in C for about 2 days :P
As i have already taken an 100 page basic tutorial (to learn syntax, how variables work etc) i would like to try some graphical programs.

Could someone explain to me what is Kdevelop and QT-Designer.

As i have seen, Kdevelop is a multi-language development program and QT-Designer is and IDE which, can be used for programing in C++. Is this correct?

If it is, so i should use QT-Designer to make my programs now?

Flesym 04-29-2006 12:23 PM

Well, actually QT-Designer is just a GUI Builder for applications based on QT. QT itself is a quite complex library written in C++; it is mostly used for GUIs but provides a lot of other things, too. Have a look at its homepage for more infos:
So you won't make whole programs with QT-Designer, but only their user frontends.

KDevelop on the other hand is a full IDE, so use this (or any other IDE, there are a lot of them) to develope your applications.

Oh, and another word on QT (just to avoid misconceptions): As I said, this is only a C++ library, so if you want to learn C, then this won't be the place to go.

stormrider_may 04-29-2006 02:35 PM


First of all, thanks for the answer. I'm not confused anymore about this. But, about KDevelop. Do i have to insall anything to have an IDE? I mean, i use Debian and install it using apt-get install kdevelop3. But i can only see something like an text editor. I don't know how to edit my program using the IDE.

exvor 04-29-2006 02:43 PM

Odd C is just a text file to begin with. Unless you were looking for an aplication builder or something. Maybe so?

Begining with C i wouldent recommend jumping directly to gui programming but others learn diffrently. Ive learned syntax a while back and just now starting to dive into creating linked lists , ques , and trees.

Flesym 04-29-2006 06:04 PM

An IDE is a collection of tools, that make software development easier. Actually all you really need is a text editor and a compiler, everything else is luxus and maybe part of an IDE; of course an IDE also has a text editor and uses a compiler. But the main-feature of an IDE probably is its project management. A project is a collection of source code files (that may depend on each other) as well as the settings to handle these. Without an IDE it may get very complex to compile/build a piece of software containing a lot of files an libraries. So an IDE should not only show you your files, but also provide an automated way to build it; i.e. through 'makefiles' and the corresponding programm 'make'.

What does all this mean? -It means: To use the power of an IDE you have to create a new project and add your source files into this. I don't use KDevelop so I don't know exactly how to set it up, but I guess, somewhere there is a menu entry like "New Project", or something like this. But if you want to use external libraries (like QT) you will also have to specify this in your project settings. The same is true for your compiler an its settings. All this maybe too much, if you do it the first time. So my advice is to search the web for a good KDevelop Tutorial (I'm sure that google will find one) an follow this to learn what's all about.

All times are GMT -5. The time now is 04:26 PM.