Forum > QT
Converting ui files from QT 4
(1/1)
dscapuano:
I am new here and am just starting out with Lazarus and fpc. I am running Linux Mint 11 on my old, cranky laptop. %)
I have a bunch of .ui files created in QT4 designer. How can I import these files into Lazarus.
Thanks,
dc
JuhaManninen:
--- Quote from: dscapuano on August 10, 2011, 10:48:07 pm ---I have a bunch of .ui files created in QT4 designer. How can I import these files into Lazarus.
--- End quote ---
You can't. You must make a new similar GUI using lazarus designer.
QT .ui XML file structure could easily be parsed and mapped to Lazarus .lfm and .pas files.
The problem would be the component types and their properties which don't easily map to Lazarus LCL components and properties.
The same problem is with any similar conversion, for example Visual Basic.
Still, such converters could be made even if they never reach a 100% conversion rate.
It only needs people to make them.
I have worked on the Delphi converter in Lazarus. Even that is very difficult when there is a missing component.
Juha
Navigation
[0] Message Index