Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / network / WirelessManager / wpa_supplicant / wpa_gui / wpa_gui.pro
bloba42a4ac843f2aa0a5850f5737698ab6fa40cf291
1 TEMPLATE = app
2 LANGUAGE = C++
4 CONFIG += qt warn_on release
6 DEFINES += CONFIG_CTRL_IFACE
8 win32 {
9 LIBS += -lws2_32 -static
10 DEFINES += CONFIG_NATIVE_WINDOWS CONFIG_CTRL_IFACE_NAMED_PIPE
11 SOURCES += ../../src/utils/os_win32.c
12 } else:win32-g++ {
13 # cross compilation to win32
14 LIBS += -lws2_32 -static
15 DEFINES += CONFIG_NATIVE_WINDOWS CONFIG_CTRL_IFACE_NAMED_PIPE
16 SOURCES += ../../src/utils/os_win32.c
17 } else {
18 DEFINES += CONFIG_CTRL_IFACE_UNIX
19 SOURCES += ../../src/utils/os_unix.c
22 INCLUDEPATH += . .. ../../src ../../src/utils
24 HEADERS += wpamsg.h
26 SOURCES += main.cpp \
27 ../../src/common/wpa_ctrl.c
29 FORMS = wpagui.ui \
30 eventhistory.ui \
31 scanresults.ui \
32 userdatarequest.ui \
33 networkconfig.ui
36 unix {
37 UI_DIR = .ui
38 MOC_DIR = .moc
39 OBJECTS_DIR = .obj
42 qtver = $$[QT_VERSION]
43 isEmpty( qtver ) {
44 message(Compiling for Qt 3.x)
45 DEFINES += Q3ListViewItem=QListViewItem
46 } else {
47 message(Compiling for Qt $$qtver)
48 QT += qt3support
49 CONFIG += uic3