help needed with packaging kradview : qt related

Ankur Sinha sanjay.ankur at gmail.com
Sun Jun 5 11:18:45 UTC 2011


Hi all!

I was trying to package kradview[1] for the fedora medical initiative
and am running into some errors. Could some qt developer please look
into it and tell me how to correct these?


> [ankur at ankur result]$ egrep -i "error" build.log 
> panel2d.cpp:89:70: error: cannot call constructor 'QImage::QImage' directly [-fpermissive]
> panel2d.cpp:89:70: error:   for a function-style cast, remove the redundant '::QImage' [-fpermissive]
> panel2d.cpp:131:70: error: cannot call constructor 'QImage::QImage' directly [-fpermissive]
> panel2d.cpp:131:70: error:   for a function-style cast, remove the redundant '::QImage' [-fpermissive]
> panel2d.cpp:162:76: error: cannot call constructor 'QImage::QImage' directly [-fpermissive]
> panel2d.cpp:162:76: error:   for a function-style cast, remove the redundant '::QImage' [-fpermissive]
> panel2d.cpp:195:76: error: cannot call constructor 'QImage::QImage' directly [-fpermissive]
> panel2d.cpp:195:76: error:   for a function-style cast, remove the redundant '::QImage' [-fpermissive]
> panel2d.cpp:258:76: error: cannot call constructor 'QImage::QImage' directly [-fpermissive]
> panel2d.cpp:258:76: error:   for a function-style cast, remove the redundant '::QImage' [-fpermissive]
> panel2d.cpp:323:76: error: cannot call constructor 'QImage::QImage' directly [-fpermissive]
> panel2d.cpp:323:76: error:   for a function-style cast, remove the redundant '::QImage' [-fpermissive]
> panel2d.cpp:389:76: error: cannot call constructor 'QImage::QImage' directly [-fpermissive]
> panel2d.cpp:389:76: error:   for a function-style cast, remove the redundant '::QImage' [-fpermissive]
> panel2d.cpp:450:76: error: cannot call constructor 'QImage::QImage' directly [-fpermissive]
> panel2d.cpp:450:76: error:   for a function-style cast, remove the redundant '::QImage' [-fpermissive]
> make[2]: *** [panel2d.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.QNP1Gf (%build)
> RPM build errors:
>     raise mock.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
> Error: Command failed. See logs for output.

The complete build.log is here[3]

Thanks!!
Ankur

[1]https://fedorahosted.org/fedora-medical/ticket/15

[2]http://fedoraproject.org/wiki/SIGs/FedoraMedical

[3]http://ankursinha.fedorapeople.org/misc/kradview_build.log




More information about the devel mailing list