Shatur / optimus-manager-qt

An interface for Optimus Manager that allows to switch GPUs on Optimus laptops.
GNU General Public License v3.0
231 stars 19 forks source link

error when installing: ‘const class QByteArray’ has no member named ‘chopped’ #70

Closed lyjdwh closed 4 years ago

lyjdwh commented 4 years ago

Bug description When I install optimus-manager-qt through yay, I get this error image

Steps to reproduce Steps to reproduce the behavior:

  1. yay -S optimus-manager-qt
  2. enter, enter ...
  3. See error

Expected behavior optimus-manager-qt is successfully installed!

Environment

Shatur commented 4 years ago

Can't reproduce, builds for me on Arch. The error says that chopped(int) function does not exists, but it has existed since version 5.10. Can you make clean build with yay (answer 1 o the first it question) and send me the output?

lyjdwh commented 4 years ago

This is the whole install process,still the same error

➜  ~ yay -S optimus-manager-qt
:: There are 2 providers available for optimus-manager-qt:
:: Repository AUR
    1) optimus-manager-qt 2) optimus-manager-qt-git

Enter a number (default=1):
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  optimus-manager-qt-1.5.3-1

  1 optimus-manager-qt               (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 1
:: Deleting (1/1): /home/liuyan/.cache/yay/optimus-manager-qt
:: Downloaded PKGBUILD (1/1): optimus-manager-qt
  1 optimus-manager-qt               (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: (1/1) Parsing SRCINFO: optimus-manager-qt
==> Making package: optimus-manager-qt 1.5.3-1 (2020年09月25日 星期五 17时07分57秒)
==> Retrieving sources...
  -> Downloading optimus-manager-qt-1.5.3.tar.gz...
Initializing download: https://github.com/Shatur95/optimus-manager-qt/archive/1.5.3.tar.gz
File size: 248016 bytes
Opening output file optimus-manager-qt-1.5.3.tar.gz.part
Starting download

Connection 1 unexpectedly closed
Connection 0 finished

Downloaded 242.203 Kilobyte(s) in 1 second(s). (157.68 KB/s)
  -> Downloading SingleApplication-3.1.3.1.tar.gz...
Initializing download: https://github.com/itay-grudev/SingleApplication/archive/v3.1.3.1.tar.gz
File size: 19139 bytes
Opening output file SingleApplication-3.1.3.1.tar.gz.part
Starting download

[100%] [................................................................................................................................] [  18.3KB/s] [00:00]

Downloaded 18.6904 Kilobyte(s) in 1 second(s). (18.28 KB/s)
==> Validating source files with sha256sums...
    optimus-manager-qt-1.5.3.tar.gz ... Passed
    SingleApplication-3.1.3.1.tar.gz ... Passed
==> Making package: optimus-manager-qt 1.5.3-1 (2020年09月25日 星期五 17时08分05秒)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found optimus-manager-qt-1.5.3.tar.gz
  -> Found SingleApplication-3.1.3.1.tar.gz
==> Validating source files with sha256sums...
    optimus-manager-qt-1.5.3.tar.gz ... Passed
    SingleApplication-3.1.3.1.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting optimus-manager-qt-1.5.3.tar.gz with bsdtar
  -> Extracting SingleApplication-3.1.3.1.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
==> Making package: optimus-manager-qt 1.5.3-1 (2020年09月25日 星期五 17时08分07秒)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
-- The CXX compiler identification is GNU 10.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found X11: /usr/include  found components: Xrandr
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/liuyan/.cache/yay/optimus-manager-qt/src/optimus-manager-qt-1.5.3/build
Scanning dependencies of target SingleApplication_autogen
[  4%] Automatic MOC and UIC for target SingleApplication
[  4%] Built target SingleApplication_autogen
Scanning dependencies of target SingleApplication
[  8%] Building CXX object src/third-party/singleapplication/CMakeFiles/SingleApplication.dir/SingleApplication_autogen/mocs_compilation.cpp.o
[ 12%] Building CXX object src/third-party/singleapplication/CMakeFiles/SingleApplication.dir/singleapplication.cpp.o
[ 16%] Building CXX object src/third-party/singleapplication/CMakeFiles/SingleApplication.dir/singleapplication_p.cpp.o
[ 20%] Linking CXX static library libSingleApplication.a
[ 20%] Built target SingleApplication
Scanning dependencies of target optimus-manager-qt_autogen
[ 24%] Automatic MOC and UIC for target optimus-manager-qt
[ 24%] Built target optimus-manager-qt_autogen
[ 28%] Generating optimus-manager-qt_pt_BR.qm
[ 32%] Generating optimus-manager-qt_de_DE.qm
[ 40%] Generating optimus-manager-qt_hu_HU.qm
[ 40%] Automatic RCC for data/icons/flags/flags.qrc
[ 44%] Generating optimus-manager-qt_es_ES.qm
[ 48%] Generating optimus-manager-qt_fi_FI.qm
[ 52%] Generating optimus-manager-qt_ru_RU.qm
[ 56%] Generating optimus-manager-qt_tr_TR.qm
[ 60%] Generating optimus-manager-qt_zh_CN.qm
Updating '/home/liuyan/.cache/yay/optimus-manager-qt/src/optimus-manager-qt-1.5.3/build/optimus-manager-qt_hu_HU.qm'...
Updating '/home/liuyan/.cache/yay/optimus-manager-qt/src/optimus-manager-qt-1.5.3/build/optimus-manager-qt_pt_BR.qm'...
Updating '/home/liuyan/.cache/yay/optimus-manager-qt/src/optimus-manager-qt-1.5.3/build/optimus-manager-qt_de_DE.qm'...
    Generated 125 translation(s) (125 finished and 0 unfinished)
    Generated 125 translation(s) (125 finished and 0 unfinished)
    Generated 125 translation(s) (62 finished and 63 unfinished)
Updating '/home/liuyan/.cache/yay/optimus-manager-qt/src/optimus-manager-qt-1.5.3/build/optimus-manager-qt_es_ES.qm'...
    Generated 125 translation(s) (59 finished and 66 unfinished)
Updating '/home/liuyan/.cache/yay/optimus-manager-qt/src/optimus-manager-qt-1.5.3/build/optimus-manager-qt_fi_FI.qm'...
Updating '/home/liuyan/.cache/yay/optimus-manager-qt/src/optimus-manager-qt-1.5.3/build/optimus-manager-qt_tr_TR.qm'...
    Generated 125 translation(s) (63 finished and 62 unfinished)
Updating '/home/liuyan/.cache/yay/optimus-manager-qt/src/optimus-manager-qt-1.5.3/build/optimus-manager-qt_ru_RU.qm'...
    Generated 125 translation(s) (125 finished and 0 unfinished)
    Generated 125 translation(s) (125 finished and 0 unfinished)
Updating '/home/liuyan/.cache/yay/optimus-manager-qt/src/optimus-manager-qt-1.5.3/build/optimus-manager-qt_zh_CN.qm'...
    Generated 125 translation(s) (32 finished and 93 unfinished)
Scanning dependencies of target optimus-manager-qt
[ 64%] Building CXX object CMakeFiles/optimus-manager-qt.dir/src/main.cpp.o
[ 68%] Building CXX object CMakeFiles/optimus-manager-qt.dir/src/optimusmanager.cpp.o
[ 76%] Building CXX object CMakeFiles/optimus-manager-qt.dir/src/settingsdialog.cpp.o
[ 80%] Building CXX object CMakeFiles/optimus-manager-qt.dir/src/appsettings.cpp.o
[ 80%] Building CXX object CMakeFiles/optimus-manager-qt.dir/optimus-manager-qt_autogen/mocs_compilation.cpp.o
[ 84%] Building CXX object CMakeFiles/optimus-manager-qt.dir/src/daemonclient.cpp.o
[ 88%] Building CXX object CMakeFiles/optimus-manager-qt.dir/src/optimussettings.cpp.o
[ 96%] Building CXX object CMakeFiles/optimus-manager-qt.dir/optimus-manager-qt_autogen/IQC7CZHEND/qrc_flags.cpp.o
[ 96%] Building CXX object CMakeFiles/optimus-manager-qt.dir/src/x11deleters.cpp.o
/home/liuyan/.cache/yay/optimus-manager-qt/src/optimus-manager-qt-1.5.3/src/optimusmanager.cpp: In static member function ‘static bool OptimusManager::killProcess(const QByteArray&)’:
/home/liuyan/.cache/yay/optimus-manager-qt/src/optimus-manager-qt-1.5.3/src/optimusmanager.cpp:548:51: error: ‘const class QByteArray’ has no member named ‘chopped’; did you mean ‘chop’?
  548 |         if (!processPath.isEmpty() && processPath.chopped(1) == name) {
      |                                                   ^~~~~~~
      |                                                   chop
make[2]: *** [CMakeFiles/optimus-manager-qt.dir/build.make:181: CMakeFiles/optimus-manager-qt.dir/src/optimusmanager.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:118: CMakeFiles/optimus-manager-qt.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: optimus-manager-qt
Shatur commented 4 years ago

Interesting... Could you try yay -S optimus-manager-qt-git?

lyjdwh commented 4 years ago

yay -S optimus-manager-qt-git gets the same error :)

➜  ~ yay -S optimus-manager-qt-git
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  optimus-manager-qt-git-1.5.1.r6.g7eb0c9f-1

  1 optimus-manager-qt-git           (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 1
:: Deleting (1/1): /home/liuyan/.cache/yay/optimus-manager-qt-git
:: Downloaded PKGBUILD (1/1): optimus-manager-qt-git
  1 optimus-manager-qt-git           (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
:: (1/1) Parsing SRCINFO: optimus-manager-qt-git
==> Making package: optimus-manager-qt-git 1.5.1.r6.g7eb0c9f-1 (2020年09月25日 星期五 17时19分26秒)
==> Retrieving sources...
  -> Cloning optimus-manager-qt git repo...
Cloning into bare repository '/home/liuyan/.cache/yay/optimus-manager-qt-git/optimus-manager-qt'...
remote: Enumerating objects: 100, done.
remote: Counting objects: 100% (100/100), done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 2684 (delta 61), reused 40 (delta 22), pack-reused 2584
Receiving objects: 100% (2684/2684), 1.09 MiB | 825.00 KiB/s, done.
Resolving deltas: 100% (1967/1967), done.
==> Validating source files with sha256sums...
    optimus-manager-qt ... Skipped
==> Making package: optimus-manager-qt-git 1.5.1.r6.g7eb0c9f-1 (2020年09月25日 星期五 17时19分31秒)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating optimus-manager-qt git repo...
Fetching origin
==> Validating source files with sha256sums...
    optimus-manager-qt ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of optimus-manager-qt git repo...
Cloning into 'optimus-manager-qt'...
done.
==> Starting prepare()...
Submodule 'src/third-party/singleapplication' (https://github.com/itay-grudev/SingleApplication) registered for path 'src/third-party/singleapplication'
Cloning into '/home/liuyan/.cache/yay/optimus-manager-qt-git/src/optimus-manager-qt/src/third-party/singleapplication'...
Submodule path 'src/third-party/singleapplication': checked out '318e8930738f71112240818ab46f4ce6bac8b1c3'
==> Starting pkgver()...
==> Updated version: optimus-manager-qt-git 1.5.3.r16.gfb6053e-1
==> Sources are ready.
==> Making package: optimus-manager-qt-git 1.5.3.r16.gfb6053e-1 (2020年09月25日 星期五 17时19分36秒)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
-- The CXX compiler identification is GNU 10.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found X11: /usr/include  found components: Xrandr
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/liuyan/.cache/yay/optimus-manager-qt-git/src/optimus-manager-qt/build
Scanning dependencies of target SingleApplication_autogen
[  3%] Automatic MOC and UIC for target SingleApplication
[  3%] Built target SingleApplication_autogen
Scanning dependencies of target SingleApplication
[ 11%] Building CXX object src/third-party/singleapplication/CMakeFiles/SingleApplication.dir/singleapplication.cpp.o
[ 11%] Building CXX object src/third-party/singleapplication/CMakeFiles/SingleApplication.dir/SingleApplication_autogen/mocs_compilation.cpp.o
[ 15%] Building CXX object src/third-party/singleapplication/CMakeFiles/SingleApplication.dir/singleapplication_p.cpp.o
[ 19%] Linking CXX static library libSingleApplication.a
[ 19%] Built target SingleApplication
Scanning dependencies of target optimus-manager-qt_autogen
[ 23%] Automatic MOC and UIC for target optimus-manager-qt
[ 23%] Built target optimus-manager-qt_autogen
[ 34%] Automatic RCC for data/icons/flags/flags.qrc
[ 34%] Generating optimus-manager-qt_de_DE.qm
[ 34%] Generating optimus-manager-qt_hu_HU.qm
[ 38%] Generating optimus-manager-qt_fi_FI.qm
[ 46%] Generating optimus-manager-qt_pt_BR.qm
[ 46%] Generating optimus-manager-qt_ro_RO.qm
[ 50%] Generating optimus-manager-qt_tr_TR.qm
[ 53%] Generating optimus-manager-qt_es_ES.qm
[ 57%] Generating optimus-manager-qt_ru_RU.qm
[ 61%] Generating optimus-manager-qt_zh_CN.qm
Updating '/home/liuyan/.cache/yay/optimus-manager-qt-git/src/optimus-manager-qt/build/optimus-manager-qt_fi_FI.qm'...
    Generated 125 translation(s) (125 finished and 0 unfinished)
Updating '/home/liuyan/.cache/yay/optimus-manager-qt-git/src/optimus-manager-qt/build/optimus-manager-qt_ru_RU.qm'...
Updating '/home/liuyan/.cache/yay/optimus-manager-qt-git/src/optimus-manager-qt/build/optimus-manager-qt_hu_HU.qm'...
    Generated 127 translation(s) (127 finished and 0 unfinished)
Updating '/home/liuyan/.cache/yay/optimus-manager-qt-git/src/optimus-manager-qt/build/optimus-manager-qt_de_DE.qm'...
    Generated 125 translation(s) (125 finished and 0 unfinished)
Updating '/home/liuyan/.cache/yay/optimus-manager-qt-git/src/optimus-manager-qt/build/optimus-manager-qt_pt_BR.qm'...
    Generated 125 translation(s) (62 finished and 63 unfinished)
Updating '/home/liuyan/.cache/yay/optimus-manager-qt-git/src/optimus-manager-qt/build/optimus-manager-qt_ro_RO.qm'...
Updating '/home/liuyan/.cache/yay/optimus-manager-qt-git/src/optimus-manager-qt/build/optimus-manager-qt_es_ES.qm'...
    Generated 127 translation(s) (127 finished and 0 unfinished)
    Generated 125 translation(s) (59 finished and 66 unfinished)
    Generated 125 translation(s) (125 finished and 0 unfinished)
Updating '/home/liuyan/.cache/yay/optimus-manager-qt-git/src/optimus-manager-qt/build/optimus-manager-qt_zh_CN.qm'...
Updating '/home/liuyan/.cache/yay/optimus-manager-qt-git/src/optimus-manager-qt/build/optimus-manager-qt_tr_TR.qm'...
    Generated 125 translation(s) (32 finished and 93 unfinished)
    Generated 125 translation(s) (63 finished and 62 unfinished)
Scanning dependencies of target optimus-manager-qt
[ 65%] Building CXX object CMakeFiles/optimus-manager-qt.dir/src/daemonclient.cpp.o
[ 73%] Building CXX object CMakeFiles/optimus-manager-qt.dir/optimus-manager-qt_autogen/mocs_compilation.cpp.o
[ 73%] Building CXX object CMakeFiles/optimus-manager-qt.dir/src/optimusmanager.cpp.o
[ 76%] Building CXX object CMakeFiles/optimus-manager-qt.dir/src/appsettings.cpp.o
[ 80%] Building CXX object CMakeFiles/optimus-manager-qt.dir/src/settingsdialog.cpp.o
[ 84%] Building CXX object CMakeFiles/optimus-manager-qt.dir/src/main.cpp.o
[ 88%] Building CXX object CMakeFiles/optimus-manager-qt.dir/src/optimussettings.cpp.o
[ 92%] Building CXX object CMakeFiles/optimus-manager-qt.dir/src/x11deleters.cpp.o
[ 96%] Building CXX object CMakeFiles/optimus-manager-qt.dir/optimus-manager-qt_autogen/IQC7CZHEND/qrc_flags.cpp.o
/home/liuyan/.cache/yay/optimus-manager-qt-git/src/optimus-manager-qt/src/optimusmanager.cpp: In static member function ‘static bool OptimusManager::killProcess(const QByteArray&)’:
/home/liuyan/.cache/yay/optimus-manager-qt-git/src/optimus-manager-qt/src/optimusmanager.cpp:549:51: error: ‘const class QByteArray’ has no member named ‘chopped’; did you mean ‘chop’?
  549 |         if (!processPath.isEmpty() && processPath.chopped(1) == name) {
      |                                                   ^~~~~~~
      |                                                   chop
make[2]: *** [CMakeFiles/optimus-manager-qt.dir/build.make:186: CMakeFiles/optimus-manager-qt.dir/src/optimusmanager.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:118: CMakeFiles/optimus-manager-qt.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: optimus-manager-qt-git
Shatur commented 4 years ago

Hm... Could you show me pacman -Qi qt5-base?

lyjdwh commented 4 years ago

pacman -Qi qt5-base gets this:

➜  ~ pacman -Qi qt5-base
Name            : qt5-base
Version         : 5.15.0-5
Description     : A cross-platform application and UI framework
Architecture    : x86_64
URL             : https://www.qt.io
Licenses        : GPL3  LGPL3  FDL  custom
Groups          : qt  qt5
Provides        : None
Depends On      : libjpeg-turbo  xcb-util-keysyms  xcb-util-renderutil  libgl  fontconfig  xdg-utils  shared-mime-info  xcb-util-wm  libxrender  libxi
                  sqlite  xcb-util-image  mesa  tslib  libinput  libxkbcommon-x11  libproxy  libcups  double-conversion  md4c  icu
Optional Deps   : qt5-svg: to use SVG icon themes [installed]
                  qt5-wayland: to run Qt applications in a Wayland session [installed]
                  qt5-translations: for some native UI translations [installed]
                  postgresql-libs: PostgreSQL driver
                  mariadb-libs: MariaDB driver
                  unixodbc: ODBC driver
                  libfbclient: Firebird/iBase driver
                  freetds: MS SQL driver
                  gtk3: GTK platform plugin [installed]
                  perl: for fixqt4headers and syncqt [installed]
Required By     : appstream-qt  attica  bluez-qt  fcitx5-qt  flameshot-git  imagewriter  karchive  kcodecs  kconfig  kcoreaddons  kdnssd  kdsoap  kholidays
                  kimageformats  kitemmodels  kitemviews  kjs  kuserfeedback  kvantum-qt5  kwayland-server  kwidgetsaddons  libaccounts-qt  libdbusmenu-qt5
                  libkdcraw  libkexiv2  manjaro-settings-manager  modemmanager-qt  networkmanager-qt  phonon-qt5  polkit-qt5  poppler-qt5  prison
                  pulseaudio-qt  python-pyqt5  qbittorrent  qca  qgpgme  qscintilla-qt5  qt5-charts  qt5-declarative  qt5-imageformats  qt5-multimedia
                  qt5-script  qt5-sensors  qt5-svg  qt5-tools  qt5-translations  qt5-x11extras  signond  solid  sonnet  syntax-highlighting  threadweaver
                  vlc
Optional For    : avahi  cmake  cppcheck  graphviz  libde265  netease-musicbox  openal  pinentry  v4l-utils
Conflicts With  : qtchooser
Replaces        : None
Installed Size  : 64.03 MiB
Packager        : Philip Mueller <philm@manjaro.org>
Build Date      : 2020年08月28日 星期五 14时56分00秒
Install Date    : 2020年09月14日 星期一 22时46分09秒
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature
Shatur commented 4 years ago

Could you try yay -S optimus-manager-qt-git again? I specified minimum required version.

lyjdwh commented 4 years ago

This time I get some cmake warning that

-- Configuring done
CMake Warning at CMakeLists.txt:50 (add_executable):
  Cannot generate a safe runtime search path for target optimus-manager-qt
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libQt5DBus.so.5] in /usr/lib may be hidden by files in:
      /home/liuyan/.conda/envs/torch/lib
    runtime library [libQt5X11Extras.so.5] in /usr/lib may be hidden by files in:
      /home/liuyan/.conda/envs/torch/lib

  Some of these libraries may not be found correctly.

-- Generating done
-- Build files have been written to: /home/liuyan/.cache/yay/optimus-manager-qt-git/src/optimus-manager-qt/build

It seems anaconda environment make some libraries may not be found correctly. After I remove /home/liuyan/.conda/envs/torch/bin from PATH, it is all going well!!! Don't know why I didn't get cmake warning before. Thanks for your help very much!

Shatur commented 4 years ago

Perhaps you just had old Qt version libraries in the PATH :) In the new version I have specified the minimum Qt version requirement and you got this warning.