AWTK(Advanced Window Toolkit)是一個(gè)用于嵌入式系統(tǒng)和Linux桌面應(yīng)用程序的跨平臺(tái)GUI工具包
對(duì)于基于Debian的系統(tǒng)(如Ubuntu),可以使用以下命令安裝依賴項(xiàng):
sudo apt-get install build-essential cmake libcairo2-dev libpango1.0-dev libglib2.0-dev libxml2-dev libibus-1.0-dev libinput-dev libevdev-dev mtdev-tools libdrm-dev libxkbcommon-dev
對(duì)于基于RPM的系統(tǒng)(如Fedora、CentOS),可以使用以下命令安裝依賴項(xiàng):
sudo yum groupinstall "Development Tools"
sudo yum install cmake cairo-devel pango-devel glib2-devel libxml2-devel ibus-devel input-devel evdev-devel mtdev-devel drm-devel xkbcommon-devel
git clone https://github.com/zlgopen/awtk.git
build
的文件夾并進(jìn)入該文件夾。運(yùn)行CMake并編譯AWTK:cd awtk
mkdir build
cd build
cmake ..
make
/usr/local
),請以root權(quán)限運(yùn)行以下命令:sudo make install
現(xiàn)在,您已經(jīng)在Linux上成功安裝了AWTK??梢蚤_始創(chuàng)建和運(yùn)行AWTK應(yīng)用程序了。請參閱AWTK的官方文檔以獲取有關(guān)如何使用AWTK的更多信息。