[Qt-jambi-interest] -XstartOnFirstThread & mac

Gunnar Sletta gunnar at trolltech.com
Tue Aug 11 07:26:26 CEST 2009


Matt. C. wrote:
> When I run the qtjambi examples (4.5.2) I get this warning message:
> 
> "Qt Jambi does not appear to be running on the main thread and will most 
> likely be unstable and crash. Please make sure to launch your 'java' 
> command with the '-XstartOnFirstThread' command line option."
> 
> The examples are also very unstable.
> 
> When I add -XstartOnFirstThread, I get this warning message:
> 
> "Qt Jambi does not appear to be running on the main thread and will most 
> likely be unstable and crash. Please make sure to launch your 'java' 
> command with the '-XstartOnFirstThread' command line option."

Hi Matt,

We added the warning for this release. Previously, Qt Jambi on mac would 
just be unstable and crash if the command line option was omitted. On my 
mac the message goes away when I enable the thread option.

Do you have some more specs on your system? Java version, OS version etc?

-
Gunnar




More information about the Qt-jambi-interest mailing list