blob: f8a7333e28caddc897add6da8232a28195cc026c (
plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
diff --git a/ykman-cli/ykman-cli.pro b/ykman-cli/ykman-cli.pro
index bd941d7..b6fbfbc 100644
--- a/ykman-cli/ykman-cli.pro
+++ b/ykman-cli/ykman-cli.pro
@@ -6,7 +6,7 @@ CONFIG -= app_bundle
TEMPLATE = app
SOURCES += main.cpp
-buildqrc.commands = python ../build_qrc.py ${QMAKE_FILE_IN}
+buildqrc.commands = python3 ../build_qrc.py ${QMAKE_FILE_IN}
buildqrc.input = QRC_JSON
buildqrc.output = ${QMAKE_FILE_IN_BASE}.qrc
buildqrc.variable_out = RESOURCES
@@ -14,7 +14,7 @@ QMAKE_STRIPFLAGS_LIB += --strip-unneeded
QMAKE_EXTRA_COMPILERS += buildqrc
QRC_JSON = resources.json
# Generate first time
-system(python ../build_qrc.py resources.json)
+system(python3 ../build_qrc.py resources.json)
# Install python dependencies with pip for win and mac
mac|win32 {
diff --git a/ykman-gui/ykman-gui.pro b/ykman-gui/ykman-gui.pro
index f9772f5..b9c0df1 100644
--- a/ykman-gui/ykman-gui.pro
+++ b/ykman-gui/ykman-gui.pro
@@ -14,7 +14,7 @@ DEFINES += APP_VERSION=\\\"1.1.3\\\"
message(Version of this build: $$VERSION)
-buildqrc.commands = python ../build_qrc.py ${QMAKE_FILE_IN}
+buildqrc.commands = python3 ../build_qrc.py ${QMAKE_FILE_IN}
buildqrc.input = QRC_JSON
buildqrc.output = ${QMAKE_FILE_IN_BASE}.qrc
buildqrc.variable_out = RESOURCES
@@ -25,7 +25,7 @@ QMAKE_EXTRA_COMPILERS += buildqrc
QRC_JSON = resources.json
# Generate first time
-system(python ../build_qrc.py resources.json)
+system(python3 ../build_qrc.py resources.json)
# Install python dependencies with pip on mac and win
win32|macx {
|