[Kexi-devel] kexi build problems wtih qt5.5 & gcc-5.2

Treeve Jelbert treeve at scarlet.be
Mon Aug 24 10:31:08 UTC 2015


I tried building the kexi-frameworks9-staniek branch, but get multiple 
errors.

Some caused by  -Woverloaded-virtual and also

or.h: In member function 'QObject* KexiScriptAdaptor::getConnection()':
/var/git/qt5/kde5-apps/calligra/kexi/plugins/reports/../scripting/kexiscripting/kexiscriptadaptor.h:119:111: 
error: no matching function for call to 
'QArgument<QObject*>::QArgument(const char [9], KDbConnection*&)'
              if (QMetaObject::invokeMethod(m_kexidbmodule, 
"connectionWrapper", Q_RETURN_ARG(QObject*, result), Q_ARG(QObject*, 
connection)))
                                                                         
                                       ^
In file included from /opt/qt5/include/QtCore/qmetatype.h:45:0,
                  from /opt/qt5/include/QtWidgets/qgraphicsview.h:37,
                  from /opt/qt5/include/QtWidgets/QGraphicsView:1,
                  from 
/var/git/qt5/kde5-apps/calligra/kexi/plugins/reports/kexireportview.h:22,
                  from 
/var/git/qt5/kde5-apps/calligra/kexi/plugins/reports/kexireportview.cpp:20:
/opt/qt5/include/QtCore/qobjectdefs.h:279:12: note: candidate: 
QArgument<T>::QArgument(const char*, const T&) [with T = QObject*]
      inline QArgument(const char *aName, const T &aData)
             ^
/opt/qt5/include/QtCore/qobjectdefs.h:279:12: note:   no known 
conversion for argument 2 from 'KDbConnection*' to 'QObject* const&'
/opt/qt5/include/QtCore/qobjectdefs.h:276:7: note: candidate: constexpr 
QArgument<QObject*>::QArgument(const QArgument<QObject*>&)
  class QArgument: public QGenericArgument
        ^
/opt/qt5/include/QtCore/qobjectdefs.h:276:7: note:   candidate expects 
1 argument, 2 provided
/opt/qt5/include/QtCore/qobjectdefs.h:276:7: note: candidate: constexpr 
QArgument<QObject*>::QArgument(QArgument<QObject*>&&)
/opt/qt5/include/QtCore/qobjectdefs.h:276:7: note:   candidate expects 
1 argument, 2 provided
In file included from 
/var/git/qt5/kde5-apps/calligra/kexi/plugins/reports/kexireportview.cpp:35:0:

see attached log

Regards, Treeve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: calligra-3.x.bz2
Type: application/octet-stream
Size: 10417 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kexi-devel/attachments/20150824/54958d67/attachment.obj>


More information about the Kexi-devel mailing list