1. JIT Issue

错误描述

1
JIT is disabled for QML. Property bindings and animations will be very slow. Visit https://wiki.qt.io/V4 to learn about possible solutions for your platform.

解决方案:

  1. 参考Qt:QML 在嵌入式linux下环境变量设置设置qml环境变量,修改 /etc/profile 。参照这种方式,最终并未得到解决

    1
    2
    3
    export QTDIR=/opt/Qt5.8.0
    export QML_IMPORT_PATH=
    export QML2_IMPORT_PATH=$QTDIR/qml
  2. 参考 (solved) JIT is disabled for QML , 该问题在Qt5.9.1以下版本中普遍存在,需要升级Qt版本到5.9.2以上或者 KDE Frameworks 版本 5.4.0以上