<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><FONT size=2>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></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>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:
<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Shell-init: could not get current
directory: getcwd: cannot access parent directories: No such file or
directory</FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2>Shell-init: could not
get current directory: getcwd: cannot access parent directories: No such
file or directory</FONT><BR>Warning: Found old .po.gmo rules in po/Makefile.in
new po rules not added.</FONT></DIV>
<DIV><FONT face=Arial size=2>Cannot find .//index.SGML <BR><BR>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. <BR><BR>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 <BR></DIV></FONT>
<DIV><FONT face=Arial size=2><FONT size=2>Ralf Nolden responded
with:</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT size=2>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></DIV>
<DIV><FONT face=Arial size=2><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT size=2>In response I
wrote:</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2>Dear Ralf: <BR><BR>Below is the output in the
message window after trying to build KScribble (skeleton code).<BR></FONT><FONT
face=Arial size=2><FONT size=2><FONT face=Arial size=2><FONT size=2><BR>Making
clean in . <BR>gmake[1]: Entering directory `/home/jic/c/kscribble/kscribble'
<BR>rm -f kscribble.moc.cpp kscribbleview.moc.cpp kscribbledoc.moc.cpp <BR>rm -f
kscribble.all_cpp.cpp <BR>test -z "kscribble " || rm -f kscribble <BR>rm -rf
.libs _libs <BR>rm -f *.o core *.core <BR>rm -f *.lo <BR>gmake[1]: Leaving
directory `/home/jic/c/kscribble/kscribble' <BR>Making clean in docs
<BR>gmake[1]: Entering directory `/home/jic/c/kscribble/kscribble/docs'
<BR>Making clean in . <BR>gmake[2]: Entering directory
`/home/jic/c/kscribble/kscribble/docs' <BR>gmake[2]: Nothing to be done for
`clean-am'. <BR>gmake[2]: Leaving directory
`/home/jic/c/kscribble/kscribble/docs' <BR>Making clean in en <BR>gmake[2]:
Entering directory `/home/jic/c/kscribble/kscribble/docs/en' <BR>gmake[2]:
Nothing to be done for `clean'. <BR>gmake[2]: Leaving directory
`/home/jic/c/kscribble/kscribble/docs/en' <BR>gmake[1]: Leaving directory
`/home/jic/c/kscribble/kscribble/docs' <BR>*** success *** <BR>Making all in
docs <BR>gmake[1]: Entering directory `/home/jic/c/kscribble/kscribble/docs'
<BR>Making all in en <BR>gmake[2]: Entering directory
`/home/jic/c/kscribble/kscribble/docs/en' <BR>gmake[2]: Nothing to be done for
`all'. <BR>gmake[2]: Leaving directory `/home/jic/c/kscribble/kscribble/docs/en'
<BR>gmake[2]: Entering directory `/home/jic/c/kscribble/kscribble/docs'
<BR>gmake[2]: Nothing to be done for `all-am'. <BR>gmake[2]: Leaving directory
`/home/jic/c/kscribble/kscribble/docs' <BR>gmake[1]: Leaving directory
`/home/jic/c/kscribble/kscribble/docs' <BR>gmake[1]: Entering directory
`/home/jic/c/kscribble/kscribble' <BR>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 <BR>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 <BR>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 <BR>kscribble.cpp: In method `void
KScribbleApp::setWndTitle(QWidget *)': <BR>kscribble.cpp:239: no matching
function for call to `QWorkspace::activeClient ()' <BR>kscribble.cpp: In method
`void KScribbleApp::createClient(KScribbleDoc *)': <BR>kscribble.cpp:284: no
matching function for call to `QWorkspace::clientList ()' <BR>kscribble.cpp: In
method `bool KScribbleApp::eventFilter(QObject *, QEvent *)':
<BR>kscribble.cpp:447: no matching function for call to `QWorkspace::clientList
()' <BR>kscribble.cpp:450: no matching function for call to
`QWorkspace::activeClient ()' <BR>kscribble.cpp: In method `void
KScribbleApp::slotFileSave()': <BR>kscribble.cpp:499: no matching function for
call to `QWorkspace::activeClient ()' <BR>kscribble.cpp: In method `void
KScribbleApp::slotFileSaveAs()': <BR>kscribble.cpp:522: no matching function for
call to `QWorkspace::activeClient ()' <BR>kscribble.cpp: In method `void
KScribbleApp::slotFileClose()': <BR>kscribble.cpp:544: no matching function for
call to `QWorkspace::activeClient ()' <BR>kscribble.cpp: In method `void
KScribbleApp::slotFilePrint()': <BR>kscribble.cpp:559: no matching function for
call to `QWorkspace::activeClient ()' <BR>kscribble.cpp: In method `void
KScribbleApp::slotEditUndo()': <BR>kscribble.cpp:590: no matching function for
call to `QWorkspace::activeClient ()' <BR>kscribble.cpp: In method `void
KScribbleApp::slotEditCut()': <BR>kscribble.cpp:601: no matching function for
call to `QWorkspace::activeClient ()' <BR>kscribble.cpp: In method `void
KScribbleApp::slotEditCopy()': <BR>kscribble.cpp:612: no matching function for
call to `QWorkspace::activeClient ()' <BR>kscribble.cpp: In method `void
KScribbleApp::slotEditPaste()': <BR>kscribble.cpp:623: no matching function for
call to `QWorkspace::activeClient ()' <BR>kscribble.cpp: In method `void
KScribbleApp::slotWindowNewWindow()': <BR>kscribble.cpp:672: no matching
function for call to `QWorkspace::activeClient ()' <BR>kscribble.cpp: In method
`void KScribbleApp::windowMenuAboutToShow()': <BR>kscribble.cpp:705: no matching
function for call to `QWorkspace::clientList ()' <BR>kscribble.cpp:713: no
matching function for call to `QWorkspace::clientList ()' <BR>kscribble.cpp:717:
no matching function for call to `QWorkspace::activeClient ()'
<BR>kscribble.cpp: In method `void KScribbleApp::windowMenuActivated(int)':
<BR>kscribble.cpp:723: no matching function for call to `QWorkspace::clientList
()' <BR>gmake[1]: *** [kscribble.o] Error 1 <BR>gmake[1]: Leaving directory
`/home/jic/c/kscribble/kscribble' <BR>gmake: *** [all-recursive] Error 1 <BR>***
failed *** <BR></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT size=2>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></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV>
<DIV></FONT><FONT face=Arial size=2>Johnas Cukier<BR>Principal Technical
Staff<BR>Mitsubishi Electric ITA<BR>571 Central Avenue, Suite 115<BR>New
Providence, NJ 07974<BR>Phone: (908)665-1200 ext.
20<BR>FAX: (908)665-2414<BR>email: <A
href="mailto:jic@atl.meitca.com">jic@atl.meitca.com</A><BR> </FONT></DIV></BODY></HTML>