[PyQt] PyQt on Snow Leopard

Celil Rufat celil.rufat at gmail.com
Mon Aug 31 19:58:33 BST 2009


I am trying to install PyQt on Snow Leopard, but I am having trouble with
the configuration:

Running:

> python configure.py

results in the following error:

Determining the layout of your Qt installation...
/usr/bin/qmake -spec macx-g++ -o qtdirs.mk qtdirs.pro
make -f qtdirs.mk
g++ -c -pipe -g -gdwarf-2 -Wall -W -DQT_CORE_LIB -DQT_SHARED
-I/usr/local/Qt4.5/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore -I/usr/include -I. -F/Library/Frameworks -o qtdirs.o
qtdirs.cpp
In file included from
/Library/Frameworks/QtCore.framework/Headers/qnamespace.h:45,
                 from
/Library/Frameworks/QtCore.framework/Headers/qobjectdefs.h:45,
                 from
/Library/Frameworks/QtCore.framework/Headers/qobject.h:47,
                 from
/Library/Frameworks/QtCore.framework/Headers/qiodevice.h:46,
                 from
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qfile.h:45,
                 from
/Library/Frameworks/QtCore.framework/Versions/4/Headers/QFile:1,
                 from qtdirs.cpp:1:
/Library/Frameworks/QtCore.framework/Headers/qglobal.h:311:6: warning:
#warning "Support for this version of Mac OS X is still preliminary"
g++ -headerpad_max_install_names -o qtdirs.app/Contents/MacOS/qtdirs
qtdirs.o   -F/Library/Frameworks -L/Library/Frameworks -framework QtCore -lz
-lm -framework ApplicationServices
ld: warning: in /Library/Frameworks/QtCore.framework/QtCore, missing
required architecture x86_64 in file
Undefined symbols:
  "QString::free(QString::Data*)", referenced from:
      QString::~QString()in qtdirs.o
  "QTextStream::operator<<(QString const&)", referenced from:
      _main in qtdirs.o
      _main in qtdirs.o
      _main in qtdirs.o
      _main in qtdirs.o
      _main in qtdirs.o
      _main in qtdirs.o
      _main in qtdirs.o
  "QLibraryInfo::location(QLibraryInfo::LibraryLocation)", referenced from:
      _main in qtdirs.o
      _main in qtdirs.o
      _main in qtdirs.o
      _main in qtdirs.o
      _main in qtdirs.o
      _main in qtdirs.o
  "QFile::~QFile()", referenced from:
      _main in qtdirs.o
      _main in qtdirs.o
  "QFile::open(QFlags<QIODevice::OpenModeFlag>)", referenced from:
      _main in qtdirs.o
  "QTextStream::operator<<(char const*)", referenced from:
      _main in qtdirs.o
      _main in qtdirs.o
  "QTextStream::~QTextStream()", referenced from:
      _main in qtdirs.o
      _main in qtdirs.o
  "QFile::QFile(QString const&)", referenced from:
      _main in qtdirs.o
  "QString::fromAscii_helper(char const*, int)", referenced from:
      QString::QString(char const*)in qtdirs.o
  "QTextStream::QTextStream(QIODevice*)", referenced from:
      _main in qtdirs.o
  "QLibraryInfo::licensee()", referenced from:
      _main in qtdirs.o
  "QTextStream::operator<<(char)", referenced from:
      _main in qtdirs.o
      _main in qtdirs.o
      _main in qtdirs.o
      _main in qtdirs.o
      _main in qtdirs.o
      _main in qtdirs.o
      _main in qtdirs.o
      _main in qtdirs.o
      _main in qtdirs.o
  "QTextStream::operator<<(int)", referenced from:
      _main in qtdirs.o
      _main in qtdirs.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [qtdirs.app/Contents/MacOS/qtdirs] Error 1
Error: Failed to determine the layout of your Qt installation. Try again
using
the --verbose flag to see more detail about the problem.

Does anybody have experience building PyQt on Snow Leopard?

Thanks,
Celil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090831/1b403088/attachment.html


More information about the PyQt mailing list