Yes, it seems it's a Qt Bug, which appears in Qt 4.8.4 and 4.8.5. After some research, I found, there are others which run into the same Problems (not J related).
I wrote a small (quick and dirty) Windows DLL to call the open and save dialogs, as a workaround. If somebody is interested in this DLL (and source code, of course), please let me know. Kind Regards Martin > I suspect this is a Qt bug if it only crashes on Windows. > > 17.10.2013, ? 16:26, "Martin Saurer" <[email protected]> ???????(?): > > > JQT.exe crashes on Windows 7 32bit, when using > > > > > > > > wd 'mb open ...' > > > > wd 'mb open1 ...' > > > > wd 'mb save ...' > > > > > > > > Right after loading the following script, everything is working. > > > > After a few minutes, when pressing the button again, jqt.exe > > > > crashes. > > > > This happens only on Windows. On Mac and Linux there is no > > > > problem. > > > > > > > > NB. ************************************************** > > > > NB. GUI definition > > > > qtct_win =: 0 : 0 > > > > pc qtct; > > > > pn QtCrashTest; > > > > > > > > bin v; > > > > > > > > cc but1 button; > > > > cn Press to crash Qt; > > > > > > > > cc tex1 edit readonly; > > > > ) > > > > > > > > NB. GUI initialization > > > > qtct_run =: 3 : 0 > > > > wd 'reset' > > > > wd qtct_win > > > > wd 'pcenter' > > > > wd 'pshow' > > > > ) > > > > > > > > NB. GUI termination > > > > qtct_close =: 3 : 0 > > > > wd 'pclose' > > > > ) > > > > > > > > NB. Select original bitmap > > > > qtct_but1_button =: 3 : 0 > > > > wd 'set but1 focus' > > > > NB. ifn =. wd 'mb open "Select Bitmap-Image" "" "Bitmap (*.bmp)"' > > > > NB. ifn =. wd 'mb open1 "Select Bitmap-Image" "" "Bitmap (*.bmp)"' > > > > ifn =. wd 'mb save "Select Bitmap-Image" "" "Bitmap (*.bmp)"' > > > > ifn =. >0{(LF splitstring ifn) > > > > wd 'set tex1 text ',ifn > > > > ) > > > > > > > > NB. Run GUI when file is loaded > > > > NB. Comment out, if you want to use this file as a library > > > > qtct_run'' > > > > NB. ************************************************** > > > > > > > > Thanks in advance. > > > > > > > > Kind Regards > > > > > > > > Martin > > > > > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
