amosogra / qtesseract

Automatically exported from code.google.com/p/qtesseract
0 stars 0 forks source link

can not compile: cast from ‘QGraphicsRectItem*’ to ‘int’ loses precision [-fpermissive] #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I try to compile qtesseract on 64 bit Mandrivalinux and I got this build errors:
/test/qtesseract/source/myqmainwindow.cpp:128: error: cast from 
‘QTreeWidgetItem*’ to ‘int’ loses precision [-fpermissive]
/test/qtesseract/source/myqmainwindow.cpp:131: error: cast from 
‘QTreeWidgetItem*’ to ‘int’ loses precision [-fpermissive]
/test/qtesseract/source/myqmainwindow.cpp:291: error: cast from 
‘QTreeWidgetItem*’ to ‘int’ loses precision [-fpermissive]

I use QT4.7.3 and gcc 4.6.1

Original issue reported on code.google.com by zde...@gmail.com on 7 Oct 2011 at 3:29

GoogleCodeExporter commented 9 years ago
same problem "cast from ‘QTreeWidgetItem*’ to ‘int’ loses precision". 
Did you manage to solve it?
Moreover I can not find readerwindow.ui file 
Thanks.

Original comment by andreagi...@gmail.com on 30 Sep 2013 at 9:42