The Following 2 Users Say Thank You to Markkyboy For This Useful Post: | ||
|
2016-09-28
, 14:41
|
|
Posts: 654 |
Thanked: 2,368 times |
Joined on Jul 2014
@ UK
|
#2
|
|
2016-09-29
, 12:39
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, Espaņa
|
#3
|
|
2016-09-29
, 13:45
|
|
Posts: 6,436 |
Thanked: 12,699 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#4
|
|
2016-09-29
, 17:10
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, Espaņa
|
#5
|
|
2016-09-29
, 18:07
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#6
|
Qt.resolvedUrl("file:///path/to/your.qml")
|
2016-09-29
, 19:06
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, Espaņa
|
#7
|
|
2016-09-29
, 19:46
|
|
Posts: 654 |
Thanked: 2,368 times |
Joined on Jul 2014
@ UK
|
#8
|
or how to 'push' a file from 'home'..?, can you explain more in layman terms please...?
The Following User Says Thank You to Feathers McGraw For This Useful Post: | ||
|
2016-09-29
, 20:57
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, Espaņa
|
#9
|
|
2016-09-29
, 21:46
|
|
Posts: 6,436 |
Thanked: 12,699 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#10
|
LauncherItem { id: jollaClock filePath: "/usr/share/applications/jolla-clock.desktop" }
The Following 2 Users Say Thank You to coderus For This Useful Post: | ||
Using 'Qt.openUrlExternally works in some cases, like sending an email by using 'mailto:' but the same cannot be said for opening files, like say a 'jpg' or a page from an application.
This works, as an example for 'mailto';
I am unable to open any .desktop file using Qt.openUrlExternally or pageStack.push methods - yet from shell, I can open jolla-clock a few ways, but not from within another file.
What am I missing here?
As an example, this works from within a QML file; (it opens the settings dialog for the given application)
Any ideas of pointers for basically being able to open a page of one application from another.
I have trawled many pages and found conflicting/old/dead end information, barely any of which relates to SFOS.
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..
Last edited by Markkyboy; 2016-09-27 at 16:46. Reason: Qt.resolvedUrl or Qt.openUrlExternally