# HG changeset patch # User Olaf Wintermann # Date 1681566151 -7200 # Node ID 5065d0d52680b2ec6766d3a2d03c5f04763e0347 # Parent ad9edb4978570494296e77ca1436335e21e69e00 replace wpf with winui in the configure script diff -r ad9edb497857 -r 5065d0d52680 configure --- a/configure Sat Apr 15 15:40:31 2023 +0200 +++ b/configure Sat Apr 15 15:42:31 2023 +0200 @@ -415,16 +415,16 @@ echo no return 1 } -dependency_wpf() +dependency_winui() { - printf "checking for wpf... " - # dependency wpf platform="windows" + printf "checking for winui... " + # dependency winui platform="windows" while true do if isnotplatform "windows"; then break fi - CFLAGS="$CFLAGS -DUI_WPF" + CFLAGS="$CFLAGS -DUI_WINUI" echo yes return 0 done @@ -657,9 +657,9 @@ while true do if isplatform "windows"; then - checkopt_toolkit_wpf + checkopt_toolkit_winui if [ $? -eq 0 ]; then - echo " toolkit: wpf" >> $TEMP_DIR/options + echo " toolkit: winui" >> $TEMP_DIR/options ERROR=0 break fi diff -r ad9edb497857 -r 5065d0d52680 make/project.xml --- a/make/project.xml Sat Apr 15 15:40:31 2023 +0200 +++ b/make/project.xml Sat Apr 15 15:42:31 2023 +0200 @@ -21,8 +21,8 @@ -DUI_GTK2 -DUI_GTK2LEGACY -lpthread - - -DUI_WPF + + -DUI_WINUI which qmake-qt4 @@ -92,7 +92,7 @@ motif TOOLKIT = motif - +