kopia lustrzana https://gitlab.com/Teuniz/DSRemote
Make "make install" work.
rodzic
702539db8d
commit
9dc166479c
17
README.md
17
README.md
|
@ -1,2 +1,19 @@
|
||||||
# DSRemote
|
# DSRemote
|
||||||
Operate your Rigol oscilloscope from your Linux desktop.
|
Operate your Rigol oscilloscope from your Linux desktop.
|
||||||
|
|
||||||
|
How to compile:
|
||||||
|
===============
|
||||||
|
|
||||||
|
Install the Qt4 development package.
|
||||||
|
For example, on openSuse, start Yast and install the package "libqt4-devel".
|
||||||
|
On Ubuntu, open a console and enter: sudo apt-get install libqt4-dev libqt4-core g++
|
||||||
|
|
||||||
|
Now, open a terminal (console) and cd to the directory that contains the source files and
|
||||||
|
enter the following commands:
|
||||||
|
|
||||||
|
qmake
|
||||||
|
make -j16
|
||||||
|
sudo make install
|
||||||
|
|
||||||
|
Now you can run the program by typing: dsremote
|
||||||
|
|
||||||
|
|
24
dsremote.pro
24
dsremote.pro
|
@ -40,6 +40,30 @@ SOURCES += signalcurve.cpp
|
||||||
|
|
||||||
RESOURCES = images.qrc
|
RESOURCES = images.qrc
|
||||||
|
|
||||||
|
target.path = /usr/bin
|
||||||
|
target.files = dsremote
|
||||||
|
INSTALLS += target
|
||||||
|
|
||||||
|
icon_a.path = /usr/share/icons
|
||||||
|
icon_a.files = images/r.png
|
||||||
|
INSTALLS += icon_a
|
||||||
|
|
||||||
|
icon_b.path += /usr/share/pixmaps
|
||||||
|
icon_b.files = images/r.png
|
||||||
|
INSTALLS += icon_b
|
||||||
|
|
||||||
|
icon_c.path += /usr/share/icons/hicolor/48x48/apps
|
||||||
|
icon_c.files = images/r.png
|
||||||
|
INSTALLS += icon_c
|
||||||
|
|
||||||
|
icon_d.path += /usr/share/icons/hicolor/48x48/mimetypes
|
||||||
|
icon_d.files = images/r.png
|
||||||
|
INSTALLS += icon_d
|
||||||
|
|
||||||
|
desktop_link.path += /usr/share/applications
|
||||||
|
desktop_link.files += install/dsremote.desktop
|
||||||
|
INSTALLS += desktop_link
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Name=DSRemote
|
||||||
|
GenericName=Oscilloscope
|
||||||
|
Comment=Operate your Rigol oscilloscope from your Linux desktop.
|
||||||
|
Icon=r
|
||||||
|
Exec=dsremote
|
||||||
|
Terminal=false
|
||||||
|
Categories=Science;Application;
|
||||||
|
MimeType=
|
||||||
|
InitialPreference=9
|
Ładowanie…
Reference in New Issue