wpa_gui.pro 1.5 KB

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