Forum > Other

Can LCL classes use Qt or Gtk2 as their back-end?

(1/1)

vicot:
I am a total newbie, so this might be a silly question.

Can LCL classes use Qt or Gtk2 as their back-end?
What I have in mind is TMemo. I would like to use Qt as its back-end. Is it possible?

JuhaManninen:

--- Quote from: vicot on May 23, 2013, 05:41:25 pm ---Can LCL classes use Qt or Gtk2 as their back-end?
What I have in mind is TMemo. I would like to use Qt as its back-end. Is it possible?

--- End quote ---

Yes, both are supported. For QT you also need a wrapper library. See:
 http://wiki.freepascal.org/Qt4_binding

Leledumbo:
Hmm... could you be any clearer? I'm afraid is not a simple backend change that you mean. Do you want to mix the backend? If yes, then the answer is no (except for Custom Drawn Interface). LCL project must choose one backend for the whole project. Say, either GTK2 or Qt, but not both mixed under the same compilation.

vicot:
No, I did not mean mixing the back-ends. I just wanted to know about which back-ends are supported, and I am happy to learn that both Qt and Gtk are supported.

Leledumbo:

--- Quote ---No, I did not mean mixing the back-ends. I just wanted to know about which back-ends are supported, and I am happy to learn that both Qt and Gtk are supported.
--- End quote ---
Both our wiki and wikipedia already state the status of each widgetsets:
http://wiki.lazarus.freepascal.org/Roadmap
http://en.wikipedia.org/wiki/Lazarus_(IDE)#Lazarus_Component_Library

Navigation

[0] Message Index

Go to full version