PyQt build fails at last stage

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there
Using the pdf by Cyrille Fauvel to get PyQt working with my Maya 2016.5 install on Mac OS 10.11. I'm using the scripts supplied which I modified slightly:
changed PyQt version to 4.11.4
changed SIP version to 4.18
changed maya from maya 2016 to 2016.5
ran the sip script no problems.
run the pyqt script and pass all the checks, but compile fails with the following error. Can anyone tell me what I'm doing wrong?
mac:scripts administrator$ sh pyqt
~/Desktop/build/scripts ~/Desktop/build/scripts
~/Desktop/build/scripts/PyQt-mac-gpl-4.11.4 ~/Desktop/build/scripts ~/Desktop/build/scripts
Determining the layout of your Qt installation...
Error: Failed to determine the layout of your Qt installation. Try again using
the --verbose flag to see more detail about the problem.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
~/Desktop/build/scripts ~/Desktop/build/scripts
~/Desktop/build/scripts
when I build the configure statment manually and execute in the PyQt-mac-gpl-4.11.4 folder, this is what I get:
mac:PyQt-mac-gpl-4.11.4 administrator$ /Applications/Autodesk/maya2016.5/Maya.app/Contents/bin/mayapy ./configure.py —use-arch x86_64 -q /Applications/Autodesk/maya2016.5/Maya.app/Contents/bin/qmake LIBDIR_QT=/Applications/Autodesk/maya2016.5/Maya.app/Contents/MacOS INCDIR_QT=/Applications/Autodesk/maya2016.5/devkit/include/Qt MOC=/Applications/Autodesk/maya2016.5/Maya.app/Contents/bin/moc w --no-designer-plugin -g --verbose
Determining the layout of your Qt installation...
/Applications/Autodesk/maya2016.5/Maya.app/Contents/bin/qmake -spec macx-g++ -o qtdirs.mk qtdirs.pro
make -f qtdirs.mk
g++ -c -pipe -O2 -g -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.8 -g -Wall -W -DQT_NO_IMPORT_QT47_QML -DQT_NO_DEBUG -DQT_CORE_LIB -I/Applications/Autodesk/maya2016.5/Maya.app/Contents/bin/mkspecs/macx-g++ -I. -I/Applications/Autodesk/maya2016.5/Maya.app/Contents/bin/include/QtCore -I/Applications/Autodesk/maya2016.5/Maya.app/Contents/bin/include -I. -o qtdirs.o qtdirs.cpp
g++ -headerpad_max_install_names -arch x86_64 -g -Xarch_x86_64 -mmacosx-version-min=10.8 -o qtdirs.app/Contents/MacOS/qtdirs qtdirs.o -L/Applications/Autodesk/maya2016.5/Maya.app/Contents/bin/lib -lQtCore
ld: library not found for -lQtCore
clang: error: linker command failed with exit code 1 (use -v to see invocation)
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.
I have the QTCore file and it's corresponding libQTCore.dylib duplicate in the/Applications/Autodesk/maya2016.5/Maya.app/Contents/MacOS folder, and the script runs through all it's pre-flight checks without error. Not sure what to do next.
Any help would be sincerely appreciated.