fragattacks/wpa_supplicant/wpa_gui-qt4/wpa_gui.pro
Adrian Nowicki ad905e4a79 wpa_gui: Sort frequency and signal numerically in the scan results dialog
Signal strength was sorted lexically rather than numerically, which
put "-100 dBm" before "-50 dBm" if sorted in descending order.
This change fixes that. It also treats frequency in the same
manner, preparing it for the IEEE 802.11ah.

Signed-off-by: Adrian Nowicki <adinowicki@gmail.com>
2015-01-23 01:24:25 +02:00

73 lines
1.5 KiB
Prolog

TEMPLATE = app
LANGUAGE = C++
TRANSLATIONS = lang/wpa_gui_de.ts
CONFIG += qt warn_on release
DEFINES += CONFIG_CTRL_IFACE
win32 {
LIBS += -lws2_32 -static
DEFINES += CONFIG_NATIVE_WINDOWS CONFIG_CTRL_IFACE_NAMED_PIPE
SOURCES += ../../src/utils/os_win32.c
} else:win32-g++ {
# cross compilation to win32
LIBS += -lws2_32 -static -mwindows
DEFINES += CONFIG_NATIVE_WINDOWS CONFIG_CTRL_IFACE_NAMED_PIPE
SOURCES += ../../src/utils/os_win32.c
RESOURCES += icons_png.qrc
} else:win32-x-g++ {
# cross compilation to win32
LIBS += -lws2_32 -static -mwindows
DEFINES += CONFIG_NATIVE_WINDOWS CONFIG_CTRL_IFACE_NAMED_PIPE
DEFINES += _X86_
SOURCES += ../../src/utils/os_win32.c
RESOURCES += icons_png.qrc
} else {
DEFINES += CONFIG_CTRL_IFACE_UNIX
SOURCES += ../../src/utils/os_unix.c
}
INCLUDEPATH += . .. ../../src ../../src/utils
HEADERS += wpamsg.h \
wpagui.h \
eventhistory.h \
scanresults.h \
scanresultsitem.h \
signalbar.h \
userdatarequest.h \
networkconfig.h \
addinterface.h \
peers.h \
stringquery.h
SOURCES += main.cpp \
wpagui.cpp \
eventhistory.cpp \
scanresults.cpp \
scanresultsitem.cpp \
signalbar.cpp \
userdatarequest.cpp \
networkconfig.cpp \
addinterface.cpp \
peers.cpp \
stringquery.cpp \
../../src/common/wpa_ctrl.c
RESOURCES += icons.qrc
FORMS = wpagui.ui \
eventhistory.ui \
scanresults.ui \
userdatarequest.ui \
networkconfig.ui \
peers.ui
unix {
UI_DIR = .ui
MOC_DIR = .moc
OBJECTS_DIR = .obj
}