Hi all,
In my last post I mentioned that the qt.conf INI file was key to
fixing the "cannot move to target thread" problem, caused by multiple
instances of Qt running in the same app. The following setup.py file
is my encapsulation of the solution. This is my first brush with
py2app, s
Scott Frankel wrote:
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?
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, cop
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
Hi Daniel,
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
Has anyone within earshot of this list successfully built a PyQt
app with SQL support using py2app? I've been poking and prodding
at the problem for a few months now and I'm no closer to a solution
to the "cannot move to thread ..." error.
Yes, I think I got this to work recently with Qt3.
Hi all,
Has anyone within earshot of this list successfully built a PyQt app
with SQL support using py2app? I've been poking and prodding at the
problem for a few months now and I'm no closer to a solution to the
"cannot move to thread ..." error.
Might there be a setup.py solution?
Do
If someone has any wisdom to share regarding building a PyQt app with
SQL support, I'd be grateful.
I've deleted and rebuilt my macports environment from scratch and
googled myself silly. In a classic snake-eating-tail moment, my
online searches are returning my own posts more often tha
Hello,
I'm stuck somewhere between macports and py2app. I'm hopeful that
someone here may be able to offer some advice on how to rectify my
build environment.
Exporting DYLD_PRINT_LIBRARIES=1 and running a test app built with
QtSql support and another one without it, I'm pretty sure tha
Hello,
I'm troubleshooting a PyQt-PostgreSQL py2app error: "Cannot move to
target thread". Note that a test app builds and runs happily. The
error only comes up when I add PyQt4.QtSql' to py2app's option
includes. eg:
This works:
OPTIONS = {'argv_emulation': True, 'includes':
10 matches
Mail list logo