mirror of
https://github.com/status-im/qzxing.git
synced 2025-02-14 11:56:25 +00:00
update QZXing versions to 3.2
This commit is contained in:
parent
9f7a1ac27a
commit
7582cdceb3
@ -159,7 +159,7 @@ int main()
|
||||
The in the QML file
|
||||
|
||||
```qml
|
||||
import QZXing 3.1
|
||||
import QZXing 3.2
|
||||
|
||||
function decode(preview) {
|
||||
imageToDecode.source = preview
|
||||
@ -250,7 +250,7 @@ QZXing::registerQMLImageProvider(engine);
|
||||
Default settings:
|
||||
|
||||
```qml
|
||||
import QZXing 3.1
|
||||
import QZXing 3.2
|
||||
|
||||
TextField {
|
||||
id: inputField
|
||||
@ -276,7 +276,7 @@ Or use the encoding function with the optional custom settings that are passed l
|
||||
the size of the image can be adjusted by using the Image.sourceWidth and Image.sourceHeight properties of Image QML element.
|
||||
|
||||
```qml
|
||||
import QZXing 3.1
|
||||
import QZXing 3.2
|
||||
|
||||
TextField {
|
||||
id: inputField
|
||||
|
@ -1,7 +1,7 @@
|
||||
// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
|
||||
import QtQuick 1.1
|
||||
import DropArea 1.0
|
||||
import QZXing 3.1
|
||||
import QZXing 3.2
|
||||
|
||||
Rectangle {
|
||||
width: 360
|
||||
|
@ -1,5 +1,5 @@
|
||||
import QtQuick 2.0
|
||||
import QZXing 3.1
|
||||
import QZXing 3.2
|
||||
|
||||
Rectangle {
|
||||
width: 360
|
||||
|
@ -4,7 +4,7 @@ import QtQuick.Controls 2.0
|
||||
import QtQuick.Layouts 1.1
|
||||
import QtMultimedia 5.5
|
||||
|
||||
import QZXing 3.1
|
||||
import QZXing 3.2
|
||||
|
||||
ApplicationWindow
|
||||
{
|
||||
|
@ -25,7 +25,7 @@ CONFIG += \
|
||||
#qzxing_qml \
|
||||
#qzxing_multimedia \
|
||||
|
||||
VERSION = 2.3
|
||||
VERSION = 3.2
|
||||
|
||||
TARGET = QZXing
|
||||
TEMPLATE = lib
|
||||
|
Loading…
x
Reference in New Issue
Block a user