Bug 3150 - qTQR, a graphical interface QR code generator and decoder
Summary: qTQR, a graphical interface QR code generator and decoder
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: https://launchpad.net/qr-tools
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
: 9359 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-23 16:44 CEST by Brian Durant
Modified: 2020-04-15 12:13 CEST (History)
14 users (show)

See Also:
Source RPM: qtqr-1.2-3.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Brian Durant 2011-10-23 16:44:35 CEST
QTQR is a graphical interface QR code generator and decoder.
Brian Durant 2011-10-23 16:44:46 CEST

URL: (none) => http://code.google.com/p/qtqr/

Comment 1 Marja Van Waes 2011-12-16 08:29:44 CET
Setting version to cauldron, because package requests will usually be done for cauldron first and are then expected to be available in the first stable release that follows.

CC: (none) => marja11
Severity: normal => enhancement
Source RPM: (none) => qtqr
Summary: QTQR => QTQR, a graphical interface QR code generator and decoder
Version: 1 => Cauldron

Marja Van Waes 2012-01-31 21:22:29 CET

Whiteboard: (none) => X
Hardware: i586 => All

Dan Joita 2012-02-25 22:07:51 CET

Summary: QTQR, a graphical interface QR code generator and decoder => qTQR, a graphical interface QR code generator and decoder

Damien Lallement 2012-07-29 22:55:09 CEST

Status: NEW => ASSIGNED
Assignee: bugsquad => mageia
CC: (none) => mageia
URL: http://code.google.com/p/qtqr/ => https://launchpad.net/qr-tools

Comment 2 Manuel Hiebel 2013-03-26 23:42:37 CET
*** Bug 9359 has been marked as a duplicate of this bug. ***

CC: (none) => jkowalzik

Comment 3 Marja Van Waes 2015-04-21 19:16:45 CEST
Assigning back to BugSquad, because Damien went MIA

Upstream there hasn't been a new release in almost 4 years, but maybe this is the sort of thing that once it works, it needs no updates???

Assignee: mageia => bugsquad
Status: ASSIGNED => NEW

Comment 4 Samuel Verschelde 2016-10-11 20:55:17 CEST
Assigning this package request to all packagers collectively. On a voluntary basis, one of them might want to integrate it to the distribution and maintain it for bug and security fixes.

You might also want to join the packager team to maintain this piece of software: see https://wiki.mageia.org/en/Becoming_a_Mageia_Packager

Assignee: bugsquad => pkg-bugs

Comment 5 Juergen Harms 2017-01-18 21:05:50 CET
Installing and then runnning qtqr from a command-line gives

Traceback (most recent call last):
  File "/usr/bin/qtqr", line 15, in <module>
    from PyQt4 import QtCore, QtGui
ImportError: cannot import name QtGui

Given Comment 4, qtqr looks like a candidate for removal from the list of Mageia packages. As an alternative for accessing documents with QR code, the zbar package can be used.

Also zbar did not have an upgrade for a long time. But the package available in Mageia works perfectly. Looking at their web-site, there appears to be ongoing activity. The latest modification of the QR-code standard dates from 2005 (there have been some clarifications of the standard in 2015) - the stable release of zbar from 2013 should cover all presently available versions of the standard.

CC: (none) => juergen.harms

