Link to, and adjust types for, the PCSC framework included with OSX
[mech_eap.git] / wpa_supplicant / wpa_gui-qt4 / wpa_gui.pro
index 0f94f48..3fa734b 100644 (file)
@@ -1,5 +1,7 @@
 TEMPLATE       = app
 LANGUAGE       = C++
+TRANSLATIONS   = lang/wpa_gui_de.ts
+greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
 
 CONFIG += qt warn_on release
 
@@ -11,8 +13,15 @@ win32 {
   SOURCES += ../../src/utils/os_win32.c
 } else:win32-g++ {
   # cross compilation to win32
-  LIBS += -lws2_32 -static
+  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 {
@@ -20,21 +29,31 @@ win32 {
   SOURCES += ../../src/utils/os_unix.c
 }
 
-INCLUDEPATH    += . .. ../../src/utils ../../src/common
+INCLUDEPATH    += . .. ../../src ../../src/utils
 
 HEADERS        += wpamsg.h \
        wpagui.h \
        eventhistory.h \
        scanresults.h \
+       scanresultsitem.h \
+       signalbar.h \
        userdatarequest.h \
-       networkconfig.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
@@ -43,7 +62,8 @@ FORMS = wpagui.ui \
        eventhistory.ui \
        scanresults.ui \
        userdatarequest.ui \
-       networkconfig.ui
+       networkconfig.ui \
+       peers.ui
 
 
 unix {