Pretend using libzbar.
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 19 Jul 2017 17:27:42 +0000 (19:27 +0200)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Wed, 19 Jul 2017 17:27:42 +0000 (19:27 +0200)
qtapp/barcode2cash/barcode2cash.pro
qtapp/barcode2cash/mainwindow.cpp

index d4db412cc4a1797d7f479bc7d254e2c606a43b47..f717ae32637362fbabf5547d69af1f84b225149d 100644 (file)
@@ -20,3 +20,5 @@ HEADERS  += mainwindow.h
 FORMS    += mainwindow.ui
 
 CONFIG += c++11
+
+LIBS += -lzbar
index 99c4cff371f83d5b5ab4148f2d6023587401fc55..a75f458ba4d7e725d41cd68eff6960efafa4e443 100644 (file)
@@ -1,3 +1,5 @@
+#include <cstddef>
+#include <zbar.h>
 #include "mainwindow.h"
 #include "ui_mainwindow.h"