[Lazarus] Qt Codification [Qt, GTK2 and Win32]
Osvaldo Filho
arquivostcf at gmail.com
Sat Sep 19 15:01:54 CEST 2009
Thank you.
2009/9/19 Giuliano Colla <giuliano.colla at fastwebnet.it>:
> Osvaldo Filho ha scritto:
>>
>> anybody else?
>>
>>
>>
>
> Well, it depends on what you want to achieve.
> If you just want to use the Qt widgetset in Lazarus projects, in place of
> GTK1/GTK2, you have nothing else to do than get the current Qt bindings,
> compile the LCL for Qt widgetset, and select the Qt widgetset when compiling
> your project.
>
> See http://wiki.lazarus.freepascal.org/Qt_Interface for detailed
> instructions.
>
> In theory your code will be unchanged, because the LCL takes care of all the
> magic.
> In real life you may find some Qt bugs different from GTK bugs which may
> force you either to introduce some Qt specific workaround, or to suppress
> some GTK workaround, which turns out to be harmful for Qt. Some sort of
> IFDEF LCLqt or IFDEF LCLgtk may pop up, but it depends on your specific
> project.
>
>
> If on the contrary you're planning to use directly the Qt library for a non
> Lazarus FPC project, then you'll need Qt bindings, and Trolltech
> documentation.
>
>
> Hope that it helps
>
> Giuliano
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
More information about the Lazarus
mailing list