diff --git a/Building/Linux/mkOSDistDeb-NN.sh b/Building/Linux/mkOSDistDeb-NN.sh index 25ee3b80..ac96e14f 100755 --- a/Building/Linux/mkOSDistDeb-NN.sh +++ b/Building/Linux/mkOSDistDeb-NN.sh @@ -148,8 +148,9 @@ qtver=$PKGVERS getPkg libdouble dblPkg=$PKGNAME +corePkg=$PKGNAME -echo "QT version " $qtver +echo "QT name version " $corePkg $qtver echo "DblConv package " $dblPkg # clean folders need to create the package @@ -241,7 +242,7 @@ fpm --input-type dir --output-type deb \ --depends $dblPkg \ --depends libpcre16-3 \ --depends qttranslations5-l10n \ - --depends "libqt5core5a >= 5.9" \ + --depends "${corePkg} >= ${qtver}" \ --depends libqt5serialport5 \ --depends libqt5xml5 \ --depends libqt5network5 \