-if is_depends_enabled $SPELL qt4; then
- PATH=$QT4DIR/bin:$PATH make wpa_gui-qt4
-fi &&
-
-if is_depends_enabled $SPELL qt-x11; then
- make wpa_gui
+if is_depends_enabled $SPELL qtbase; then
+ cd "$SOURCE_DIRECTORY/wpa_supplicant/wpa_gui-qt4" &&
+ qt5_build
fi
diff --git a/net/wpa_supplicant/DEPENDS b/net/wpa_supplicant/DEPENDS
index ef602be..db25d6f 100755
--- a/net/wpa_supplicant/DEPENDS
+++ b/net/wpa_supplicant/DEPENDS
@@ -31,7 +31,10 @@ if [[ $CONFIG_CTRL_IFACE != n ]]; then
"" \
"for Readline support in CLI frontend" &&
- optional_depends qt4 "" "" "to build wpa_gui, a Qt4-based GUI frontend"
+ optional_depends qtbase "" "" "to build wpa_gui, a Qt5-based GUI frontend"
&&
+ if is_depends_enabled $SPELL qtbase; then
+ depends qtsvg
+ fi
fi &&
optional_depends dbus \
diff --git a/net/wpa_supplicant/HISTORY b/net/wpa_supplicant/HISTORY
index 091673b..bae9fd9 100644
--- a/net/wpa_supplicant/HISTORY
+++ b/net/wpa_supplicant/HISTORY
@@ -1,3 +1,7 @@
+2018-09-08 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * DEPENDS, BUILD, INSTALL: use qt5 for the GUI, our qt4 spell hasn't
+ compiled in ages
+
2018-09-06 Ismael Luceno <ismael AT iodev.co.uk>
* libressl.patch: updated patch for libressl 2.7