Skip to content

Commit efa36c1

Browse files
committed
chore: update README
1 parent 2838068 commit efa36c1

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

README.md

+26-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
11
# Session-lock binding for Qt
22

3-
I want to write a qml lock for sway, so I make this binding, but it still has some problems, like use qtimer to wait surface to finished. so this repo need some help
3+
This lib is the binding of ext-session-lock, for qt. This repo is used to build a lock program for wayland wm.
4+
5+
## Dependiences
6+
7+
If you are using archlinux, In order to build this lib, you need to run
8+
9+
```bash
10+
sudo pacman -S cmake base-devel qt6-wayland
11+
```
12+
13+
## Usage in cmake
14+
15+
```cmake
16+
find_package(SessionLockQt REQUIRED)
17+
18+
target_link_libraries(YourProgram PRIVATE
19+
Qt6::Quick
20+
Qt6::WaylandClient
21+
SessionLockQt::Interface
22+
)
23+
```
24+
25+
26+
## Example repo
27+
28+
[waycratelock](https://github.com/waycrate/waycratelock)

0 commit comments

Comments
 (0)