In fact I did not understand how to build KService, but I think I have found: I probably have to create the .pro file myself.
For the direct use of invokMailer, I have already tried but I can not use ShellExecute on my Mac. But I will try again. Best regards, Charlie m...@jiyuusoft.net http://blog.jiyuusoft.net > Le 16 nov. 2016 à 17:24, David Edmundson <da...@davidedmundson.co.uk> a écrit > : > > Sorry, didn't read that second line properly about attachments properly. > > What error do you get when buildling kservice? > You may find this tool that builds dependencies useful: https://inqlude.org > <https://inqlude.org/>. > > Alternatively, you can probably just extract this one invokeMailer here: > https://api.kde.org/frameworks/kservice/html/ktoolinvocation__win_8cpp_source.html > > <https://api.kde.org/frameworks/kservice/html/ktoolinvocation__win_8cpp_source.html> > > It appears KToolInvocation doesn't have an OS X backend. > > David