For reference, I'm using Mandrake 9.0.
My current understanding is the following:
QT: a software package written in c++ that defines a number of classes and objects to make possible a GUI together with all of the API calls needed to use that GUI.
KDE: a software package that builds on QT and that makes possible an even more powerful GUI. Comes with its own API calls over and above those for QT.
All programs that run under KDE need to hook into KDE by using KDE's and QT's APIs. To do so, when they are compiled, they need to be given what are called QTDIR and KDEDIR environment variables, so that the compiler will be able to properly set up the API calls that need to be in the program's executable file.
This all sounds good in general but it all falls apart when getting into specifics because I have yet to get any source code that I have downloaded to even compile.
First, what specifically and in detail, are QTDIR and KDEDIR? Do I need the source code for QT and KDE and those variables point to whatever subdirectories I put the source code in? Or are simple compiled libraries with header files sufficient? In the case of QT, I was able to find a directory specific to QT that had header files in it but found nothing similar for KDE. Second, where do I set the QTDIR and KDEDIR variables (i.e. in the Linux environment or in the makefile for the program that I want to compile)? I have tried both and have gotten neither to work, possibly because they are pointing to the wrong directories.
Details on the problems that I am having can be found in
another Linux Questions thread.