Ubuntu Pastebin

Paste from timo at Tue, 8 Nov 2016 12:15:38 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 167098a..851505a 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -17,6 +17,7 @@ plugs:
 
 parts:
   qtapp2:
+    after: [desktop-ubuntu-app-platform]
     plugin: qmake
     qt-version: qt5
     source: .
@@ -39,13 +40,7 @@ parts:
     snap:
          - "$includedfiles"
 
-  launcher:
-    plugin: dump
-    source: .
-    organize:
-      launcher: bin/qtapp2.run
-
 apps:
   timostestapp3:
-    command: bin/qtapp2.run
+    command: desktop-launch qmlscene --desktop_file_hint=unity8 "$SNAP/ubuntu-app-platform/usr/lib/x86_64-linux-gnu/qt5/bin/qmlscene" "$SNAP/qtapp2/Main.qml"
     plugs: ['platform', 'home', 'unity7', 'opengl']
Download as text