Opened 2 years ago

Closed 2 years ago

#65614 closed defect (fixed)

qtiplot build fails on 10.6.8 Rosetta: error: cannot convert 'bool' to 'Qt::ItemFlags' {aka 'QFlags<Qt::ItemFlag>'}

Reported by: barracuda156 Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: powerpc, rosetta, snowleopard Cc:
Port: qtiplot

Description

:info:build src/analysis/dialogs/FitDialog.cpp:1025:22: error: cannot convert 'bool' to 'Qt::ItemFlags' {aka 'QFlags<Qt::ItemFlag>'}
:info:build  1025 |         it->setFlags(!Qt::ItemIsEditable);
:info:build       |                      ^~~~~~~~~~~~~~~~~~~
:info:build       |                      |
:info:build       |                      bool

:info:build src/analysis/dialogs/FitDialog.cpp:1052:30: error: cannot convert 'bool' to 'Qt::ItemFlags' {aka 'QFlags<Qt::ItemFlag>'}
:info:build  1052 |                 it->setFlags(!Qt::ItemIsEditable);
:info:build       |                              ^~~~~~~~~~~~~~~~~~~
:info:build       |                              |
:info:build       |                              bool

:info:build src/analysis/dialogs/FitDialog.cpp:1067:26: error: cannot convert 'bool' to 'Qt::ItemFlags' {aka 'QFlags<Qt::ItemFlag>'}
:info:build  1067 |             it->setFlags(!Qt::ItemIsEditable);
:info:build       |                          ^~~~~~~~~~~~~~~~~~~
:info:build       |                          |
:info:build       |                          bool

:info:build make[1]: *** [../tmp/qtiplot/FitDialog.o] Error 1
:info:build make[1]: *** Waiting for unfinished jobs....

:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qtiplot/qtiplot/work/qtiplot-0.9.8.9/qtiplot'
:info:build make: *** [sub-qtiplot-all] Error 2
:info:build make: *** Waiting for unfinished jobs....

Change History (2)

comment:1 Changed 2 years ago by barracuda156

This error has probably nothing to do with Rosetta or PPC. It is just a wrong code.

comment:2 Changed 2 years ago by barracuda156

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.