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:
STDMETHODIMP CRGraph::GraphRun(CHAR* inData, CHAR* outResult)
{
// TODO: Add your implementation code here
int argc;
char *argv;
msgBox.show();
app.exec();
return S_OK;
}
STDMETHODIMP CRGraph::GraphRun(CHAR* inData, CHAR* outResult)
{
// TODO: Add your implementation code here
int argc;
char *argv;
QApplication app(argc,&argv);
QMessageBox msgBox;
msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
msgBox.show();
app.exec();
return S_OK;
}
To copy to clipboard, switch view to plain text mode
the problem is that nothing shows and i'm not shure how to proceed.
Bookmarks