Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. See qml changes in Live/Runtime
Forum Updated to NodeBB v4.3 + New Features

See qml changes in Live/Runtime

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
6 Posts 4 Posters 656 Views 1 Watching
  • 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.
  • HolidayH Offline
    HolidayH Offline
    Holiday
    wrote on last edited by Holiday
    #1

    Hello Qt community.
    Do you know any tools , which can be used for observing QML changes in Live (during runtime)?
    For this purposes I have tried qmllive and qml.exe, but there are a problems:

    1. QML code is located in Dll
    2. Common QML code(buttos, styles etc.) located in c++ project, which launch QML DLL
    3. QML code in Dll contains imported C++ objects (via qmlRegisterType)

    And it looks with qmllive it doesn't work

    Given all the above, is it possible somehow to observe QML changes in runtime?
    I'll be appreciate for any ideas, which will or could help provide such functionality... even if it will require from me writing a tons of code.

    J.HilkJ 1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      Not completely clear what your needs are but give Gammaray a try

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      0
      • HolidayH Offline
        HolidayH Offline
        Holiday
        wrote on last edited by
        #3

        My main goal: launch a product, which will launch my dll with qml code, do some changes in qml files (from which this dll is built) and observe this changes in live in UI without restarting application.
        Or if it possible to do without launching application - it will works for me too.

        @VRonin Thanks for the link, I'll investigate it

        VRoninV 1 Reply Last reply
        0
        • HolidayH Holiday

          My main goal: launch a product, which will launch my dll with qml code, do some changes in qml files (from which this dll is built) and observe this changes in live in UI without restarting application.
          Or if it possible to do without launching application - it will works for me too.

          @VRonin Thanks for the link, I'll investigate it

          VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by
          #4

          @Holiday said in See qml changes in Live/Runtime:

          do some changes in qml files (from which this dll is built)

          I'm not sure this is possible at all unless by "changes" you mean changing variables and stuff

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            The automotive suit has QML Live.

            Felgo also has something similar.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • HolidayH Holiday

              Hello Qt community.
              Do you know any tools , which can be used for observing QML changes in Live (during runtime)?
              For this purposes I have tried qmllive and qml.exe, but there are a problems:

              1. QML code is located in Dll
              2. Common QML code(buttos, styles etc.) located in c++ project, which launch QML DLL
              3. QML code in Dll contains imported C++ objects (via qmlRegisterType)

              And it looks with qmllive it doesn't work

              Given all the above, is it possible somehow to observe QML changes in runtime?
              I'll be appreciate for any ideas, which will or could help provide such functionality... even if it will require from me writing a tons of code.

              J.HilkJ Offline
              J.HilkJ Offline
              J.Hilk
              Moderators
              wrote on last edited by
              #6

              @Holiday I also made once this:

              https://github.com/DeiVadder/RuntimeQmlReload

              to reload QML files during runtime.

              But it's not made to do it from inside a dll, but from inside the main program.

              But it may help?


              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


              Q: What's that?
              A: It's blue light.
              Q: What does it do?
              A: It turns blue.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved