File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed
Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,17 @@ git version)
1313 cd pcb2gcodeGUI/
1414 qmake
1515 make
16+ sudo make install
1617
1718Now just run the built executable with
1819
19- ./pcb2gcodeGUI
20+ pcb2gcodeGUI
21+
22+ You can also specify a different installation path with
23+
24+ qmake PREFIX=<prefix path>
25+
26+ pcb2gcodeGUI will be installed in PREFIX/bin
2027
2128### Build on Debian Wheezy
2229You need wheezy-backports: add this line to /etc/apt/sources.list
Original file line number Diff line number Diff line change 1- # -------------------------------------------------
2- #
3- # Project created by QtCreator 2014-12-30T13:44:55
4- #
5- # -------------------------------------------------
6-
71QT += core gui
82
93greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
104
5+ isEmpty (PREFIX ) {
6+ PREFIX = /usr/local
7+ }
8+
119TARGET = pcb2gcodeGUI
10+ target.path = $$PREFIX /bin
11+
12+ INSTALLS += target
13+
1214TEMPLATE = app
1315
1416SOURCES += main.cpp \
@@ -23,3 +25,4 @@ HEADERS += mainwindow.h \
2325
2426FORMS += mainwindow.ui \
2527 outputwindow.ui
28+
You can’t perform that action at this time.
0 commit comments