Qt QZxing QtDeclarative on linux
-
After i included the libraries and tried to compile them, came a build fail, because qt couldnt find qtdeclarative.
Unknown modules in QT:declarative -
@Pawlik You should provide more information: which Qt version, how did you install it, does your installation contain qtdeclarative?
And your description is not clear: where did you include the library? Do you try to build this library from source or do you try to build your project and link it against this library? -
Hey, its Qt 5.6 i downloaded it from qt page and installed, there is no qtdeclarative library in there. I included the libraries in my project and wrote include(QZXing/QZXing.pri) in my pro file
-
Documentation says (http://doc.qt.io/qt-5/qtquick-porting-qt5.html):
"(The QtDeclarative module is still available to developers as the Qt Quick 1 module, as discussed below. However, it should not be used for new applications.)"It looks like the library you're trying to use is for Qt 4.8
-
@jsulm thanks it works already i just had to download newer version of zxing, not the one on their wiki page. Thank you for help:)