Send Email with attachment with my Qt Application

Boudhayan Gupta bgupta at kde.org
Wed Nov 16 18:58:43 UTC 2016


Hi Charles-Elie,

KService, and all of KDE software written in C++/Qt, are configured
with CMake and not QMake. There's no .pro files, but CMakeLists.txt
files. You'll need to install CMake, and build by doing:

cd /path/to/sources
cmake .
make && sudo make install

Hope this helps.

Thanks,
Boudhayan Gupta

On 16 November 2016 at 23:01, Charles-Elie Gentil <mail at jiyuusoft.net> wrote:
> 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
>
> mail at jiyuusoft.net
> http://blog.jiyuusoft.net
>
> Le 16 nov. 2016 à 17:24, David Edmundson <david at 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.
>
> Alternatively, you can probably just extract this one invokeMailer here:
> https://api.kde.org/frameworks/kservice/html/ktoolinvocation__win_8cpp_source.html
>
> It appears KToolInvocation doesn't have an OS X backend.
>
> David
>
>


More information about the Kde-frameworks-devel mailing list