From 04f52465294917fcb634968b36c6941485466121 Mon Sep 17 00:00:00 2001 From: VE9GJ Glenn Taylor Date: Tue, 18 Sep 2012 19:43:40 -0300 Subject: [PATCH] Added powermate.cpp and .h to QtRadio.pro to build with qmake --- README | 5 +++-- trunk/src/QtRadio/QtRadio.pro | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README b/README index 8731ea06..f5bee239 100644 --- a/README +++ b/README @@ -298,7 +298,8 @@ and add the following: SUBSYSTEMS=="usb",ATTRS{idVendor}=="077d",ATTRS{idProduct}=="0410",SYMLINK+="powermate",MODE="666" -reboot and do: +reboot and do: (Or for Ubuntu /Debian sudo service udev restart and uplug and plug the powermate) + $ ls -l /dev/powermate @@ -318,7 +319,7 @@ Create a file called 99-input.rules and put in it: KERNEL=="event*", NAME="input/%k", MODE="660", GROUP="input" KERNEL=="js*", NAME="input/%k", MODE="664", GROUP="input" -and reboot. +and reboot. (Or for Ubuntu /Debian sudo service udev restart and uplug and plug the powermate) diff --git a/trunk/src/QtRadio/QtRadio.pro b/trunk/src/QtRadio/QtRadio.pro index 05a238cf..ac42562c 100755 --- a/trunk/src/QtRadio/QtRadio.pro +++ b/trunk/src/QtRadio/QtRadio.pro @@ -92,7 +92,8 @@ SOURCES += main.cpp\ servers.cpp \ G711A.cpp \ RTP.cpp \ - hardware.cpp + hardware.cpp\ + powermate.cpp HEADERS += \ @@ -143,7 +144,8 @@ HEADERS += \ G711A.h \ RTP.h \ cusdr_queue.h \ - hardware.h + hardware.h\ + powermate.h FORMS += \ UI.ui \