Sign in Join

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

Mailing lists / qt / 2009-11

working with QApplication

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

ik

Hello

I'm writing a FPC program that uses webkit and terminal (non gui app) using the qt binding with the printing capabilities.
I used TCustomApplication in my program, and I noticed that if I do not use the QApplication_exec prior to my "DoRun" procedure, my code have access violation after i'm trying to use initialized items.

I'm missing something with the way QApplication works, to make sure it will execute my code with QApplicatrion_exec. What is needed from me to make it execute my DoRun code ?

Thanks,
Ido

http://ik.homelinux.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/qt/attachments/20091106/90082d0a/attachment.html>