[Qt-interest] QAxObject in threads
Marius Roets
roets.marius at gmail.com
Thu Sep 23 16:40:46 CEST 2010
Hi everybody,
It appears that I cannot create a QAxObject within a thread other than the
main thread.
For instance:
QAxObject *excel = new QAxObject("Application.Excel");
QString debugOutput = QString("Pointer : %1 ").arg((uint)excel,0,16);
qDebug() << debugOutput;
prints a valid pointer when executed from the main thread, but zero when
executed from QtConcurrent::run().
Any suggestions?
Regards
Marius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100923/91ccf04a/attachment.html
More information about the Qt-interest-old
mailing list