Proposals for the planned FAQ
Gregor Stipicic
gstipi at aon.at
Mon Dec 20 21:05:50 GMT 1999
Proposals for the planned FAQ, v0.1
******************************************************************************
The questions and answers are mainly taken from the
kdevelop mailing list (for this issue October 27th - November 12th, 1999).
December 20th, 1999
Author: Gregor Stipicic
Please excuse any spelling or grammar mistakes: unfortunately english
isn't my mother tongue.
Please feel free to make any suggestions and corrections.
*******************************************************************************
Q: I'm trying to compile KDevelop from source.
The configure-script refuses to find Qt, although QT-1.44 is installed.
Any clue ?
A: There are many ways which can lead to a solution:
1) Try to specify the directory where Qt is installed with
configure --with-qt-dir=<qtdir>, where <qtdir> is the mentioned
directory.
2) Try to find out if $QTDIR is set
(e.g. enter "set | grep 'QTDIR'" on the prompt)
If not, set QTDIR with either setenv or export (according to your shell)
to the directory where Qt is installed.
3) Take a look at the configure ouput and try to figure out if the X related
things couldn't be found. If so, try
"./configure --x-libraries=/usr/X11/lib --x-includes=/use/X11/include"
4) If you use a SuSE distribution figure out if the package "qtcompat" is
installed. If not, install it.
********************************************************************************
Q: During compilation of my current project I get the following error messages:
...
/usr/lib/libkfile.so: undefined reference to `KFM::KFM(void)
/usr/lib/libkfile.so: undefined reference to `KFM::list(char const *)'
...
What's wrong ?
A: Just go to Project->Options->Linkeroptions and activate kfm.
*********************************************************************************
Q: During creation of a source distribution of my current project I get the following
error messages:
...
make[1]: *** No rule to make target `myproject.pot', needed by `distdir'. Stop.
...
make: *** [distdir] Error 1
(where myproject is the name of my project)
What's wrong ?
A: You have to do a "make messages" which generates the required file myproject.pot.
(Optionally you can select "Make messages" from the project menu.)
Then try to create a source distribution again.
*********************************************************************************
Q: Is there any sort of UML modeling support in future releases of kdevelop?
A: Maybe you wanna take a look at KUML, which can be found at
http://www.informatik.fh-hamburg.de/~kuml.
*********************************************************************************
Q: After adding a new class the linker complains of missing symbols (QPaintDevice
virtual table, etc.). These symbols correspond to those of *.moc.cpp files, which
in fact are not generated.
How can I make KDevelop to generate the moc files ?
A: Run the autoconf/automoc suite from the Build menu. You might also have to
re-run configure.
********************************************************************************
Q: In my current project I'm using lex to create a parser. When i add a *.l file
to the project a small popup reminds me to add AM_PROG_LEX to the
configure.in file. That's great but what does that mean ?
A: Just add the string AM_PROG_LEX to the file configure.in
in your project.
**********************************************************************************
Q: Where can I find xgettext ?
A: It's part of the GNU gettext package.
**********************************************************************************
___________________________________________________________
Gregor Stipicic
Dr. Gmelinstr.5
5020 Salzburg "quod antea impetus fuit,
AUSTRIA nunc ratio est"
Tel.: +43 (662) 430712 SÖREN KIERKEGAARD
mailto: gstipi at aon.at
Linux - less bugs for less bucks
___________________________________________________________
More information about the KDevelop
mailing list