Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

awtk的二维码插件

License

NotificationsYou must be signed in to change notification settings

CUITzhaoqi/awtk-qr

Repository files navigation

AWTK-QR是AWTK的二维码插件,主要用于演示如何扩展AWTK

如何使用

首先克隆 awtk-qr

git clone https://github.com/CUITzhaoqi/awtk-qr.git

然后更新子模块

git submodule update --init --recursive --"awtk"

目录树

  • awtk\………………(awtk工程)

  • demo_qr\………………(二维码插件的示例代码)

  • docs\………………(相关文档)

  • scripts\………………(awtk的工具脚本)

  • src\………………(相关源码)

    • qr\……………………(awtk-qr插件)
    • lib\……………………(二维码编码库)
  • test\………………(插件的测试)

  • .gitlab-ci.yml………………(持续集成脚本)

  • .SConstruct………………(scons 脚本)

MACOS

如果没有安装scons和sdl2,请在终端运行下面的命令(假定已安装brew):

brew install scons sdl2

然后使用scons编译

scons -j8

更新资源(详细见更新资源:)

python ./scripts/update_res.py all

运行

./bin/demo_awtk_qr

Ubuntu

如果没有安装scons和sdl2,请在终端运行下面的命令(假定已安装brew):

sudo apt-get install scons libsndio-dev libgtk-3-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev

然后使用scons编译

scons -j8

更新资源(详细见更新资源:)

python ./scripts/update_res.py all

运行

./bin/demo_awtk_qr

Windows

(请先安装python2.7,scons和Visual Studio C++(版本>=2017)

编译运行(在命令行模式下,进入awtk-qr所在的目录,并运行下列命令):

scons -j8

更新资源(详细见更新资源:)

python ./scripts/update_res.py all

运行

bin\demo_awtk_qr.exe

文档

如何扩展AWTK——以二维码控件为例

如何将AWTK的二维码控件加入AWORKS

问题

报告BUG

请访问issue:

许可证

awtk: LGPLV2.1

libqrencode: LGPLV2.1

About

awtk的二维码插件

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp