AWTK(Advanced Window Toolkit)是一個用于嵌入式系統和Linux桌面應用程序的跨平臺GUI工具包
對于基于Debian的系統(如Ubuntu),可以使用以下命令安裝依賴項:
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
對于基于RPM的系統(如Fedora、CentOS),可以使用以下命令安裝依賴項:
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
的文件夾并進入該文件夾。運行CMake并編譯AWTK:cd awtk
mkdir build
cd build
cmake ..
make
/usr/local
),請以root權限運行以下命令:sudo make install
現在,您已經在Linux上成功安裝了AWTK。可以開始創建和運行AWTK應用程序了。請參閱AWTK的官方文檔以獲取有關如何使用AWTK的更多信息。