PDA

View Full Version : Application.app/Contents/MacOS file issue



sgmurphy19
19th September 2008, 21:46
If I take the file App from the package content folder App.app/Contents/MacOS and download it using Qhttp I am unable launch the app using the downloaded file.

If I grab the same file with an ftp program or straight from the server and copy and paste it, the app launches (so I know it is a good file).

Anyone know why this is the case?

[Added through Edit]
Also, if I email that file to myself and try to use it, it doesn't work either... not sure if these are related.

patrik08
20th September 2008, 10:03
If I take the file App from the package content folder App.app/Contents/MacOS and download it using Qhttp I am unable launch the app using the downloaded file.

If I grab the same file with an ftp program or straight from the server and copy and paste it, the app launches (so I know it is a good file).

Anyone know why this is the case?

[Added through Edit]
Also, if I email that file to myself and try to use it, it doesn't work either... not sure if these are related.

The bundle package or bundle dir appication having other lib inside and path must exact the same from bundle ....

if you move; QCoreApplication::applicationDirPath() can not find lib or other locale plugin ... and not run!

If his run it find lib from other bundle..

read http://doc.trolltech.com/4.1/deployment-mac.html