2199 views|5 replies

501

Posts

4

Resources
The OP
 

Mir MYC-YT507 development board review: Performance test 2 Qt performance test [Copy link]

 

Preface

Generally, people are concerned about the refresh rate for graphical interface programs, such as Qt programs.

Here we test the performance of Qt through a simple Qt program, by drawing different controls as quickly as possible and testing the response time to test the performance.

Code

In WSL

Download the code

git clone

链接已隐藏,如需查看请登录或者注册

Run qtcreator

/home/lhj/qtcreator-5.0.0-rc1/bin/qtcreator.sh &

File->Open File or Project...

Add QT += widgets in the .pro file

Change #include <QtGui/QApplication> to #include <QApplication>

Build->Build Project “qtperf4”

Error message

Manually modify /build-qtperf4-YT507H_dev_kit-Debug/Makefile. The content in the red box above is /home/lhj/MYD-YT507H/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/Qt_5.12.5/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libGLESv2.so

Recompile

Copy the program to Windows

cd ../build-qtperf4-YT507H_dev_kit-Debug/export

cp qtperf4 /mnt/e

Import to development board

run

chmod +x qtperf4

LD_LIBRARY_PATH=/usr/local/Qt_5.12.5/lib/:$LD_LIBRARY_PATH

export QT_QPA_EGLFS_INTEGRATION=none

./qtperf4

The results of 10 tests are as follows

For example, 54ms operates QPushButton 10 times

Overall the performance is good.

This post is from Domestic Chip Exchange

Latest reply

OP, I have a question. I tested it on rv1109 QT5.9.4 and found that the test graphics, lines, and circles cannot be drawn. How can I fix this?   Details Published on 2022-11-25 15:43
 
 

6547

Posts

0

Resources
2
 

It seems that the Qt performance of the Mir MYC-YT507 development board is OK

This post is from Domestic Chip Exchange
 
 
 

7422

Posts

2

Resources
3
 

Can wsl display graphics?

This post is from Domestic Chip Exchange

Comments

WSL2 has WSLG support graphical interface  Details Published on 2022-7-28 17:43
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 
 

501

Posts

4

Resources
4
 
freebsder posted on 2022-7-28 15:53 Can wsl display graphics?

WSL2 has WSLG support graphical interface

This post is from Domestic Chip Exchange

Comments

Thank you!!! This news is very important to me, thank you!  Details Published on 2022-7-29 10:09
 
 
 

7422

Posts

2

Resources
5
 
qinyunti posted on 2022-7-28 17:43 WSL2 has WSLG support graphical interface

Thank you!!! This news is very important to me, thank you!

This post is from Domestic Chip Exchange
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 
 

1

Posts

0

Resources
6
 

OP, I have a question. I tested it on rv1109 QT5.9.4 and found that the test graphics, lines, and circles cannot be drawn. How can I fix this?

This post is from Domestic Chip Exchange
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list