Unsolved Is it possible to Export QML or Widgets code into XML?
-
Hello,
Does anyone now how to export QML or Qt Widget code into XML ??
Many Thanks
Shrikant -
Hi,
Do you mean the .ui files that designer generate when you create new widgets with it ?
-
@SGaist No, because if we change from design mode to edit mode it automatically give us XML but that is just XML of layout not the whole concept...
I want to export whole code into XML
-
@ShrikantAmbade Do you want to export QML and C++ code to XML? What is the use case?
-
@jsulm What do you mean use case? I dont understand it
If I understand you correctly, I need my output into XML format. Actually, It is the requirement of my project. And then this XML file is input to one framework which only accept XML as input
-
What does that framework do with that XML ?
-
@SGaist It is basically a framework which is working for Security policies..
It has analysis of security model, checking for Security model specification etc.. so my task is to design Graphical representation of model specifications and can be exportable into XML
-
I mean: what are you going to do with that XML output?
And what do you mean by "Qt Widget code"? The .ui files which already contain XML?
What do you mean by "whole concept" - do you mean UI design and the program logic?
So, you have another framework which accepts XML as input and you want to generate this XML from QML/QtWidget? What does the framework do with this XML? I assume that this framework defines it's own XML based format for the input? In this case you will need to write your own converter.