Fix dependencies and enable QT examples

This commit is contained in:
2026-02-14 20:28:34 +02:00
parent 14c9f494a9
commit 7fab0a5c40
2 changed files with 9 additions and 1 deletions
+8 -1
View File
@@ -1,7 +1,7 @@
name: zxing-cpp
description: C++ port of ZXing
version: 3.0.1
revision: 1
revision: 2
url: https://github.com/zxing-cpp/zxing-cpp
license: Apache-2.0
maintainers:
@@ -11,8 +11,15 @@ type: source
depends:
- gcc-libs
- glibc
- zint
optional_depends:
- qt6-multimedia:For ZXingQtCamReader
make_depends:
- cmake
- opencv
- qt6-base
- qt6-declarative
- qt6-multimedia
check_depends:
- googletest
downloads:
+1
View File
@@ -8,6 +8,7 @@ build() {
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DZXING_EXAMPLES=ON \
-DZXING_EXAMPLES_QT=ON \
-DZXING_C_API=ON \
-DZXING_USE_BUNDLED_ZINT=OFF \
-DZXING_WRITERS=BOTH \