##// END OF EJS Templates
Small fix on desktop shortcut
Jeandet Alexis -
r70:786323e1520b default
parent child
Show More
@@ -1,155 +1,161
1 1 SOCEXPLORER_ROOT = \"$${PWD}/../..\"
2 2
3 3 include($${PWD}/../../build_cfg/socexplorer.pri)
4 4
5 5 TARGET = socexplorerengine$${DEBUG_EXT}
6 6 TEMPLATE = lib
7 7
8 8 #more verbose plugin loader to debug plugin loading issues such as dependencies issues
9 9 SOCEXPLORER_PLUGIN_LOADER="custom"
10 10
11 11 SOCEXPLORER_CHAGESETNUM=$$system(hg id)
12 isEmpty(SOCEXPLORER_CHAGESETNUM){
13 SOCEXPLORER_CHAGESETNUM=6e5eaa13fad9
14 }
12 15 SOCEXPLORER_CHAGESETNUMSTR = '\\"$${SOCEXPLORER_CHAGESETNUM}\\"'
13 16 SOCEXPLORER_BRANCH=$$system(hg branch)
17 isEmpty(SOCEXPLORER_BRANCH){
18 SOCEXPLORER_BRANCH=default
19 }
14 20 SOCEXPLORER_BRANCHSTR = '\\"$${SOCEXPLORER_BRANCH}\\"'
15 21
16 DEFINES += SOCEXPLORER_VERSION="\"\\\"0.2.2"\\\"\"
22 DEFINES += SOCEXPLORER_VERSION="\"\\\"0.4.4"\\\"\"
17 23 DEFINES += SOCEXPLORER_CHAGESET=\"$${SOCEXPLORER_CHAGESETNUMSTR}\"
18 24 DEFINES += SOCEXPLORER_BRANCH=\"$${SOCEXPLORER_BRANCHSTR}\"
19 25
20 26
21 27 message("Building SOCEXPLORER changeset $${SOCEXPLORER_CHAGESETNUM}")
22 28
23 29 DEFINES += SOCEXPLORER_EXPORTS
24 30
25 31 include ( plugins/socexplorerplugin.prf )
26 32 include ( PeripheralWidget/PeripheralWidget.pri)
27 33
28 34 win32:CONFIG += dll
29 35 win32:CONFIG -= static
30 36 win32:LIBS+=-L$${SOCEXPLORER_ROOT}/bin/win32 -lsocexplorercommon$${DEBUG_EXT}
31 37
32 38 contains(SOCEXPLORER_PLUGIN_LOADER,"custom")
33 39 {
34 40 unix:LIBS+= -ldl
35 41 unix:DEFINES += SOCEXPLORER_CUSTOM_PLUGIN_LOADER
36 42 unix:HEADERS += \
37 43 pluginloader/unix/unixpluginloader.h
38 44 unix:SOURCES += \
39 45 pluginloader/unix/unixpluginloader.cpp
40 46 }
41 47
42 48 target.path = $$[QT_INSTALL_LIBS]
43 49 isEmpty(target.path) {
44 50 error(can\'t get QT_INSTALL_LIBS)
45 51 }
46 52
47 53 header.path = $$[QT_INSTALL_HEADERS]/SocExplorer
48 54 header.files = engine/socexplorerengine.h \
49 55 pluginloader/pluginscache.h \
50 56 plugins/socexplorerplugin.h \
51 57 proxy/socexplorerproxy.h \
52 58 engine/socexplorerxmlfile.h \
53 59 SOC/socexplorerenumdevice.h \
54 60 plugins/genericPySysdriver.h \
55 61 XmlEngine/XMLmodel.h \
56 62 XmlEngine/XMLdata.h \
57 63 XmlEngine/xmldriver.h \
58 64 SOC/socmodel.h \
59 65 SOC/registerdata.h \
60 66 SOC/socclk.h \
61 67 PeripheralWidget/src/peripheralwidget.h \
62 68 PeripheralWidget/src/registerwidget.h \
63 69 PeripheralWidget/src/socregsviewer.h
64 70
65 71
66 72
67 73 isEmpty(header.path) {
68 74 error(can\'t get QT_INSTALL_HEADERS)
69 75 }
70 76
71 77 pluginif.files = pluginsInterface/*.h \
72 78 pluginsInterface/*.cpp
73 79
74 80 pluginif.path = $$[QT_INSTALL_HEADERS]/SocExplorer/pluginsInterface
75 81
76 82
77 83 INSTALLS += target header pluginif
78 84
79 85 INCLUDEPATH += engine \
80 86 pluginloader \
81 87 pluginsInterface \
82 88 proxy \
83 89 plugins \
84 90 pluginManagerWdgt \
85 91 ../common \
86 92 ../ \
87 93 RegisterMVS \
88 94 XmlEngine \
89 95 SOC \
90 96 PeripheralWidget/src
91 97
92 98
93 99 HEADERS += \
94 100 pluginloader/pluginscache.h \
95 101 pluginloader/pluginloader.h \
96 102 plugins/genericPySysdriver.h \
97 103 pluginManagerWdgt/plugintree.h \
98 104 pluginManagerWdgt/pluginmanagerWDGT.h \
99 105 pluginManagerWdgt/pluginlist.h \
100 106 pluginManagerWdgt/plugininfoswdgt.h \
101 107 XmlEngine/XMLmodel.h \
102 108 XmlEngine/XMLdata.h \
103 109 SOC/socmodel.h \
104 110 SOC/registerdata.h \
105 111 XmlEngine/xmldriver.h \
106 112 PeripheralWidget/src/peripheralwidget.h \
107 113 PeripheralWidget/src/registerwidget.h \
108 114 PeripheralWidget/src/socregsviewer.h \
109 115 SOC/socclk.h \
110 116 engine/socexplorerengine.h \
111 117 engine/socexplorerxmlfile.h \
112 118 plugins/socexplorerplugin.h \
113 119 pluginsInterface/socexplorerplugininterface.h \
114 120 pluginsInterface/socexplorerplugininterface_global.h \
115 121 proxy/socexplorerproxy.h \
116 122 SOC/socexplorerenumdevice.h \
117 123 PySocExplorerEngine.h
118 124
119 125
120 126
121 127
122 128
123 129
124 130 SOURCES += \
125 131 pluginloader/pluginscache.cpp \
126 132 pluginloader/pluginloader.cpp \
127 133 pluginManagerWdgt/plugintree.cpp \
128 134 pluginManagerWdgt/pluginmanagerWDGT.cpp \
129 135 pluginManagerWdgt/pluginlist.cpp \
130 136 pluginManagerWdgt/plugininfoswdgt.cpp \
131 137 XmlEngine/XMLmodel.cpp \
132 138 XmlEngine/XMLdata.cpp \
133 139 SOC/socmodel.cpp \
134 140 SOC/registerdata.cpp \
135 141 XmlEngine/xmldriver.cpp \
136 142 PeripheralWidget/src/peripheralwidget.cpp \
137 143 PeripheralWidget/src/registerwidget.cpp \
138 144 PeripheralWidget/src/socregsviewer.cpp \
139 145 SOC/socclk.cpp \
140 146 plugins/genericPySysdriver.cpp \
141 147 engine/socexplorerengine.cpp \
142 148 engine/socexplorerxmlfile.cpp \
143 149 proxy/socexplorerproxy.cpp \
144 150 SOC/socexplorerenumdevice.cpp \
145 151 plugins/socexplorerplugin.cpp
146 152
147 153
148 154 OTHER_FILES += \
149 155 plugins/socexplorerplugin.cpp \
150 156 pluginsInterface/socexplorerplugininterface.cpp \
151 157 plugins/socexplorerplugin.prf \
152 158 pythongenerator.sh \
153 159 pythonQtgeneratorCfg.txt
154 160
155 161
@@ -1,17 +1,17
1 1 [Desktop Entry]
2 2 Version=1.0
3 3 Name=SocExplorer
4 4 Name[en_US]=SocExplorer
5 5
6 6 Type=Application
7 7 GenericName=Soc Explorer
8 8
9 9 Comment=Software to monitor and explore Soc devices.
10 10
11 11 Exec=socexplorer -e %U
12 12 Icon=/usr/share/SocExplorer/icon.png
13 13 Terminal=false
14 14
15 15 Categories=Electronics;Engineering;
16 16
17 MimeType=text/x-python
17 MimeType=text/x-python;
General Comments 0
You need to be logged in to leave comments. Login now