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

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -