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. A Swift Playgrounds-like Live Editor for QML
Forum Updated to NodeBB v4.3 + New Features

A Swift Playgrounds-like Live Editor for QML

Scheduled Pinned Locked Moved QML and Qt Quick
8 Posts 5 Posters 4.7k 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.
  • P Offline
    P Offline
    penk
    wrote on last edited by
    #1

    Hi,

    After watched "Bret Victor's talk":http://vimeo.com/36579366 I immediately thought of QtQuick. I have created "QML LiveReload":https://github.com/penk/qml-livereload a while ago, which is a QFileSystemWatcher based live viewer.

    Then Apple announced Swift and its Playgrounds, I can't help but think about this live editor/runtime idea again.. so I made this, project "Terrarium":http://www.terrariumapp.com/ :
    !http://i.imgur.com/GHgRMNh.png(doge!)!
    "Terrarium":http://www.terrariumapp.com/ is an open source (MIT license), cross platform live editor for QML. the view (at the right side) reloads as you type in the editor (at the left). It's using a self-hosted http server ("QHttpServer":https://github.com/rschroll/qhttpserver, to be specific) and Loader component.

    I have already ported it to Ubuntu Touch and iOS, and used it daily on my Mac OSX / Ubuntu Desktop. Next would be bringing it to Android and Sailfish OS..

    Please give it a try and let me know if it's any use. Any feedback would be greatly appreciated! :-)

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

      Hi and welcome to devnet !

      Looks interesting ! Thanks for sharing

      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
      • J Offline
        J Offline
        Jens
        wrote on last edited by
        #3

        Cool. You might also want to check out a similar project here:

        "https://gitorious.org/quint":https://gitorious.org/quint

        Its what andrew baldwin used for most of his raspberry pi videos.
        "youtube":https://www.youtube.com/watch?v=0j-Wakm5B84

        1 Reply Last reply
        0
        • P Offline
          P Offline
          penk
          wrote on last edited by
          #4

          [quote author="Jens" date="1403168041"]Cool. You might also want to check out a similar project here:

          "https://gitorious.org/quint":https://gitorious.org/quint

          Its what andrew baldwin used for most of his raspberry pi videos.
          "youtube":https://www.youtube.com/watch?v=0j-Wakm5B84[/quote]

          quint looks awesome, I was playing https://gitorious.org/aalperts-automatons/bragi before

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mcallegari79
            wrote on last edited by
            #5

            Super cool !
            It would be AWESOME if this could get integrated into Qt Creator !
            It would then become the ultimate solution for UI designing and C++ coding.

            Many thanks for this. Gonna try it out soon.

            1 Reply Last reply
            0
            • slettaS Offline
              slettaS Offline
              sletta
              wrote on last edited by
              #6

              You might also want to check out https://github.com/sletta/dqml. It supports embedding live coded QML into a running application and also supports livecoding of devices over the network.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mcallegari79
                wrote on last edited by
                #7

                Thanks Gunnar !
                I will give it a try as well.
                I need to port a quite complex application from QWidget to Quick, so any tool that can help me and speed up the process is very welcome

                Since you are a very active Qt contributor, do you know if there is any plan to have a similar tool integrated in Qt Creator sometime in the future ?

                Thanks

                1 Reply Last reply
                0
                • slettaS Offline
                  slettaS Offline
                  sletta
                  wrote on last edited by
                  #8

                  mcallegari79: I'm not aware of any plans to add live coding to Qt Creator.

                  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