Fedora 编译 VNote 的过程
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 13k
- Forks
- 1.3k
- Avg merge
- 14h 3m
- Merged PRs (30d)
- 3
Description
- 下载 QT SDK
将 Qt5.9 安装到 /home/henices/Qt5.9.0/
- 编译 fcitx-qt5
git clone https://gitlab.com/fcitx/fcitx-qt5.git
准备编译脚本 build_linux.sh, 指定下载的QT
QTDIR="/home/henices/Qt5.9.0/5.9/gcc_64/"
PATH="$QTDIR/bin:$PATH"
LDFLAGS=-L$QTDIR/lib
CPPFLAGS=-I$QTDIR/include
rm -rf build
mkdir -p build
cd build
cmake ..
make -j8
使用下面命令编译
chmod a+x ./build_linux.sh
./build_linux.sh
将生成的 libfcitxplatforminputcontextplugin.so copy 到 /home/henices/Qt5.9.0/5.9/gcc_64/plugins/platforminputcontexts/
- 获取VNote 源码
git clone https://github.com/tamlok/vnote.git vnote.git
cd vnote.git
git submodule update --init
- 编译
build_linux.sh
QTDIR="/home/henices/Qt5.9.0/5.9/gcc_64/"
PATH="$QTDIR/bin:$PATH"
LDFLAGS=-L$QTDIR/lib
CPPFLAGS=-I$QTDIR/include
rm -rf build
mkdir -p build
cd build
qmake -v
qmake PREFIX=/usr/local CONFIG-=debug CONFIG+=release ../VNote.pro
make -j8
使用下面命令编译
chmod a+x ./build_linux.sh
./build_linux.sh
- 安装
sudo make install
参考链接
https://tamlok.gitee.io/vnote/zh_cn/#!docs/%E5%BC%80%E5%8F%91%E8%80%85/%E6%9E%84%E5%BB%BAVNote.md
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the referenced Chinese build guide and inspect the repository's existing build documentation. Reproduce the Qt 5.9, fcitx-qt5, submodule, qmake, and install steps on Fedora; done means the Fedora procedure is documented and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp, shell
- Domain
- build-system, documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100