A Swift Playgrounds-like Live Editor for QML
-
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! :-)
-
Hi and welcome to devnet !
Looks interesting ! Thanks for sharing
-
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 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
-
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.
-
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.
-
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 welcomeSince 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
-
mcallegari79: I'm not aware of any plans to add live coding to Qt Creator.