OSX/CI: purpose fails to build on branch master

Aleix Pol aleixpol at kde.org
Mon Mar 2 21:22:05 UTC 2015


On Mon, Mar 2, 2015 at 8:55 PM, Marko Käning <mk-lists at email.de> wrote:
> Hi Aleix,
>
> after adding a few dependencies:
> ---
> $ git diff
> diff --git a/dependency-data-kf5-qt5 b/dependency-data-kf5-qt5
> index 7cf844f..2a303d4 100644
> --- a/dependency-data-kf5-qt5
> +++ b/dependency-data-kf5-qt5
> @@ -1002,6 +1002,12 @@ playground/base/kio-mtp: frameworks/ki18n
>  playground/base/kio-mtp: frameworks/solid
>  playground/base/kio-mtp: frameworks/kio
>
> +# Playground Libs
> +playground/libs/purpose: frameworks/kcoreaddons
> +playground/libs/purpose: frameworks/kconfig
> +playground/libs/purpose: frameworks/ki18n
> +playground/libs/purpose: frameworks/kdeclarative
> +
>  # KAccounts
>  kdereview/kaccounts-integration: frameworks/kcmutils
>  kdereview/kaccounts-integration: frameworks/kio
> diff --git a/logical-module-structure b/logical-module-structure
> index c7f929e..284c54a 100644
> --- a/logical-module-structure
> +++ b/logical-module-structure
> @@ -738,6 +738,9 @@
>          "playground/libs/kpackage" : {
>              "kf5-qt5": "master"
>          },
> +        "playground/libs/purpose" : {
> +            "kf5-qt5": "master"
> +        },
>          "playground/base/qtcurve" : {
>              "latest-qt4": "master",
>              "kf5-qt5": “master”
> ---
> I was able to start building purpose on OSX/CI...
>
>
> ...but then it failed later on:
> ---
> /Users/marko/WC/KDECI-builds/kf5-qt5/purpose/src/plugins/ktp-sendfile/ktpsendfileplugin.cpp:65:28: error: no matching constructor for initialization of 'const QJsonObject &'
>             Q_EMIT output( {{ QStringLiteral("url"), {} }});
>                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /Users/marko/WC/KDECI-builds/kf5-qt5/purpose/src/plugins/dummy/dummyplugin.cpp:48:13: error: no matching function for call to 'singleShot'
>             QTimer::singleShot(100, this, [this](){ setPercent(10); });
>             ^~~~~~~~~~~~~~~~~~
> ---
>
> Please find the whole build log attached.
>
> Greets,
> Marko
>
>
> P.S.: I was trying to build kamoso. Stop me, please, if this still doesn’t make sense (on OSX)!!!
>

I'm guessing the compiler you are using doesn't support yet some fancy
c++11 features?
I'm guessing you are still using Qt 5.3? QTimer::singleShot takes a
lambda on the 3rd argument for the first time in Qt 5.4.

Anyway, this purpose thing can be considered a proof of concept still,
so if you want we can discuss about it outside of kde-frameworks-devel
so we don't generate any noise.

Cheers!
Aleix


More information about the Kde-frameworks-devel mailing list