mirror of https://gitee.com/cxasm/notepad--.git
parent
542c6be763
commit
061aaf6067
|
@ -41,11 +41,14 @@ NDD已初步推出插件编写功能,希望广大的CPP/QT开发者加入我
|
|||
|
||||
- ArchLinux
|
||||
|
||||
1. 安装编译环境 `sudo pacman -S gcc cmake make `
|
||||
1. 安装qt工具和库 `sudo pacman -S qt5-tools qt5-base qt5-xmlpatterns `
|
||||
1. 配置 `cmake -B build -DCMAKE_BUILD_TYPE=Release`
|
||||
1. 编译 `cd build && make -j`
|
||||
1. 打包:使用aur
|
||||
1. 安装编译环境 `sudo pacman -S gcc cmake make ninja`
|
||||
1. 安装 qt 工具和库 `sudo pacman -S qt5-tools qt5-base qt5-xmlpatterns`
|
||||
1. 配置 `cmake -S . -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -W no-dev`
|
||||
1. 编译 `ninja -C build && ninja -C build install`
|
||||
1. 打包: 使用 [AUR/notepad---git](https://aur.archlinux.org/packages/notepad---git) `yay -S notepad---git`
|
||||
1. 安装:
|
||||
- 预编译包添加 [ArchLinuxCN/notepad---git](https://github.com/archlinuxcn/repo) 镜像 `yay -S archlinuxcn/notepad---git`
|
||||
- 预编译包 [Debuginfod/notepad---git-debug](https://wiki.archlinux.org/title/Debuginfod) 包 `yay -S archlinuxcn/notepad---git-debug`
|
||||
|
||||
- openSUSE Tumbleweed
|
||||
|
||||
|
|
13
README_EN.md
13
README_EN.md
|
@ -34,11 +34,14 @@ Creating a free text editor requires support from users like you. If you'd like
|
|||
|
||||
- ArchLinux
|
||||
|
||||
1. Install compilation environment `sudo pacman -S gcc cmake make `
|
||||
1. Install compilation environment `sudo pacman -S gcc cmake make ninja`
|
||||
1. Install qt tools and libraries `sudo pacman -S qt5-tools qt5-base qt5-xmlpatterns `
|
||||
1. Configure `cmake -B build -DCMAKE_BUILD_TYPE=Release`
|
||||
1. Compile `cd build && make -j`
|
||||
1. Package: use aur
|
||||
1. Configure `cmake -S . -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -W no-dev`
|
||||
1. Compile `ninja -C build && ninja -C build install`
|
||||
1. Package: use [AUR/notepad---git](https://aur.archlinux.org/packages/notepad---git) `yay -S notepad---git`
|
||||
1. Installation:
|
||||
- Pre-compiled package add [ArchLinuxCN/notepad---git](https://github.com/archlinuxcn/repo) mirror `yay -S archlinuxcn/notepad---git`
|
||||
- Pre-compiled package [Debuginfod/notepad---git-debug](https://wiki.archlinux.org/title/Debuginfod) package `yay -S archlinuxcn/notepad---git-debug`
|
||||
|
||||
**Qt Project Compilation Instructions:**
|
||||
|
||||
|
@ -63,4 +66,4 @@ yay -S notepad---git
|
|||
|
||||
![Input description picture](png/3.png)
|
||||
|
||||
![Input description picture](png/7.png)
|
||||
![Input description picture](png/7.png)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
TEMPLATE = lib
|
||||
LANGUAGE = C++
|
||||
|
||||
CONFIG += qt warn_on Debug
|
||||
CONFIG += qt warn_on
|
||||
QT += core gui widgets
|
||||
|
||||
HEADERS += *.h
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
TEMPLATE = lib
|
||||
LANGUAGE = C++
|
||||
|
||||
CONFIG += qt warn_on Debug
|
||||
CONFIG += qt warn_on
|
||||
QT += core gui widgets
|
||||
|
||||
HEADERS += *.h
|
||||
|
|
Loading…
Reference in New Issue