Coder Social home page Coder Social logo

qt-helloworld's Introduction

GUI应用说明

  1. 这是使用QTCreator创建的一个图形界面程序

  2. 程序中通过qt-plugin插件,引入了两个commLib: mylib, mylibExt

  3. 你可以使用docker方式构成镜像,来运行

  4. 生成镜像后可以使用如下的脚本,来运行图形化界面

# 在宿主机器执行下面的命令,安装x11配置
sudo apt-get install x11-xserver-utils
xhost +
# 然后运行docker镜像
docker run -d \
  -v /etc/localtime:/etc/localtime:ro \
  -v /tmp/.X11-unix:/tmp/.X11-unix \
  -d  \
  -e LANG=C.UTF-8 \
  -e DISPLAY=unix$DISPLAY \
  -e GDK_SCALE \
  -e GDK_DPI_SCALE \
  --name <命名容器名> \
  <镜像名字> 
  1. 相关的两个引用库在 lib.tar 包里面

  2. 在debian/目录下,是将两个库制作成.deb包的脚本,使用pkg_upload.py导入到apt repository.

qt-helloworld's People

Contributors

leaeasy avatar walking98 avatar

Watchers

 avatar  avatar

Forkers

izshtar

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.