GithubHelp home page GithubHelp logo

liu-xiaoqiang / gyt_box Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luhuadong/easybench

0.0 1.0 0.0 5.17 MB

gyt_box is a tool that used for system testing

Shell 1.21% C++ 92.59% Python 0.12% C 5.09% QMake 0.99%

gyt_box's Introduction

GYT BOX

GYT-Box 是一个运行于广有 ARM Linux 平台,集系统监控、设备测试和席位功能配置于一体的软件工具。GYT-Box 基于 Qt5 图形界面库进行开发,采用 C++ 编程语言。

通过模块化的设计**对功能进行划分,主要包括:

  • 板载硬件设备检测(包括液晶显示屏、触摸屏、摄像头、麦克风、硬盘、串口等等)
  • 系统监控(包括CPU、内存、硬盘、网络等系统资源)
  • 席位功能配置(包括席位通道、工作模式、视频分辨率设置等)

安装依赖

sudo apt install libpulse-dev
sudo apt install libgl1-mesa-dev

编译步骤

  1. 进入工程目录,配置编译环境

    $ source /opt/fsl-imx-x11/3.14.52-1.1.0/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi 
  2. 根据 gyt_box.pro 生成 Makefile 构建文件

    $ qmake
  3. 编译可执行程序

    $ make
  4. 裁剪可执行程序的体积

    $ arm-poky-linux-gnueabi-strip gyt_box
  5. 检查

    $ file gyt_box
    gyt_box: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=d6509b96c10dd2b9d837e6125d1e68dcf4b1cba0, stripped

注意事项

默认使用 Qt5,如果您使用 Qt4,需要在 gyt_common.h 文件中做修改。将如下内容

#define QT_VERSION_4     0  /* Recommend to use Qt5 strongly */
#define QT_VERSION_5     1

修改为

#define QT_VERSION_4     1  /* Recommend to use Qt5 strongly */
#define QT_VERSION_5     0

并在 gyt_box.pro 文件将下面这一行注释掉

QT += multimedia multimediawidgets

gyt_box's People

Contributors

luhuadong avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.