OSX/CI: plasmate fails to build on branch frameworks

Marko Käning mk-lists at email.de
Sun Sep 14 14:24:32 UTC 2014


Linux/CI hang, because there was a missing dependency to kdevplatform.
This has been fixed by now, but Jenkins master hasn’t picked up the dependency
change yet.

On OSX/CI the project fails here:

---

[ 97%] Building CXX object plasmate/CMakeFiles/plasmate.dir/app/plasmateapp.cpp.o
[ 98%] Building CXX object plasmate/CMakeFiles/plasmate.dir/plasmate_automoc.cpp.o
/Users/marko/WC/KDECI-builds/plasmate/plasmate/app/plasmateapp.cpp:62:5: warning: 'KSplashScreen' is deprecated [-Wdeprecated-declarations]
    KSplashScreen* splash = 0;
    ^
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kdelibs4support/inst/include/KF5/KDELibs4Support/ksplashscreen.h:42:41: note: 'KSplashScreen' declared here
class KDELIBS4SUPPORT_DEPRECATED_EXPORT KSplashScreen : public QSplashScreen //krazy:exclude=qclasses
                                        ^
/Users/marko/WC/KDECI-builds/plasmate/plasmate/app/plasmateapp.cpp:152:27: error: no matching member function for call to 'openDocument'
    m_documentController->openDocument(metadataFilePath);
    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/extragear/kdevelop/kdevplatform/inst/include/kdevplatform/interfaces/idocumentcontroller.h:140:34: note: candidate function not viable: no known conversion from 'const QString' to 'const QUrl' for 1st argument
    virtual KDevelop::IDocument* openDocument( const QUrl &url,
                                 ^
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/extragear/kdevelop/kdevplatform/inst/include/kdevplatform/interfaces/idocumentcontroller.h:157:31: note: candidate function not viable: no known conversion from 'const QString' to 'KDevelop::IDocument *' for 1st argument
    virtual Q_SCRIPTABLE bool openDocument(IDocument* doc,
                              ^
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/extragear/kdevelop/kdevplatform/inst/include/kdevplatform/interfaces/idocumentcontroller.h:122:26: note: candidate function not viable: requires at least 2 arguments, but 1 was provided
    KDevelop::IDocument* openDocument( const QUrl &url,
                         ^
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/extragear/kdevelop/kdevplatform/inst/include/kdevplatform/interfaces/idocumentcontroller.h:168:34: note: candidate function not viable: requires 2 arguments, but 1 was provided
    virtual KDevelop::IDocument* openDocument( const QUrl &url, const QString& prefname ) = 0;
                                 ^
1 warning and 1 error generated.
make[2]: *** [plasmate/CMakeFiles/plasmate.dir/app/plasmateapp.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [plasmate/CMakeFiles/plasmate.dir/all] Error 2



More information about the Kde-frameworks-devel mailing list