Make "make install" work.

merge-requests/1/head
Teuniz 2015-05-30 14:40:20 +02:00
rodzic 702539db8d
commit 9dc166479c
3 zmienionych plików z 54 dodań i 0 usunięć

Wyświetl plik

@ -1,2 +1,19 @@
# DSRemote
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

Wyświetl plik

@ -40,6 +40,30 @@ SOURCES += signalcurve.cpp
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

Wyświetl plik

@ -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