<!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></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear David:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I have the following installed:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>qt-qgl: OpenGL extension for Qt version
1.44-15mdk</FONT></DIV>
<DIV><FONT face=Arial size=2>qt21-devel: Header files and libraries for
developing apps which use Qt2 version: 2.1.0-0.3.1mdk</FONT></DIV>
<DIV><FONT face=Arial size=2>qt2-devel: Header files and libraries for
developing apps which use Qt2 version: 2.0.1-8mdk</FONT></DIV>
<DIV><FONT face=Arial size=2>qt-qimgio: ImageIO extension for Qt
version: 1.44-15mdk</FONT></DIV>
<DIV><FONT face=Arial size=2>qt21: Shared library for the Qt2 GUI toolkit
version 2.1.0-0.3.1mdk</FONT></DIV>
<DIV><FONT face=Arial size=2>qt: Shared library for the Qt GUI toolkit
version 1.44-15mdk</FONT></DIV>
<DIV><FONT face=Arial size=2>qt-devel: Development files and documentation
for the Qt GUI toolkit version: 1.44-15mdk</FONT></DIV>
<DIV><FONT face=Arial size=2>qt2: Shared library for the Qt2 GUI toolkit
version: 2.0.1-8mdk</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Perhaps there are too many qt libraries
installed. I originally installed Mandrake Linux 7.0 which came with
KDevelop 1.0 and the accompanying libraries. I subsequently uninstalled
KDevelop 1.0 and installed KDK 1.1. I then installed the Qt 2.1 and KDE 2
libraries and associated software as instructed in the documentation for the
KScribble example. Now, you see the result. Any
suggestions?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Johnas</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A href="mailto:david.bouriaud@ac-rouen.fr"
title=david.bouriaud@ac-rouen.fr>David BOURIAUD</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
href="mailto:kdevelop@barney.cs.uni-potsdam.de"
title=kdevelop@barney.cs.uni-potsdam.de>kdevelop@barney.cs.uni-potsdam.de</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, April 17, 2000 9:32
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Problems building MDI
files</DIV>
<DIV><BR></DIV>"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></P></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 ...
</BLOCKQUOTE></BODY></HTML>