diff --git a/configure b/configure index b1176eef8..2710aa5ac 100755 --- a/configure +++ b/configure @@ -6697,8 +6697,9 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: Running qmake to generate the makefile..." >&5 $as_echo "$as_me: Running qmake to generate the makefile..." >&6;} +CONFDIR="$( cd "$( dirname "$0" )" && pwd )" -$QT_QMAKE qbittorrent.pro +$QT_QMAKE $CONFDIR/qbittorrent.pro ret="$?" diff --git a/configure.ac b/configure.ac index 292623013..845e5c17d 100644 --- a/configure.ac +++ b/configure.ac @@ -183,8 +183,9 @@ AC_OUTPUT(conf.pri) AC_MSG_NOTICE([Running qmake to generate the makefile...]) +CONFDIR="$( cd "$( dirname "$0" )" && pwd )" -$QT_QMAKE qbittorrent.pro +$QT_QMAKE [$CONFDIR]/qbittorrent.pro ret="$?"