Comment 6 Bit Twister 2017-07-13 08:55:32 CEST
(In reply to Juergen Harms from comment #5)
> Also zbar did not have an upgrade for a long time. But the package available
> in Mageia works perfectly.

Hmmm, all I get is "barcode data was not detected" when trying to scan a QR code image with the command zbarimg product.png

Do you have a command example to scan a QR code image?

CC: (none) => bittwister2

Comment 7 Juergen Harms 2019-02-19 23:13:15 CET
How nice that this bug is still open. I accidentally installed and tried to run qtqr again. This time (Mageia-7 cauldron Beta-1) the error message (when qtqr launched) is:

Failed to load module "canberra-gtk-module"

It might be a good idea to remove qtqr from cauldron before new isos are published (and close this bug) - avoid that qtqr makes it into the Mageia-7 release. I verified that zbarimg (zbar-0.21-7.mga) is still a valid and working alternative for reading QR-codes.
Comment 8 Nicolas Nicolas 2019-08-08 23:32:42 CEST
Hello,

When installing the package, it seems that it is missing the package dependancy python2-qt4-gui.

Without this package, launching the program from the terminal, lead to the following error

"Traceback (most recent call last):
  File "/usr/bin/qtqr", line 15, in <module>
    from PyQt4 import QtCore, QtGui
ImportError: cannot import name QtGui"

Moreover, when launching zbarcam ( on which qrqt seems relies on) from konsole, it only launch a black screen.

According to the page https://sourceforge.net/p/zbar/support-requests/48/

launching qrqt or zbarcam using the line:

LD_PRELOAD=/usr/lib64/libv4l/v4l2convert.so zbarcam

seems to resolve the black screen issue.

French discussion about it can be found at
https://www.mageialinux-online.org/forum/topic-26482+mageia-7-e-vive-la-6.php

CC: (none) => joe_c_moi

papoteur 2019-08-17 10:29:01 CEST

Component: New RPM package request => RPM Packages
CC: (none) => yves.brungard_mageia
Whiteboard: X => MGA6TOO, MGA7TOO
Severity: enhancement => critical

Comment 9 papoteur 2019-08-20 10:33:58 CEST
Ubuntu and Debian seem to release 1.4 release with snapshots. Now the Qt used is 5.
I didn't find Python3 port
Comment 10 leo lenoir 2020-04-09 12:42:37 CEST
On Mageia 7, qtqr doesn't decode QRcode from images files.

The Cauldron packages ( 
    qtqr-2.0-0.bzr20190914.3.mga8.noarch.rpm
    python3-qrtools-2.0-0.bzr20190914.3.mga8.noarch.rpm
    qtqr-2.0-0.bzr20190914.3.mga8.noarch.rpm)
seem working fine with changing python3.8 directory to python3.7 for the python files.

CC: (none) => leo_nard

Comment 11 David GEIGER 2020-04-10 09:16:30 CEST
So ok, you can test with qtqr-2.0-0.bzr39.1.mga7 in Core/Updates_testing repo!

It is ported to PyQt5 and python3.

CC: (none) => geiger.david68210

David GEIGER 2020-04-11 07:21:35 CEST

Severity: critical => normal
Source RPM: qtqr => qtqr-1.2-3.mga7.src.rpm
Version: Cauldron => 7
Whiteboard: MGA6TOO, MGA7TOO => MGA7TOO

Comment 12 David GEIGER 2020-04-11 07:33:19 CEST
Assigning to QA,

Advisory:
=============================

Our current qtqr release needs now to be updated in mga7 as it doesn't work anymore. This update fixes this issue porting qtqr to PyQt5 and python3, also porting zbar to Qt5 and python3.


Packages in 7/core/updates_testing:
========================
qtqr-2.0-0.bzr39.1.mga7.noarch.rpm
python3-qrtools-2.0-0.bzr39.1.mga7.noarch.rpm

zbar-0.23-1.mga7.i586.rpm
libzbar0-0.23-1.mga7.i586.rpm
libzbargtk0-0.23-1.mga7.i586.rpm
libzbar-gir1.0-0.23-1.mga7.i586.rpm
libzbarqt0-0.23-1.mga7.i586.rpm
libzbar-devel-0.23-1.mga7.i586.rpm
python3-zbar-0.23-1.mga7.i586.rpm
zbar-0.23-1.mga7.x86_64.rpm
lib64zbar0-0.23-1.mga7.x86_64.rpm
lib64zbargtk0-0.23-1.mga7.x86_64.rpm
lib64zbar-gir1.0-0.23-1.mga7.x86_64.rpm
lib64zbarqt0-0.23-1.mga7.x86_64.rpm
lib64zbar-devel-0.23-1.mga7.x86_64.rpm
python3-zbar-0.23-1.mga7.x86_64.rpm


Source RPM:
========================
qtqr-2.0-0.bzr39.1.mga7.src.rpm
zbar-0.23-1.mga7.src.rpm

Assignee: pkg-bugs => qa-bugs

Comment 13 Jose Manuel López 2020-04-11 09:20:47 CEST
I've installed in MGA7-Plasma VB, works fine, i create a qr code, text, url, and email, all ok.

Greetings!

CC: (none) => joselp

Comment 14 Len Lawrence 2020-04-11 10:51:39 CEST
mga7, x86_64

Installed directly from updates-testing rather than updating - 97 packages.
In the system menus QtQr appears under Graphics -> more.

Experimented with the interface.  Selected 'decode from file' for a URL QR code - that returned the link and offered to open it in a browser - 'yes' launched a separate instance of firefox showing an article from a Linux magazine.  Modified the QR code, reducing margin, increasing pixel size and improved error correction.
Changed data type to generate a contact information code as a PNG file.  The fields available include 'note', 'birthday' and 'URL'.  The code is generated as you type.  The date format is fixed.  Restarted qtqr, opened thunar and dropped the PNG file just created into the image window which responded with a popup quoting the contents.

This application works very well.  Thank you Jose for your tests.
Do we remove the MGA7TOO?

OT:
Useful link for creating QR codes using qrencode for dropping into the QtQr interface and an introduction to QtQr:
https://www.linux-magazine.com/Online/Features/Generating-QR-Codes-in-Linux

Whiteboard: MGA7TOO => MGA7TOO MGA7-64-OK
CC: (none) => tarazed25

Comment 15 Thomas Andrews 2020-04-11 22:49:26 CEST
Wow. 3150. First opened in 2011. Quite a history on this bug. All concerned should be congratulated on not giving up on it.

Yes, Len, MGA7TOO should be removed, I think. Since the bug is now listed against version 7, it's redundant.

Validating. Advisory in Comment 12.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs
Whiteboard: MGA7TOO MGA7-64-OK => MGA7-64-OK

Thomas Backlund 2020-04-15 11:09:30 CEST

CC: (none) => tmb
Keywords: (none) => advisory

Comment 16 Mageia Robot 2020-04-15 12:13:39 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2020-0096.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.