diff options
| author | Anton <anton@picapica.im> | 2026-12-02 03:52:50 +0400 |
|---|---|---|
| committer | Anton <anton@picapica.im> | 2026-12-02 03:52:50 +0400 |
| commit | c3298beb0779a8cc09b6d4ea0d2132c0612ea776 (patch) | |
| tree | 910842506249d59a05cae4a72229b61049fcab19 /Makefile.am | |
| parent | 56863d74399c8d7354a00bc8ddc87b924ef870ab (diff) | |
| download | pica-pica-qr_codes.tar.gz pica-pica-qr_codes.zip | |
pica-client: show and scan contact ID as a QR codeqr_codes
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index e5bbe23..e869607 100644 --- a/Makefile.am +++ b/Makefile.am @@ -41,6 +41,8 @@ EXTRA_DIST = iniparser/LICENSE \ windows/installer32.nsi.in \ windows/installer64.nsi.in \ windows/mxe_ffmpeg_strip_excess_deps.patch \ + windows/zxing-cpp.mk \ + windows/zxing-cpp-test.cpp \ windows/mxe_qtbase_strip_excess_deps.patch \ windows/pica-client.exe.manifest.in \ windows/pica-client.nsi \ @@ -335,6 +337,22 @@ pica_client_pica_client_LDADD += $(VAAPI_X11_LIBS) MOCFLAGS += -DHAVE_VAAPI_X11 endif +# Pica Pica IDs as QR codes: drawn in the "Show My Pica Pica ID" dialog, read +# from the camera by the "Scan QR Code" one. Both through ZXing-C++. +if PICA_QRCODE +pica_client_pica_client_SOURCES += \ +pica-client/qrcode.cpp \ +pica-client/qrcode.h \ +pica-client/dialogs/qrscandialog.cpp \ +pica-client/dialogs/qrscandialog.h + +nodist_pica_client_pica_client_SOURCES += moc_qrcode.cpp moc_qrscandialog.cpp + +pica_client_pica_client_CPPFLAGS += $(ZXING_CFLAGS) +pica_client_pica_client_LDADD += $(ZXING_LIBS) +MOCFLAGS += -DHAVE_QRCODE +endif + pkgpicaclientdir = ${datarootdir}/pica-client dist_pkgpicaclient_DATA = \ dhparam4096.pem \ |
