2008-02-28 02:34:43 +01:00
|
|
|
TEMPLATE = app
|
|
|
|
LANGUAGE = C++
|
2010-04-11 21:58:08 +02:00
|
|
|
TRANSLATIONS = lang/wpa_gui_de.ts
|
2008-02-28 02:34:43 +01:00
|
|
|
|
|
|
|
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
|
2008-11-21 13:26:11 +01:00
|
|
|
LIBS += -lws2_32 -static -mwindows
|
2008-02-28 02:34:43 +01:00
|
|
|
DEFINES += CONFIG_NATIVE_WINDOWS CONFIG_CTRL_IFACE_NAMED_PIPE
|
|
|
|
SOURCES += ../../src/utils/os_win32.c
|
2008-11-21 12:58:12 +01:00
|
|
|
RESOURCES += icons_png.qrc
|
2008-12-20 16:50:13 +01:00
|
|
|
} 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
|
2008-02-28 02:34:43 +01:00
|
|
|
} else {
|
|
|
|
DEFINES += CONFIG_CTRL_IFACE_UNIX
|
|
|
|
SOURCES += ../../src/utils/os_unix.c
|
|
|
|
}
|
|
|
|
|
2009-11-29 16:51:55 +01:00
|
|
|
INCLUDEPATH += . .. ../../src ../../src/utils
|
2008-02-28 02:34:43 +01:00
|
|
|
|
|
|
|
HEADERS += wpamsg.h \
|
|
|
|
wpagui.h \
|
|
|
|
eventhistory.h \
|
|
|
|
scanresults.h \
|
2015-01-15 17:53:38 +01:00
|
|
|
scanresultsitem.h \
|
2011-11-19 19:10:37 +01:00
|
|
|
signalbar.h \
|
2008-02-28 02:34:43 +01:00
|
|
|
userdatarequest.h \
|
2008-12-25 15:38:09 +01:00
|
|
|
networkconfig.h \
|
2009-09-08 15:28:41 +02:00
|
|
|
addinterface.h \
|
2009-09-10 13:43:08 +02:00
|
|
|
peers.h \
|
|
|
|
stringquery.h
|
2008-02-28 02:34:43 +01:00
|
|
|
|
|
|
|
SOURCES += main.cpp \
|
|
|
|
wpagui.cpp \
|
|
|
|
eventhistory.cpp \
|
|
|
|
scanresults.cpp \
|
2015-01-15 17:53:38 +01:00
|
|
|
scanresultsitem.cpp \
|
2011-11-19 19:10:37 +01:00
|
|
|
signalbar.cpp \
|
2008-02-28 02:34:43 +01:00
|
|
|
userdatarequest.cpp \
|
|
|
|
networkconfig.cpp \
|
2008-12-25 15:38:09 +01:00
|
|
|
addinterface.cpp \
|
2009-09-08 15:28:41 +02:00
|
|
|
peers.cpp \
|
2009-09-10 13:43:08 +02:00
|
|
|
stringquery.cpp \
|
2008-02-28 02:34:43 +01:00
|
|
|
../../src/common/wpa_ctrl.c
|
|
|
|
|
2008-09-24 11:22:50 +02:00
|
|
|
RESOURCES += icons.qrc
|
|
|
|
|
2008-02-28 02:34:43 +01:00
|
|
|
FORMS = wpagui.ui \
|
|
|
|
eventhistory.ui \
|
|
|
|
scanresults.ui \
|
|
|
|
userdatarequest.ui \
|
2009-09-08 15:28:41 +02:00
|
|
|
networkconfig.ui \
|
|
|
|
peers.ui
|
2008-02-28 02:34:43 +01:00
|
|
|
|
|
|
|
|
|
|
|
unix {
|
|
|
|
UI_DIR = .ui
|
|
|
|
MOC_DIR = .moc
|
|
|
|
OBJECTS_DIR = .obj
|
|
|
|
}
|