Skip to content
  • 0 Votes
    11 Posts
    1k Views
    B

    @Christian-Ehrlicher said in Dynamic XML documents instead of `.ui` files in Qt:

    @brainchild The uiloader is just a way to load xml files which in 99,9% are processed by uic and compiled directly instead. So adding this complexity to pass a DOM instead a simple QIODevice for the max. 0,1% use case is fine in my pov.
    Esp.since there is no need for a DOM and QtCore don't have a DOM class at all - QXmlStreamReader is perfectly fine for this simple task.

    The XML module has a DOM representation. Why would it not be sensible for a version to be provided of load() that processes a DOM representation from this module?

  • 0 Votes
    2 Posts
    346 Views
    SGaistS

    Hi and welcome to devnet,

    You should provide a minimal compilable example that shows your issue. That way people will be able to analyse what is happening.