diff -rauN bacula-13.0.1/configure bacula-13.0.1-look-for-qt-order-patch/configure --- bacula-13.0.1/configure 2022-08-05 17:13:35.000000000 +0200 +++ bacula-13.0.1-look-for-qt-order-patch/configure 2022-12-01 06:58:25.828032900 +0100 @@ -22000,15 +22000,15 @@ BAT_DIR= if test x$support_bat = xyes; then - abc=`$PKG_CONFIG QtGui` + abc=`$PKG_CONFIG Qt5Gui` pkg=$? if test $pkg = 0; then - BAT_DIR=src/qt-console + BAT_DIR="src/qt-console src/qt-console/tray-monitor" else - abc=`$PKG_CONFIG Qt5Gui` + abc=`$PKG_CONFIG QtGui` pkg=$? if test $pkg = 0; then - BAT_DIR="src/qt-console src/qt-console/tray-monitor" + BAT_DIR=src/qt-console else as_fn_error $? "Unable to find either Qt4 or Qt5 installation needed by bat" "$LINENO" 5 fi