1. 将 Qt-5.6.2-everywhere 目录下的 lib, plugins, qml 这三个目录 copy 到目标主板的 /opt 目录下
2. 设置环境变量 vi /root/.bashrc 加入:
export QML2_IMPORT_PATH=
export QML_IMPORT_PATH=
export LD_LIBRARY_PATH=
export QT_QPA_EGLFS_PHYSICAL_HEIGHT=
export QT_QPA_EGLFS_PHYSICAL_WIDTH=
export QT_QPA_PLATFORM_PLUGIN_PATH=
3. sudo apt-get install libgles2-mesa-dev
4. 运行 ./qtqml
阅读(2654) | 评论(0) | 转发(0) |