Problems with MDI Template of KDevelop 1.3beta1
Pascal Francq
pfrancq at ulb.ac.be
Sun Dec 3 17:21:24 UTC 2000
Hi,
There are some problems concerning the MDI template with KDevelop 1.3beta1.
1°) In the function "eventFilter", you must replace the line
if(event->type() == QEvent::Close)
by the line
if((event->type() == QEvent::Close)&&((TmpApp*)object!=this))
because this functin is also called when the MDI window is close and then the
TmpView pointer and cassting has no meaning -> memory error.
2°) In the "rc" file, you must delete </menu> and add a "/" at the end of the
<action> tag for the window menu.
3°) When running CreateGUI, I have the following output:
fatal parsing error: unexpected end of file in line 1
fatal parsing error: error while parsing prolog in line 1
Parsing error.
whatever the file I used as rc (also files that are handle good by SDI KDE2
programs).
Have someone an idea for this last problem, because I need to add menus to my
application and I can't.
Thanks.
--
Ir. Pascal Francq
Researcher
Université Libre de Bruxelles
CAD/CAM Department
Avenue F.D. Roosevelt, 50
CP 165/14
B-1050 Brussels
BELGIUM
Tel. +32-2-650 47 65
Fax +32-2-650 47 24
ICQ: 91206668
-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop-devel
mailing list