rockbox/utils/regtools/qeditor/qeditor.pro
Amaury Pouly 0e0c610df0 utils/regtools: make qeditor able to poke directly at a hwstub device
This commit add the very handy feature of being able to read registers
directly from a device using hwstub. This is mostly trivial using the hwstub
library and the biggest change here is actually:
- being able to read registers by name and/or addresses
- being able to enumerate devives
The UI code currently doesn't handle hotplug but the backend does so it should
be trivial to add in the future. It also opens up the possibility the write
registers from hwstub or save the register values to a file.
Since it relies on both hwstub and libusb, a switch has been introduced in
qmake to disable it (use -config nohwstub).

Change-Id: I5d7d7a2a7c97ecd7407227357c8553c2773ea6cc
2014-02-10 23:14:25 +01:00

18 lines
549 B
Prolog

QT += widgets
HEADERS += mainwindow.h backend.h regtab.h analyser.h settings.h std_analysers.h
SOURCES += main.cpp mainwindow.cpp regtab.cpp backend.cpp analyser.cpp std_analysers.cpp settings.cpp
LIBS += -L../lib/ -lsocdesc -lxml2
INCLUDEPATH += ../lib/ ../../hwstub/lib
unix {
!nohwstub {
message("Use 'qmake -config nohwstub' if you want to disable hwstub support")
LIBS += -L../../hwstub/lib -lhwstub
DEFINES += HAVE_HWSTUB
CONFIG += link_pkgconfig
PKGCONFIG += libusb-1.0
}
}
CONFIG += debug