OSX/CI system: kalgebra fails to build on branch frameworks
Aleix Pol
aleixpol at kde.org
Tue Jul 15 22:43:27 UTC 2014
On Tue, Jul 15, 2014 at 11:30 PM, Marko Käning <mk-lists at email.de> wrote:
> Hi, this is what I’ve found when trying to get kalgebra to build on OSX
> using KF5:
>
> —
> ...
> [ 57%] Built target docbook_analitzacommands
> [ 61%] Building CXX object
> src/CMakeFiles/kalgebra.dir/kalgebra_automoc.cpp.o
> Linking CXX executable kalgebramobile.app/Contents/MacOS/kalgebramobile
> [ 85%] Built target kalgebramobile
> /Users/marko/WC/KDECI-builds/kalgebra/src/functionedit.cpp:92:25: error:
> no viable conversion from 'bool' to 'QFlags<Qt::Orientation>'
> m_graph->setTicksShown(false);
> ^~~~~
> /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/include/QtCore/qflags.h:84:7:
> note: candidate constructor (the implicit copy constructor) not viable: no
> known conversion from 'bool' to 'const QFlags<Qt::Orientation> &' for 1st
> argument
> class QFlags
> ^
> /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/include/QtCore/qflags.h:84:7:
> note: candidate constructor (the implicit move constructor) not viable: no
> known conversion from 'bool' to 'QFlags<Qt::Orientation> &&' for 1st
> argument
> class QFlags
> ^
> /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/include/QtCore/qflags.h:106:29:
> note: candidate constructor not viable: no known conversion from 'bool' to
> 'Qt::Orientation' for 1st argument
> Q_DECL_CONSTEXPR inline QFlags(Enum f) : i(Int(f)) {}
> ^
> /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/include/QtCore/qflags.h:107:29:
> note: candidate constructor not viable: no known conversion from 'bool' to
> 'Zero' (aka 'int (QFlags<Qt::Orientation>::Private::*)') for 1st argument
> Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {}
> ^
> /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/include/QtCore/qflags.h:108:29:
> note: candidate constructor not viable: no known conversion from 'bool' to
> 'QFlag' for 1st argument
> Q_DECL_CONSTEXPR inline QFlags(QFlag f) : i(f) {}
> ^
> /opt/kde/install/darwin/mavericks/clang/kf5-qt5/kde/kdeedu/analitza/inst/include/analitzagui/plotsview2d.h:111:48:
> note: passing argument to parameter 'o' here
> void setTicksShown(QFlags<Qt::Orientation> o) {
> Plotter2D::setShowTickLabels(o); }
> ^
> 1 error generated.
> make[2]: *** [src/CMakeFiles/kalgebra.dir/functionedit.cpp.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> /Users/marko/WC/KDECI-builds/kalgebra/src/kalgebra.cpp:71:99: warning:
> unused parameter 'functype' [-Wunused-parameter]
> virtual bool matchesExpression(const Analitza::Expression&
> exp, const Analitza::ExpressionType& functype) const {
>
> ^
> /Users/marko/WC/KDECI-builds/kalgebra/src/kalgebra.cpp:92:99: warning:
> unused parameter 'functype' [-Wunused-parameter]
> virtual bool matchesExpression(const Analitza::Expression&
> exp, const Analitza::ExpressionType& functype) const
>
> ^
> /Users/marko/WC/KDECI-builds/kalgebra/src/kalgebra.cpp:365:9: warning:
> TODO: Port to PlotsModel [-W#pragma-messages]
> #pragma message("TODO: Port to PlotsModel")
> ^
> 3 warnings generated.
> make[1]: *** [src/CMakeFiles/kalgebra.dir/all] Error 2
> make: *** [all] Error 2
>
> KDE Continuous Integration Build
> == Building Project: kalgebra - Branch frameworks
>
>
KDE Windows developers told me this was better than #warning because it
worked on MSVC.
If you want, to get it working fast, you can #ifdef __APPLE__ (or however
you do it). They're TODO's anyway...
Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20140716/00c52ee1/attachment.html>
More information about the kde-edu
mailing list