wpa_gui.pro 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. TEMPLATE = app
  2. LANGUAGE = C++
  3. TRANSLATIONS = lang/wpa_gui_de.ts
  4. CONFIG += qt warn_on release
  5. DEFINES += CONFIG_CTRL_IFACE
  6. win32 {
  7. LIBS += -lws2_32 -static
  8. DEFINES += CONFIG_NATIVE_WINDOWS CONFIG_CTRL_IFACE_NAMED_PIPE
  9. SOURCES += ../../src/utils/os_win32.c
  10. } else:win32-g++ {
  11. # cross compilation to win32
  12. LIBS += -lws2_32 -static -mwindows
  13. DEFINES += CONFIG_NATIVE_WINDOWS CONFIG_CTRL_IFACE_NAMED_PIPE
  14. SOURCES += ../../src/utils/os_win32.c
  15. RESOURCES += icons_png.qrc
  16. } else:win32-x-g++ {
  17. # cross compilation to win32
  18. LIBS += -lws2_32 -static -mwindows
  19. DEFINES += CONFIG_NATIVE_WINDOWS CONFIG_CTRL_IFACE_NAMED_PIPE
  20. DEFINES += _X86_
  21. SOURCES += ../../src/utils/os_win32.c
  22. RESOURCES += icons_png.qrc
  23. } else {
  24. DEFINES += CONFIG_CTRL_IFACE_UNIX
  25. SOURCES += ../../src/utils/os_unix.c
  26. }
  27. INCLUDEPATH += . .. ../../src ../../src/utils
  28. HEADERS += wpamsg.h \
  29. wpagui.h \
  30. eventhistory.h \
  31. scanresults.h \
  32. scanresultsitem.h \
  33. signalbar.h \
  34. userdatarequest.h \
  35. networkconfig.h \
  36. addinterface.h \
  37. peers.h \
  38. stringquery.h
  39. SOURCES += main.cpp \
  40. wpagui.cpp \
  41. eventhistory.cpp \
  42. scanresults.cpp \
  43. scanresultsitem.cpp \
  44. signalbar.cpp \
  45. userdatarequest.cpp \
  46. networkconfig.cpp \
  47. addinterface.cpp \
  48. peers.cpp \
  49. stringquery.cpp \
  50. ../../src/common/wpa_ctrl.c
  51. RESOURCES += icons.qrc
  52. FORMS = wpagui.ui \
  53. eventhistory.ui \
  54. scanresults.ui \
  55. userdatarequest.ui \
  56. networkconfig.ui \
  57. peers.ui
  58. unix {
  59. UI_DIR = .ui
  60. MOC_DIR = .moc
  61. OBJECTS_DIR = .obj
  62. }