ftylitak/qzxing

module "QZXing" is not installed

senlinmuvs opened this issue · 1 comments

Refer to QZXingLive written:

in *.pro:

CONFIG += qzxing_multimedia \
          enable_decoder_1d_barcodes \
          enable_decoder_qr_code \
          enable_decoder_data_matrix \
          enable_decoder_aztec \
          enable_decoder_pdf17
CONFIG += qzxing_qml
...
include(QZXing/QZXing.pri)

in main.cpp:

    QZXing::registerQMLTypes();
    QZXing::registerQMLImageProvider(engine);

in *.qml:

import QZXing 2.3
...

Error

W mpk     : QQmlApplicationEngine failed to load component
W mpk     : assets:/qml/Main.qml:295 Type Scan unavailable
W mpk     : assets:/qml/Scan.qml:6 module "QZXing" is not installed

It's just that this error occurred in Felgo, and it was no problem to run directly on the phone. It should be Felgo's problem.