Dear all,
I have some issues about the deployment on mac using a bundle application.
Before upgrading to qt 4.3 I use two different script:
- one script to copy all the Qt frameworks inside the bundle application (in Contents/framework folder).
- one script to launch the install_name tool and change Qt frameworks path in the main executable.
The otool -L command option show correct result.
But now, after upgrading to qt 4.3 the executable modified with this two script doesn't work and give strange output result:
QObject::moveToThread: Current thread (0x222bc20) is not the
object's thread (0x220af30).
Cannot move to target thread (0x220af30)
Cannot open file ':Resources/folder_up.svg', because: Unknown error
QObject::moveToThread: Current thread (0x222bc20) is not the
object's thread (0x220af30).
Cannot move to target thread (0x220af30)
Cannot open file ':Resources/folder_new.svg', because: Unknown error
QObject::moveToThread: Current thread (0x222bc20) is not the
object's thread (0x220af30).
Cannot move to target thread (0x220af30)
QObject::moveToThread: Current thread (0x222bc20) is not the
object's thread (0x220af30).
Cannot move to target thread (0x220af30)
QPixmap: Must construct a QApplication before a QPaintDevice
...then the program closes.
Note that if I cannot run the script, and I cannot change the "framework dependencies" the software works well without giving this strange error messages.
The script used are identical but I cannot understand why, with the new version it seems that doesn't work anymore.
In attach you can find the two script.
Trolls support cannot give any concrete help, I hope that here someone could help me
Thanks in advance,
Angelo
Bookmarks