Hi
Is there any one that have tried to use Qt (with Gui) together with COM?
and if so where have you placed the QApplication part?

I have it within a function i an interface of the COM class like this:
Qt Code:
  1. STDMETHODIMP CRGraph::GraphRun(CHAR* inData, CHAR* outResult)
  2. {
  3. // TODO: Add your implementation code here
  4. int argc;
  5. char *argv;
  6. QApplication app(argc,&argv);
  7. QMessageBox msgBox;
  8. msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
  9. msgBox.show();
  10. app.exec();
  11. return S_OK;
  12. }
To copy to clipboard, switch view to plain text mode 

the problem is that nothing shows and i'm not shure how to proceed.