On 28/01/2026 06:31, Méven wrote:
Hi Bernardo,

You could have linked to this page:
https://invent.kde.org/bernardogn/kio-onedrive/-/issues?show=eyJpaWQiOiIyMCIsImZ1bGxfcGF0aCI6ImJlcm5hcmRvZ24va2lvLW9uZWRyaXZlIiwiaWQiOjUxNDM4fQ%3D%3D

That's our process https://develop.kde.org/docs/getting-started/add-project/incubation/#candidate-phase

I can be the sponsor, although I don't have an onedrive account to test your code against a onedrive server.

A big caveat with the project is that it uses C++ modules and as such has some issues with building with current Qt + GCC 15, it builds only with clang 18+.
https://invent.kde.org/bernardogn/kio-onedrive/-/issues/2#note_1358706
Are there any evolutions ? Did you report the issue you encountered to Qt ?

Cheers,

Le mar. 27 janv. 2026 à 20:12, Bernardo Negri <[email protected]> a écrit :

    Hello,

    I would like to start the incubation process for kio-onedrive[1]
    and to
    seek a sponsor for this process. The KDE Invent issue to track the
    incubation request is at
    <https://invent.kde.org/bernardogn/kio-onedrive/-/issues/20>.

    kio-onedrive is a kio worker that allows applications such as
    Dolphin to
    access files stored on the user's Microsoft OneDrive account and the
    files stored in it, similarly to how kio-gdrive allows Dolphin to
    access
    the user's Google Drive.

    The people committing to the project, as far as I know, would be just
    me. However, a few KDE developers have expressed interest in the past.

    I agree to follow the principles of the KDE manifesto.

    This project would also advance KDE's strategy to reach its
    mission by
    "interoperating well with proprietary services."

    However, there may be one technical hiccup: right now, the project
    needs
    to be compiled with Ninja as the CMake generator, and with Clang
    as the
    C++ compiler. When GCC 16 releases, it will be possible to compile
    kio-onedrive with GCC, but the requirement to use Ninja as the CMake
    generator will stay for the foreseeable future. I do not believe
    this is
    a too onerous requirement for distributions, I have managed to make
    builds for Debian, OpenSUSE Tumbleweed, Arch Linux and Fedora[2].

    Thank you,

    Bernardo

    [1] https://invent.kde.org/bernardogn/kio-onedrive/

    [2]
    https://build.opensuse.org/package/show/home:bernardogn/kio-onedrive



--
Méven

Hi Méven,

I did report the issue to Qt. It is tracked at <https://qt-project.atlassian.net/browse/QTBUG-142513>. Unfortunately, the issue seems unlikely to be resolved at Qt's side since it would require changes at lots of headers. However, the build works perfectly with any recent version of clang.

The only evolution is that the new "-Wno-expose-global-module-tu-local" flag in GCC 16 would fix the issue. It looks like GCC 16 will release in late April or early May this year, and will take a little bit more time to be added to distributions. So it seems clang is the only option for using Qt with C++20 modules for the time being.

Cheers,

Bernardo

Reply via email to