Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / qt / 2008-01

App does not launch under Windows

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Damien Gerard

Hi !

I have a problem with a closed source app under Windows. I would like to try the Widgetset QT instead of the win32 one due to issues on the TScrollBox and TNoteBook but once compiled the application does not run and exit with an exit code equals to 1 according to gdb (without any comments).

I tried with an empty project and it works really fine (lastest snapshot of lazarus).

Is there a way to get more debug ?

Damien Gerard People who used magic without knowing what they were doing usually came to a sticky end. All over the entire room, sometimes. -- (Terry Pratchett, Moving Pictures)
Damien Gerard
to Den Jean
Den Jean wrote 6 lines
> > Is there a way to get more debug ? > compile with debug info ? backtrace ?

Using the 'step' command I can provide this :

(gdb) r
Starting program: C:\Projects\pixie\client\src\pixie/pixie.exe

Breakpoint 1, TQTWIDGETSET__APPINIT (SCREENINFO=
{PIXELSPERINCHX = 72, PIXELSPERINCHY = 72, COLORDEPTH = 24, INITIALIZED = false},
this=0x26c205c) at qtobject.inc:100
100 in qtobject.inc
(gdb) ni
0x004fa3d4 100 in qtobject.inc
(gdb) n

Program exited with code 01.
(gdb) r
Starting program: C:\Projects\pixie\client\src\pixie/pixie.exe

Breakpoint 1, TQTWIDGETSET__APPINIT (SCREENINFO=
{PIXELSPERINCHX = 72, PIXELSPERINCHY = 72, COLORDEPTH = 24, INITIALIZED = false},
this=0x26c205c) at qtobject.inc:100
100 in qtobject.inc
(gdb)

So the application seems to exit before :
App := QApplication_Create(@argc, argv); in qtobject.inc (100)

May be QT dlls with some debug symbols are required to pursue investigation.

Damien Gerard People who used magic without knowing what they were doing usually came to a sticky end. All over the entire room, sometimes. -- (Terry Pratchett, Moving Pictures)