Maximilien,

not that it helps much, but I'm using the same gdb 6.8-debian on ubuntu and 
getOpenFileName (on Gnome, showing the native gnome file dialog) works very 
fast running inside gdb in creator.

We too are interested in what the problem could be.  

 Matthias

On Wednesday 22 July 2009 16:55:24 Ettrich Matthias (Nokia-D-Qt/Berlin) wrote:
> getOpenFileName() is a very complex function. If you are running Gnome, it
> will instantiate the native desktop file dialog.
>
>  Matthias
>
> On Wednesday 22 July 2009 16:47:21 ext Maximilien Renard wrote:
> > Ok, sorry for this very quick other answer but the menus etc. have
> > just been displayed.
> >
> > The getOpenFileName is as slow as it was when debugging under
> > QtCreator and the whole program seems to be slower.
> >
> > What should I do ?
> >
> > Thanks,
> >
> >
> > Maximilien
> >
> > 2009/7/22 Maximilien Renard <[email protected]>:
> > > Hi,
> > >
> > > Here's the output of gdb when I launch it using the konsole.
> > >
> > > i...@ixm-laptop:~/Documents/cpp$ gdb ./project/project
> > > GNU gdb 6.8-debian
> > > Copyright (C) 2008 Free Software Foundation, Inc.
> > > License GPLv3+: GNU GPL version 3 or later
> > > <http://gnu.org/licenses/gpl.html> This is free software: you are free
> > > to change and redistribute it. There is NO WARRANTY, to the extent
> > > permitted by law.  Type "show copying" and "show warranty" for details.
> > > This GDB was configured as "i486-linux-gnu"...
> > > (gdb) run
> > > Starting program: /home/ixm/Documents/cpp/project/project
> > > [Thread debugging using libthread_db enabled]
> > > [New Thread 0xb5b51730 (LWP 20498)]
> > >
> > > The app starts but nothing is displayed except the application's
> > > border and its title bar (no menu, no toolbar,...).
> > >
> > > Since it says 2008, I guess it's not an too old version of gdb.
> > >
> > > Anyway, it's maybe something I've made wrong but I cannot remember
> > > having changed anything in this part of my program and I have no idea
> > > what I should do.
> > >
> > > Thank you very much,
> > >
> > >
> > > Maximilien
> > >
> > > 2009/7/22 Matthias Ettrich <[email protected]>:
> > >> Maximilien,
> > >>
> > >> on what OS platform are you, and what debugger are you using?
> > >>
> > >> Keep in mind that creator calls e.g. gdb in the background. Some gdb
> > >> versions, especially elder versions, have severe performance issues
> > >> wrt symbol or plugin loading.
> > >>
> > >> Can you please debug your application on the command line, and verify
> > >> that you won't get the 6 minute delay there?
> > >>
> > >>
> > >>  Matthias
> > >>
> > >>
> > >> _______________________________________________
> > >> Qt-creator mailing list
> > >> [email protected]
> > >> http://lists.trolltech.com/mailman/listinfo/qt-creator
> >
> > _______________________________________________
> > Qt-creator mailing list
> > [email protected]
> > http://lists.trolltech.com/mailman/listinfo/qt-creator
>
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator


_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to