Code review comment for lp:~rpadovani/ubuntu-calendar-app/1231136

Revision history for this message
Ted Gould (ted) wrote :

Here are the docs on QUrl:

http://qt-project.org/doc/qt-5.0/qtcore/qurl.html

What you need your exec line to look like is something like this:

Exec=qmlscene /usr/share/calendar-app/calendar.qml %u

Then the actual call will be:

qmlscene /usr/share/calendar-app/calendar.qml calendar:///?starttime=20130913

So the only argument will be the URL itself, you can then use QUrl to help break that down into the values you need.

« Back to merge proposal