Skip to content

Add Qt6 support

Add Qt6 support #101

Workflow file for this run

name: Build passes check
on: [ push ]
concurrency:
group: "continuous_test"
cancel-in-progress: true
jobs:
build-check:
name: Build check
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: check fcitx5-cskk version
id: version
run: |
echo version=`bin/version.sh` >> ${GITHUB_OUTPUT}
- name: check cskk version
id: cskk_version
run: |
echo cskk_version=`bin/cskk_version.sh` >> ${GITHUB_OUTPUT}
- name: Download & install libcskk
run: |
wget https://github.com/naokiri/cskk/releases/download/v${{ steps.cskk_version.outputs.cskk_version }}/libcskk_${{ steps.cskk_version.outputs.cskk_version }}_amd64.deb
sudo apt-get install ./libcskk_${{ steps.cskk_version.outputs.cskk_version }}_amd64.deb
- name: Install required libs and dependencies
run: |
sudo apt-get update
sudo apt-get install gettext cmake extra-cmake-modules fcitx5-modules-dev libfcitx5core-dev qtbase5-dev libfcitx5-qt-dev
- name: Build
uses: ashutoshvarma/action-cmake-build@master
with:
build-dir: ${{ runner.workspace }}/build
cc: gcc
cxx: g++
build-type: Release
run-test: false
configure-options: -DFCITX_INSTALL_USE_FCITX_SYS_PATHS=ON -DUSE_QT6=Off
build-options: --verbose