Hi all,

you were right, I had to install "Qt for Open Source C++ development on Mac OS X" besides PySide.

I will change Pyside's wiki MacOs download page to say explicitely that you have to install "Qt for Open Source C++ development on Mac OS X" and "PySide packages". Although that information is there, it is not explicit, and as in Linux and Windows I didn't had to install nothing besides PySide, I thought the same was true regarding MacOs.. More, that package explicitely says "Qt for Open Source __C++__ ...", so it was the C++ part that got me confused!

For Mac OS X packager: is it really necessary to install all "Qt for Open Source C++ ..."? Couldn't you include the needed .so libraries in PySide package so MacOs final users don't need to install 2 packages? I don't know the answer, just making a suggestion..

Thanks for the answers, maybe now someone who searches for this subject in Google may find these answers.
João Ventura


On 29-09-2011 22:45, Aaron Richiger wrote:
Hello!

So you installed PySide using the package or compiled it yourself using the source code? And did you also install Qt (which is needed also for getting PySide working...) from the package or compiled it yourself?

Maybe I can help you with this answers, because I installed PySide (from package) and Qt (from soucre, because I needed MySql support, then installing from the package does not help...) on many different Apple machines and also on my MacOS in my linux virtualbox, so exactly what you want to do...

For me, the error sounds like (as another user guessed), you don't have the file QtCore.framework in the /Library/Frameworks/ directory and then probably also all other framework files in this directory which are needed are not there... And this might be consequenced by a missing Qt installation or a compilation of Qt with missing flags... But your answers on my two questions above will tell me more...

Have a nice evening!
Aaron

Am 29.09.2011 14:49, schrieb João Ventura:
Hi again,

anyone has any suggestion about this problem? Maybe Markus Ullmann, the OsX package manager has any suggestion?! I don't know even where to start to fix this problem. My main OS is Ubuntu, as I said..

Thanks again,
João Ventura
//

On 28-09-2011 14:23, Rishabh Jain wrote:
I have had the same problem on Snow Leopard, dug internet for solution for days but all in vain. Finally when I installed Lion and installed Qt and PySide again, its working fine.

On Sep 28, 2011, at 04:03 AM, João Ventura <joaojonesvent...@gmail.com> wrote:

Dear all,

i've made an app using PySide in an Ubuntu machine, and I needed to test it on other OS's. So i've installed WindowsXP and MacOsX in virtualbox, and although the Windows installation is fully functional, the MacOsX instalation is not:

The error seems to have happening before and I've searched the pyside archives month by month, but i've not found anywhere a solution for it. I've installed the latest 1.0.7 binary on Mac Os for python2.6, and using the standard MacOS python 2.6, when i try to import PySide I get the following error:

>>>  import PySide
Traceback (most recent call last):
   File "<stdin>", line 1, in<module>
   File "/Library/Python/2.6/site-packages/PySide/__init__.py", line 2, 
in<module>
     import private
   File "/Library/Python/2.6/site-packages/PySide/private.py", line 2, 
in<module>
     from QtCore import __moduleShutdown
ImportError: dlopen(/Library/Python/2.6/site-packages/PySide/QtCore.so, 2): 
Library not loaded: QtCore.framework/Versions/4/QtCore
   Referenced from: /Library/Python/2.6/site-packages/PySide/QtCore.so
   Reason: image not found

Has anyone had already this error, and knows how to solve?

PS: The installation is new, and besides the PySide binary, I've only installed 
a binary for having gcc available on Mac Os X..


Thanks,
João Ventura
_______________________________________________
PySide mailing list
PySide@lists.pyside.org <mailto:PySide@lists.pyside.org>
http://lists.pyside.org/listinfo/pyside


_______________________________________________
PySide mailing list
PySide@lists.pyside.org
http://lists.pyside.org/listinfo/pyside


--
Aaron Richiger
Rosentalstr. 11
8400 Winterthur

079 613 71 78
_______________________________________________
PySide mailing list
PySide@lists.pyside.org
http://lists.pyside.org/listinfo/pyside

Reply via email to