[maemo-developers] QMainWindow crashes when it closes while the menu is visible

From: ibrahim ibrahim.ali at asgatech.com
Date: Wed Feb 24 21:29:40 EET 2010
Antonio Aloisio wrote:
> Hi ibrahim,
> Are you using 4.5 or 4.6? Could you show us a backtrace?
i am using 4.5.3. and iam afraid i  don't know how to produce the backtrace.
>
> Thanks,
> Antonio
>
> On Wed, Feb 24, 2010 at 7:10 PM, ibrahim <ibrahim.ali at asgatech.com 
> <mailto:ibrahim.ali at asgatech.com>> wrote:
>
>     Greetings;
>
>     I have a little bit strange crash that occurs in my Qt
>     application. I have a QMainWindow Object that has a QMediaObject
>     object inside it to play sound. When the sound player finishes,
>     the QMainWindow sends a signal to its parent, so the parent can
>     close it (programatically, by calling window->close(); and my
>     QMainWindow is set to DeleteOnClose).
>     Everything works fine with no problems at all. But when I view the
>     menu in that window, and it closes (when sound player returns),
>     the application crashes !!!!
>     I don't know what is wrong with that issue. why does it crash when
>     the menu is shown?
>     and how to avoid that issue ?? is there's a way to detect the open
>     menubar and close it programatically before  destroying the
>     application ???
>
>     any assistance is higly appreciated;
>     thanks in advance;
>     _______________________________________________
>     maemo-developers mailing list
>     maemo-developers at maemo.org <mailto:maemo-developers at maemo.org>
>     https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>
>
>
> -- 
>
> Ted Turner 
> <http://www.brainyquote.com/quotes/authors/t/ted_turner.html>  - 
> "Sports is like a war without the killing."

More information about the maemo-developers mailing list