[英]QML Peformance on Raspberry Pi 3
我已经从锉刀的仓库中安装了Qt5.7。 编译我的qml程序后,我收到以下消息,我的qml太慢了:
libEGL warning: DRI2: failed to authenticate
qt5ct: using qt5ct plugin
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.
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.
inotify_add_watch("/home/pi/.config/qt5ct") failed: "No such file or directory"
我还启用了openGL驱动程序,还向QMAKE_CXXFLAGS += -mthumb-interwork -mthumb -march=armv7
添加了QMAKE_CXXFLAGS += -mthumb-interwork -mthumb -march=armv7
标志,但没有帮助...
您可以尝试启用Qt快速编译器 。
Qt Quick Compiler是Qt Quick应用程序的开发附加组件,它使您可以将QML源代码编译成最终的二进制文件。
根据官方文档,您可以尝试最新版本的Qt:
从Qt版本5.11开始,Qt Quick编译器的功能已集成到Qt Quick模块本身中。 在Qt的早期长期支持版本中,仍然可以使用此单独的附件。
如果仍要使用相同版本,只需将其添加到qmake配置文件中:
CONFIG += qtquickcompiler
您还需要添加编译器标志,如Wiki页面所述:
QMAKE_CXXFLAGS += -mthumb -mthumb-interwork
最后,请按照以下步骤启用适当的驱动程序:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.