PDA

View Full Version : OLE with Qt Open Source Edition??



Arpan
6th August 2008, 09:23
Is there any way to achieve OLE with Qt Open Source Edition? I do not have access to QtActiveX module.

I'am trying to generate a rich text document using QTextDocument and QTextCursor and need to embed some word .doc files, excel .xls files and .txt files. I do not use QTextEdit and do not need to display the document after it is created. The generated documents will be opened by generic word processors. Can anyone guide me on if it is possible to achieve this or not?

Thanks in advance.

wysota
6th August 2008, 12:39
Yes, you can call the COM API yourself as you'd do it normally when not using Qt at all.

Arpan
6th August 2008, 13:14
Thank you. However I am not familiar with COM API and how to use it. Can you guide me to some resources like sites or ebooks where I can know how to make COM calls from Qt?

Thank you again.

wysota
6th August 2008, 14:00
msdn.microsoft.com :)