c++ - QT exec() command crash -
i´m developing application in qt 4.7.3. application called matlab(simulink) using mexfunction (*.mexw32)
when try open dialog using dialog.exec() command, form displayed "non responding application" instantaneously. after that, matlab crashes.
if try open dialog using dialog.show() command, works fine.
i have no idea of whats going on, since both commands somehow similar, described here
does know happening?
dialog.exec()
spins local event loop doesn't integrate 1 matlab spinning. crash. conversely, you're banking on matlab doing right thing far own event loop being compatible qt's requirements goes. doesn't hold on platforms, unfortunately, although on windows seems work.
you should never using exec()
outside of main
anyway.
Comments
Post a Comment