We have moved to a new Sailfish OS Forum. Please start new discussions there.
12

DQML UI development tool publicly available

asked 2016-06-26 21:07:32 +0300

Toxip gravatar image

At the international sailfish community event in the QML workshop a tool called dqml was used to demonstrate all the UI changes live. Would it be possible to get that tool somehow. This would be very valuable for developers.

edit retag flag offensive close delete

Comments

are there any slides or similar material, other developers might be interested in? and: was there some kind of NDA? i'm a bit surprised that no (extensive) reviews of the JollaC / the event itself appeared.

dmnk ( 2016-06-27 00:14:35 +0300 )edit

1 Answer

Sort by » oldest newest most voted
5

answered 2016-06-27 11:01:11 +0300

r0kk3rz gravatar image

This DQML perhaps? https://github.com/sletta/dqml , sletta is/was a sailor anyway

edit flag offensive delete publish link more

Comments

1

oh it's already out? :O well, seems like this is resolved then :)

EDIT: seems like I'm unable to build it on my system and can't find a binary for it. Maybe this tool should be included in the SDK

Toxip ( 2016-06-27 20:05:30 +0300 )edit
1

I have managed to build it using qmake/make/make install and got a binary. (under arch linux with the system qt installation)

However it complains that it can't find the Sailfish.Silica plugin. I'm not surprised by this error as it is not a part of the standard Qt5 installation and is only available in the Sailfish SDK. Symlinking it into the standard qt5 /usr/lib/qt/qml/... doesn't seem to make it happy.

Any more documentation or guides on how to set up would be greatly appreciated.

EDIT: I asked on IRC and got this answer from the man himself:

13:36 < jpetrell> jzs, r0kk3rz: I used dqml in the presentation on desktop linux with rough desktop build of Silica. Unfortunately no official support exists yet.

jzs ( 2016-07-01 12:22:16 +0300 )edit

Sorry for the "necrobump", but while waiting for a convenient way of live coding QML files, I also try your process.

--> Compilation goes fine, then error because of missing 'silica plugin', then 'silica plugin' extraction onto my machine, launching qml with "QML2_IMPORT_PATH" set and error (again) like the one you had because of the architecture of the ".so silica plugin" (just to be in the same config than you).

Then I tried to compile dqml directly on the emulator and I tried to use the dqml --server mode. This time, the compilation is fine too, dqml launches (from command line) but... I only have logs, no QML display (it looks like the rendering does not open). I've exactly the same behavior using qmlscene. Beside that, the --server mode works well, modifications performed on my machine are monitored and send to the emulator, but... no display, do you have any lead on what could be the issue here?

vinc_e ( 2016-08-03 22:28:19 +0300 )edit
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2016-06-26 21:07:32 +0300

Seen: 558 times

Last updated: Jun 27 '16