What is the best and easiest way to get to work with QT in lazarus? Is there a tutorial?
I would first work with a compiled IDE for QT and applications using the LCL QT. Then I would work with everything I can. QClass ... objects.
Thanks.

Mailing lists / qt / 2010-01
8 messages · 3 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
What is the best and easiest way to get to work with QT in lazarus? Is there a tutorial?
I would first work with a compiled IDE for QT and applications using the LCL QT. Then I would work with everything I can. QClass ... objects.
Thanks.
Give the samples a look. It probably is a separate download.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/qt/attachments/20100119/2d6c936d/attachment.html>
There are explanations here:
http://wiki.lazarus.freepascal.org/Qt_Interface
If you still have problems after reading it you can post a more specific question.
You can rebuild the IDE in the dialog TOols --> Configure Build Lazarus
About the part rebuilding the IDE...
I first tried using as said in that article, and it gave me some problems. So, later on on a different machine, I just tried compiling the demos *without* rebuilding the IDE.
It worked just fine.
Incidentally, I also got to run/compile using the Win32 widgetset but also use the QT bindings and as far as I could see, it worked fine. I'm just unsure of what's going on.
Kind regards,
Christian Sciberras.
On Tue, Jan 19, 2010 at 3:04 PM, Felipe Monteiro de Carvalho <
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/qt/attachments/20100119/58c84298/attachment.html>
2010/1/19 Christian Sciberras :
About the part rebuilding the IDE... I first tried using as said in that article, and it gave me some problems. So, later on on a different machine, I just tried compiling the demos *without* rebuilding the IDE.
Well, simply there is no need to have your IDE running on Qt, unless you want to remove Gtk from your system, or you are testing the Qt IDE for whatever reasion, or you think Qt looks nicer...
You can use any version of the IDE to develop applications for any target widgetset, you just need to rebuild the LCL with Qt.
Felipe,
I didn't do that (rebuild the LCL), as I said, it was a dev PC with lazarus just installed.
Regards,
Chris.
On Tue, Jan 19, 2010 at 3:21 PM, Felipe Monteiro de Carvalho <
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/qt/attachments/20100119/365329fe/attachment.html>
2010/1/19 Christian Sciberras :
I didn't do that (rebuild the LCL), as I said, it was a dev PC with lazarus just installed.
I think it comes pre-compiled in the Windows installer. Maybe in Linux too.
I always use subversion, so I always recompile it ...
That would explain it.
I'll keep a lookout just in case.
On Tue, Jan 19, 2010 at 3:55 PM, Felipe Monteiro de Carvalho <
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/qt/attachments/20100119/62dcb5b8/attachment-0001.html>