final fix to version upgrade to 3.2

This commit is contained in:
Nikolaos Ftylitakis 2021-08-08 13:00:22 +03:00
parent 7582cdceb3
commit ac6919ccfd
1 changed files with 2 additions and 2 deletions

View File

@ -98,10 +98,10 @@ QZXing::QZXing(QZXing::DecoderFormat decodeHints, QObject *parent) : QObject(par
#if QT_VERSION >= 0x040700
void QZXing::registerQMLTypes()
{
qmlRegisterType<QZXing>("QZXing", 3, 1, "QZXing");
qmlRegisterType<QZXing>("QZXing", 3, 2, "QZXing");
#ifdef QZXING_MULTIMEDIA
qmlRegisterType<QZXingFilter>("QZXing", 3, 1, "QZXingFilter");
qmlRegisterType<QZXingFilter>("QZXing", 3, 2, "QZXingFilter");
#endif //QZXING_MULTIMEDIA
}