I configured with "python configure.py -c" linking QtDesigner.so: /usr/bin/ld: can't locate file for: -lqpydesigner
For some reason libqpydesigner is built in debug mode, so the file name is libqpydesigner_debug.a, and I get the following error. I got past it by creating a symlink without the "_debug". c++ -c -pipe -g -F/usr/local/Trolltech/Qt-opensource-4.2.2/lib -Wall -W -fPIC -DPYTHON_LIB=\"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/Python.framework/Versions/2.3/Python\" -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -DQT_SHARED -I/usr/local/Trolltech/Qt-opensource-4.2.2/mkspecs/macx-g++ -I. -I/usr/local/Trolltech/Qt-opensource-4.2.2/lib/QtDesigner.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-opensource-4.2.2/include/QtDesigner -I/usr/local/Trolltech/Qt-opensource-4.2.2/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-opensource-4.2.2/include/QtCore -I/usr/local/Trolltech/Qt-opensource-4.2.2/include/QtCore -I/usr/local/Trolltech/Qt-opensource-4.2.2/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-opensource-4.2.2/include/QtGui -I/usr/local/Trolltech/Qt-opensource-4.2.2/include/QtGui -I/usr/local/Trolltech/Qt-opensource-4.2.2/lib/QtXml.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-opensource-4.2.2/include/QtXml -I/usr/local/Trolltech/Qt-opensource-4.2.2/include/QtXml -I/usr/local/Trolltech/Qt-opensource-4.2.2/include -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3 -I. -I. -o pluginloader.o pluginloader.cpp /System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/object.h:343: error: expected unqualified-id before ';' token /System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/object.h:343: error: abstract declarator 'PyObject*' used as declaration pluginloader.cpp: In constructor 'PyCustomWidgets::PyCustomWidgets(QObject*)': pluginloader.cpp:162: error: invalid conversion from 'const char*' to 'char*' pluginloader.cpp:162: error: initializing argument 1 of 'PyObject* PyImport_ImportModule(char*)' make[1]: *** [pluginloader.o] Error 1 make: *** [all] Error 2 This is the #undef slots problem I posted about a little while ago... -- Patrick Kidd Stinson http://www.patrickkidd.com/ http://pkaudio.sourceforge.net/ http://pksampler.sourceforge.net/ _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
