[Bug 1118240] New: puic4 is broken: fix provided

bugzilla at redhat.com bugzilla at redhat.com
Thu Jul 10 09:33:39 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1118240

            Bug ID: 1118240
           Summary: puic4 is broken: fix provided
           Product: Fedora
           Version: 20
         Component: perl-Qt
          Assignee: iarnell at gmail.com
          Reporter: olivier.lahaye1 at free.fr
        QA Contact: extras-qa at fedoraproject.org
                CC: iarnell at gmail.com, ltinkl at redhat.com,
                    perl-devel at lists.fedoraproject.org



Created attachment 917029
  --> https://bugzilla.redhat.com/attachment.cgi?id=917029&action=edit
Fixes puic4 code generator.

Description of problem:
puic4 the UI perl compiler for Qt is completely broken.
Here are 2 patches that fixes most problems.
The 1st one attached in this comment is mainly (but not exclusively) for the
Qt3Support4 fixes. (upstream issue #46)
The secondone in next comment will partially fix issue #44.

Version-Release number of selected component (if applicable):
all perl-Qt-0.96.0* including latest SVN. for rhel-*-* or fedora-*-*

How reproducible:
puic4 -o Ui_file.pm file.ui
where file.ui was generated for Qt3.
For exemple:
http://svn.oscar.openclustergroup.org/oscar/pkgsrc/netbootmgr/trunk/netbootmgr.ui

Steps to Reproduce:
1. wget
http://svn.oscar.openclustergroup.org/oscar/pkgsrc/netbootmgr/trunk/netbootmgr.ui
2. puic4 -o Ui_NetBootMgr.pm netbootmgr.ui
3. perl -d NetBootMgr.pl or just look at the syntax for "__item" and also
missing ending semicolons.

Actual results:
unusable perl syntax.

Expected results:
valid perl code.

Additional info:
Upstream AUTHOR is aware of the patch but won't be able to push it before a few
weeks. Once dones, he has planed to make a new release.
- http://search.cpan.org/dist/Qt/ is a dead repo
- git clone https://code.google.com/p/perlqt4/ is the official standalone repo
- git clone git://anongit.kde.org/perlqt/ is the active repo from kdebinding
project.

Note that standalone repo has been resynced back from kdebindings repo to
include perl-5.18 fixes
Also note thet changes in CMAkelists.txt have an impact:
- can't build on rhel6
- need a smokeqt that has smokeqwt lib.
IMHO, this shouldn't be required, thus I think that add ing my 2 patches is
sufficient for the moment. The Author will give a look at the cmake issues
later.
https://code.google.com/p/perlqt4/issues/list

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=4SAGOsd9Ga&a=cc_unsubscribe



More information about the perl-devel mailing list