Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Unsolved How to adapt qml ui files to custom application installer ?

    QML and Qt Quick
    2
    4
    639
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • small_bird
      small_bird last edited by

      Hi, everyone !
      When I custom application installer, traditionally, XXX.ui files are used. However, XXX.qml files tend to be more convenient for ui designation. Now, I wonder how to use XXX.qml file to disign application installer ui ?
      Could anyone help me ? Thanks a lot !

      1 Reply Last reply Reply Quote 0
      • p3c0
        p3c0 Moderators last edited by

        @small_bird How did you create the custom application installer ?
        .ui.qml files are Qt Quick UI forms which are generally used if you want to use Qt Quick designer for designing the QtQuick UI. They too are qml files and QML engine handles them too.

        Now, I wonder how to use XXX.qml file to disign application installer ui ?

        If you want to use .qml files then you have to write code for each QML component you intend to use in your application.

        157

        small_bird 1 Reply Last reply Reply Quote 0
        • small_bird
          small_bird @p3c0 last edited by

          @p3c0 Yes, I know what you mean. Now I'd like to use qt installer framwork to design my installer. The installer has it's pages, traditionally, the pages are designed using XXX.ui files. Now, I want to use XXX.ui.qml files to design pages of installer. How to achieve that ?

          1 Reply Last reply Reply Quote 0
          • p3c0
            p3c0 Moderators last edited by

            @small_bird Just tried the Qt Installer framework for he first time and I seem to understand your question now. Please ignore my earlier reply.
            From what I observe and as you said it uses ui files which I see are actually Qt widgets based(earlier I misunderstood it as ui.qml).
            The binarycreator tool parses these files and other stuff to create the installer. So IMO its all coded in that tool and I doubt it will be possible to replace these widgets ui with QML ui.

            157

            1 Reply Last reply Reply Quote 0
            • First post
              Last post