<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<body bgcolor="#FFFFFF">
"Johnas @ Work" wrote:
<blockquote TYPE=CITE><style></style>
<font face="Arial"><font size=-1>I
recently installed the KDK 1.1 rpm onto my system and had trouble building
an MDI application. I posted this message on the KDevelop Phorum:</font></font> <font face="Arial"><font size=-1>I
am trying to build the KScribble example. When I create an KDE2 MDI project
under KDevelop 1.1, I get a warning under automake:</font></font><font face="Arial"><font size=-1>Shell-init:
could not get current directory: getcwd: cannot access parent directories:
No such file or directory</font></font><font face="Arial"><font size=-1>Shell-init:
could not get current directory: getcwd: cannot access parent directories:
No such file or directory</font></font>
<br><font face="Arial"><font size=-1>Warning: Found old .po.gmo rules in
po/Makefile.in new po rules not added.</font></font><font face="Arial"><font size=-1>Cannot
find .//index.SGML</font></font>
<p><font face="Arial"><font size=-1>The autoconf/automake complete successfully
though. However, when I subsequently try to build the project (skeleton
source should compile and run shouldn't it?) I get several error messages
from the kscribble.cpp file. It wants to reference a qapplication method
that it says is not there.</font></font>
<p><font face="Arial"><font size=-1>I installed rpm's from kdk 1.1, glimpse
4.12, agrep 2.04, kdelibs2 and its develop rpm, qt2.1.0 and its develop
rpm, and htdig 3.1.5. I followed all directions in the KDE Applications
Tutorials. Simpler non-MDI project build fine. What's wrong? Can anyone
help me? Thanks</font></font><font face="Arial"><font size=-1>Ralf Nolden
responded with:</font></font> <font face="Arial"><font size=-1>You
can ignore the warning you described. It would be better to give me the
*exact* error on the kscribble.cpp file you have. It should run however,
but I haven´t tested it the last weeks.</font></font> <font face="Arial"><font size=-1>In
response I wrote:</font></font> <font face="Arial"><font size=-1>Dear
Ralf:</font></font>
<p><font face="Arial"><font size=-1>Below is the output in the message
window after trying to build KScribble (skeleton code).</font></font>
<p><font face="Arial"><font size=-1>Making clean in .</font></font>
<br><font face="Arial"><font size=-1>gmake[1]: Entering directory `/home/jic/c/kscribble/kscribble'</font></font>
<br><font face="Arial"><font size=-1>rm -f kscribble.moc.cpp kscribbleview.moc.cpp
kscribbledoc.moc.cpp</font></font>
<br><font face="Arial"><font size=-1>rm -f kscribble.all_cpp.cpp</font></font>
<br><font face="Arial"><font size=-1>test -z "kscribble " || rm -f kscribble</font></font>
<br><font face="Arial"><font size=-1>rm -rf .libs _libs</font></font>
<br><font face="Arial"><font size=-1>rm -f *.o core *.core</font></font>
<br><font face="Arial"><font size=-1>rm -f *.lo</font></font>
<br><font face="Arial"><font size=-1>gmake[1]: Leaving directory `/home/jic/c/kscribble/kscribble'</font></font>
<br><font face="Arial"><font size=-1>Making clean in docs</font></font>
<br><font face="Arial"><font size=-1>gmake[1]: Entering directory `/home/jic/c/kscribble/kscribble/docs'</font></font>
<br><font face="Arial"><font size=-1>Making clean in .</font></font>
<br><font face="Arial"><font size=-1>gmake[2]: Entering directory `/home/jic/c/kscribble/kscribble/docs'</font></font>
<br><font face="Arial"><font size=-1>gmake[2]: Nothing to be done for `clean-am'.</font></font>
<br><font face="Arial"><font size=-1>gmake[2]: Leaving directory `/home/jic/c/kscribble/kscribble/docs'</font></font>
<br><font face="Arial"><font size=-1>Making clean in en</font></font>
<br><font face="Arial"><font size=-1>gmake[2]: Entering directory `/home/jic/c/kscribble/kscribble/docs/en'</font></font>
<br><font face="Arial"><font size=-1>gmake[2]: Nothing to be done for `clean'.</font></font>
<br><font face="Arial"><font size=-1>gmake[2]: Leaving directory `/home/jic/c/kscribble/kscribble/docs/en'</font></font>
<br><font face="Arial"><font size=-1>gmake[1]: Leaving directory `/home/jic/c/kscribble/kscribble/docs'</font></font>
<br><font face="Arial"><font size=-1>*** success ***</font></font>
<br><font face="Arial"><font size=-1>Making all in docs</font></font>
<br><font face="Arial"><font size=-1>gmake[1]: Entering directory `/home/jic/c/kscribble/kscribble/docs'</font></font>
<br><font face="Arial"><font size=-1>Making all in en</font></font>
<br><font face="Arial"><font size=-1>gmake[2]: Entering directory `/home/jic/c/kscribble/kscribble/docs/en'</font></font>
<br><font face="Arial"><font size=-1>gmake[2]: Nothing to be done for `all'.</font></font>
<br><font face="Arial"><font size=-1>gmake[2]: Leaving directory `/home/jic/c/kscribble/kscribble/docs/en'</font></font>
<br><font face="Arial"><font size=-1>gmake[2]: Entering directory `/home/jic/c/kscribble/kscribble/docs'</font></font>
<br><font face="Arial"><font size=-1>gmake[2]: Nothing to be done for `all-am'.</font></font>
<br><font face="Arial"><font size=-1>gmake[2]: Leaving directory `/home/jic/c/kscribble/kscribble/docs'</font></font>
<br><font face="Arial"><font size=-1>gmake[1]: Leaving directory `/home/jic/c/kscribble/kscribble/docs'</font></font>
<br><font face="Arial"><font size=-1>gmake[1]: Entering directory `/home/jic/c/kscribble/kscribble'</font></font>
<br><font face="Arial"><font size=-1>g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde2/include
-I/usr/lib/qt-2.1.0/include -I/usr/X11R6/include -O0 -g3 -Wall -c kscribbleview.cpp</font></font>
<br><font face="Arial"><font size=-1>g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde2/include
-I/usr/lib/qt-2.1.0/include -I/usr/X11R6/include -O0 -g3 -Wall -c kscribbledoc.cpp</font></font>
<br><font face="Arial"><font size=-1>g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde2/include
-I/usr/lib/qt-2.1.0/include -I/usr/X11R6/include -O0 -g3 -Wall -c kscribble.cpp</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp: In method `void KScribbleApp::setWndTitle(QWidget
*)':</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp:239: no matching function
for call to `QWorkspace::activeClient ()'</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp: In method `void KScribbleApp::createClient(KScribbleDoc
*)':</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp:284: no matching function
for call to `QWorkspace::clientList ()'</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp: In method `bool KScribbleApp::eventFilter(QObject
*, QEvent *)':</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp:447: no matching function
for call to `QWorkspace::clientList ()'</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp:450: no matching function
for call to `QWorkspace::activeClient ()'</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp: In method `void KScribbleApp::slotFileSave()':</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp:499: no matching function
for call to `QWorkspace::activeClient ()'</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp: In method `void KScribbleApp::slotFileSaveAs()':</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp:522: no matching function
for call to `QWorkspace::activeClient ()'</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp: In method `void KScribbleApp::slotFileClose()':</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp:544: no matching function
for call to `QWorkspace::activeClient ()'</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp: In method `void KScribbleApp::slotFilePrint()':</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp:559: no matching function
for call to `QWorkspace::activeClient ()'</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp: In method `void KScribbleApp::slotEditUndo()':</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp:590: no matching function
for call to `QWorkspace::activeClient ()'</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp: In method `void KScribbleApp::slotEditCut()':</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp:601: no matching function
for call to `QWorkspace::activeClient ()'</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp: In method `void KScribbleApp::slotEditCopy()':</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp:612: no matching function
for call to `QWorkspace::activeClient ()'</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp: In method `void KScribbleApp::slotEditPaste()':</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp:623: no matching function
for call to `QWorkspace::activeClient ()'</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp: In method `void KScribbleApp::slotWindowNewWindow()':</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp:672: no matching function
for call to `QWorkspace::activeClient ()'</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp: In method `void KScribbleApp::windowMenuAboutToShow()':</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp:705: no matching function
for call to `QWorkspace::clientList ()'</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp:713: no matching function
for call to `QWorkspace::clientList ()'</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp:717: no matching function
for call to `QWorkspace::activeClient ()'</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp: In method `void KScribbleApp::windowMenuActivated(int)':</font></font>
<br><font face="Arial"><font size=-1>kscribble.cpp:723: no matching function
for call to `QWorkspace::clientList ()'</font></font>
<br><font face="Arial"><font size=-1>gmake[1]: *** [kscribble.o] Error
1</font></font>
<br><font face="Arial"><font size=-1>gmake[1]: Leaving directory `/home/jic/c/kscribble/kscribble'</font></font>
<br><font face="Arial"><font size=-1>gmake: *** [all-recursive] Error 1</font></font>
<br><font face="Arial"><font size=-1>*** failed ***</font></font><font face="Arial"><font size=-1>Since
that posting, I have not heard any response. In the meantime, I tried
to look up the activeClient and clientList methods in the documentation
on the Qt and KDE libraries. These methods don't seem to exist.
I also tried to find QWorkspace.h on my system. That file does not
seem to exist. Could anyone please help me?</font></font> <font face="Arial"><font size=-1>Thanks,</font></font> <font face="Arial"><font size=-1>Johnas
Cukier</font></font>
<br><font face="Arial"><font size=-1>Principal Technical Staff</font></font>
<br><font face="Arial"><font size=-1>Mitsubishi Electric ITA</font></font>
<br><font face="Arial"><font size=-1>571 Central Avenue, Suite 115</font></font>
<br><font face="Arial"><font size=-1>New Providence, NJ 07974</font></font>
<br><font face="Arial"><font size=-1>Phone: (908)665-1200 ext. 20</font></font>
<br><font face="Arial"><font size=-1>FAX: (908)665-2414</font></font>
<br><font face="Arial"><font size=-1>email: <a href="mailto:jic@atl.meitca.com">jic@atl.meitca.com</a></font></font></blockquote>
Hi to you and to all !
<br>I had time to try a simple KDE2 MDI app (just by adding a new project,
that's all) in order to help you, but unfortunately, it doesn't work on
my computer. Anyway, that's 'normal' since I haven't installed qt2.0 yet
! I just have qt1.44 which works fine (I haven't been successful so far
to install qt2.0 !).
<br>This makes me think the following : have you installed the qt2.1.0
runtime, or devel (or both ?) ? Cause, if you just have the runtime (eg.
the libs, as far as I know), you don't have the package required to develop
! As far as I remember, I had to install qt-devel1.44 and qt-libs1.44 in
order to have kdevelop to work !
<br>Maybe that's your problem ? I hope this would be of any help.
<br>I've seen that you installed ht://dig as well... Does it work ? I've
installed the same version of ht://dig, but kdevelop refuses to see neither
it, nor htsearch installed. Does it work on your system ? If yes, how did
you do ? Thanks by advance ...
</body>
</html>