[Pythonmac-SIG] py2app cannot move to target thread error
Scott Frankel
leknarf at pacbell.net
Mon Sep 21 06:56:17 CEST 2009
I've just now gotten my app to launch without error. qt.conf was the
key. Thanks to Daniel and Marc-Antoine for their posts!
Interestingly, manipulating library names and paths with
install_name_tool was not necessary in my case. Not sure why not.
Creating a plugins/sqldrivers dir, copying the libqsqlpsql.bundle to
it, then creating a qt.conf INI file specifying that location within
the app bundle was all that was needed.
I'll be happy to contribute my final setup.py file as a recipe. How
would I go about that?
Meanwhile, here are a couple of URLs that provided useful information:
http://doc.trolltech.com/4.4/deployment-mac.html#linking-the-application-to-qt-as-frameworks
http://doc.trolltech.com/4.4/qt-conf.html
Thanks
Scott
On Sep 18, 2009, at 9:31 AM, Christopher Barker wrote:
> Scott Frankel wrote:
>> Thanks for the info and sample code! I've now got
>> libqsqlpsql.bundle copying to the app bundle's frameworks dir.
>> Reading http://doc.trolltech.com/4.4/deployment-mac.html#linking-the-application-to-qt-as-frameworks
>> , I'm knee deep in otool and install_name_tool. I had no idea I
>> had to wrestle with this for a Python app.
>> I'll post back to the list once I've got things working.
>
> Ideally, when you've got it figured out, it could be turned into a
> py2app recipe and contributed to trunk -- hint, hint!
>
> -Chris
>
>
>
> --
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
>
> Chris.Barker at noaa.gov
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
More information about the Pythonmac-SIG
mailing list