qcastro
(usa Debian)
Enviado em 13/11/2014 - 10:34h
Eu instalei o squirrelsh, mas na instalação do iTest, tanto na versão 1.4.2 como 1.4.1, quando faço a compilação manual, dá o seguinte erro:
../shared/../iTestServer/mtlistwidget.h: In static member function ‘static void MTListWidget::highlightItem(QListWidgetItem*)’:
../shared/../iTestServer/mtlistwidget.h:60:99: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive]
../shared/../iTestServer/mtlistwidget.h:60:99: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive]
../shared/../iTestServer/mtlistwidget.h:60:100: error: cannot call constructor ‘QBrush::QBrush’ directly [-fpermissive]
../shared/../iTestServer/mtlistwidget.h:60:100: error: for a function-style cast, remove the redundant ‘::QBrush’ [-fpermissive]
../shared/../iTestServer/mtlistwidget.h:61:93: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive]
../shared/../iTestServer/mtlistwidget.h:61:93: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive]
../shared/../iTestServer/mtlistwidget.h:61:94: error: cannot call constructor ‘QBrush::QBrush’ directly [-fpermissive]
../shared/../iTestServer/mtlistwidget.h:61:94: error: for a function-style cast, remove the redundant ‘::QBrush’ [-fpermissive]
../shared/../iTestServer/mtlistwidget.h:63:72: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive]
../shared/../iTestServer/mtlistwidget.h:63:72: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive]
../shared/../iTestServer/mtlistwidget.h:63:73: error: cannot call constructor ‘QBrush::QBrush’ directly [-fpermissive]
../shared/../iTestServer/mtlistwidget.h:63:73: error: for a function-style cast, remove the redundant ‘::QBrush’ [-fpermissive]
../shared/../iTestServer/mtlistwidget.h:64:66: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive]
../shared/../iTestServer/mtlistwidget.h:64:66: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive]
../shared/../iTestServer/mtlistwidget.h:64:67: error: cannot call constructor ‘QBrush::QBrush’ directly [-fpermissive]
../shared/../iTestServer/mtlistwidget.h:64:67: error: for a function-style cast, remove the redundant ‘::QBrush’ [-fpermissive]
../shared/../iTestServer/mtlistwidget.h: In static member function ‘static bool MTListWidget::isItemHighlighted(QListWidgetItem*)’:
../shared/../iTestServer/mtlistwidget.h:70:82: error: cannot call constructor ‘QColor::QColor’ directly [-fpermissive]
../shared/../iTestServer/mtlistwidget.h:70:82: error: for a function-style cast, remove the redundant ‘::QColor’ [-fpermissive]
../shared/../iTestServer/mtlistwidget.h:70:83: error: cannot call constructor ‘QBrush::QBrush’ directly [-fpermissive]
../shared/../iTestServer/mtlistwidget.h:70:83: error: for a function-style cast, remove the redundant ‘::QBrush’ [-fpermissive]
make[1]: ** [.build.unix/main.o] Erro 1
make[1]: Saindo do diretório `/home/quintino/Downloads/provas-programas/iTest-1.4.1-src/iTestServer'
make: ** [sub-iTestServer-make_default] Erro 2
É algum problema no Qbrush e QColor, mas eu não entendo de C/C++ e não sei como "arrumaria" isso.