04-02-2013 05:05 AM
I have update my code with your advice:
Invocation *m_pInvocation = Invocation::create( InvokeQuery::create().parent(this).mimeType("text/
plain; charser=utf-8") .data(QString(title + " " + link).toUtf8())); QObject::connect(m_pInvocation, SIGNAL(armed()), this, SLOT(onArmed())); QObject::connect(m_pInvocation, SIGNAL(finished()), m_pInvocation, SLOT(deleteLater()));
Now, when I select the email option the content is empty. When I select any other option the text is ok.
For example. If I want to share 'París'. In spanish París has an accent. (í)
mimeType: text/plain; charset=utf-8
04-08-2013 11:49 AM
I think we can solve it if we can check what application have selected the user to share with and set the data depending on the selection...
Is it possible??