[Solved] How to link QZXing?
-
My bad, I was referring to another library with the same name. IIRC for that one you should only need to build and install it to make it available to your application.
-
easy to say, install :)) i need deploy to android and iOS :)) if hunestly i can't imagen how to do it with shared lib.
-
[quote author="SGaist" date="1419283003"]I was referring to another library with the same name[/quote]
could you provide link to this lib if it's possible?
-
The install process should copy what's need in your Qt installation not your target
"Other one":http://sourceforge.net/p/qzxing
-
Looks like this port for old (Qt4) version of Qt. :(
What about instalation? Do you know some howto/wiki/manual where i can read details? -
Tnx a lot SGaist, your's link to the prev. version of the lib is more then good for me. I can't do QML component, but i make C++ function which i use for determinate QR code, unfortunately for me this is a long process (UI is freezing), will be think, how to invoke method in another thread if it possible...
Tnx a lot again! -
Did you call "make install" after your built the library ? (the first you tried) It should copy what's needed to the right place in your Qt installation.
You can use the worker object paradigm described in QThread's "documentation":http://doc.qt.io/qt-5/qthread.html
-
SGaist: no i don't call make install, AFAIK this will install lib to the local target, but i need use this lib at the android device, so i can't imagen how it will help for me.
About second qestion: i'd like to try QtConcurrent::run if it will be possible to use in this case.
-
And that's exactly what must be done. Adding the library to the local copy will make it available to build your application. I becomes then a dependency that must be copied to your target.
Possible it should be yes.
-
About multithreading:
i make class handler based on QRunnable, and invoke it over QThreadPull, it is work for me.Is some one try to generate QRCode using QZXing? i can't find any render or somthen like it classes...
-
AFAIK, it's a decoding library