rockbox/utils/regtools/qeditor/qeditor.pro
Amaury Pouly 5ac0166388 qeditor: port to the new hwstub library and add features
This commit adds support for the version of the hwstub library, which requires
a lot of changes. It also adds some editing features, such as register access
and much better editing of fields using the mouse (double click on a field
to be able to resize and move it).

Change-Id: I3c4e4cc855cb44911c72bc8127bad841b68efe52
2016-04-08 18:46:46 +01:00

35 lines
1,013 B
Prolog

QT += widgets
HEADERS += mainwindow.h backend.h regtab.h analyser.h settings.h \
std_analysers.h utils.h regdisplaypanel.h regedit.h
SOURCES += main.cpp mainwindow.cpp regtab.cpp backend.cpp analyser.cpp \
std_analysers.cpp settings.cpp utils.cpp regdisplaypanel.cpp regedit.cpp
LIBS += -L../lib/ -lsocdesc -lxml2
INCLUDEPATH += ../include/ ../../hwstub/include
DEPENDPATH += ../
CONFIG += c++11
libsocdesc.commands = cd ../lib && make
QMAKE_EXTRA_TARGETS += libsocdesc
PRE_TARGETDEPS += libsocdesc
VERSION = 3.0.0
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
unix {
!nohwstub {
message("Use 'qmake -config nohwstub' if you want to disable hwstub support")
libhwstub.commands = cd ../../hwstub/lib && make
QMAKE_EXTRA_TARGETS += libhwstub
PRE_TARGETDEPS += libhwstub
LIBS += -L../../hwstub/lib -lhwstub
DEPENDPATH += ../../hwstub
DEFINES += HAVE_HWSTUB
CONFIG += link_pkgconfig
PKGCONFIG += libusb-1.0
}
}
CONFIG += debug