Aikiman
2nd March 2012, 11:26
Okay Ive followed some reliable instructions on how to install the latest QT build for OSX and sip 4.13 but not having much luck with PyQt 4.8.6.
After running 'python configure.py' from terminal i get this error...
'Error: Make sure you have a working Qt v4 qmake on your PATH or use the -q argument to explicitly specify a working Qt v4 qmake.'
I did some searching and tried this on...
'PATH=$PATH:/Users/jeremyraven/QtSDK/Simulator/Qt/gcc/bin/qmake
export PATH'
But I still got the above error so I ran this command...
'python configure.py -q /Users/jeremyraven/QtSDK/Simulator/Qt/gcc/bin/qmake'
and now I get this...
'Error: Qt has been built as static libraries so either the -g or -k argument
should be used.'
and now im stuck. Any help would be great thanks.
Added after 51 minutes:
This seems to be working...
'python configure.py -g -q /Users/jeremyraven/QtSDK/Simulator/Qt/gcc/bin/qmake'
Added after 18 minutes:
Okay after the PyQt install I got these errors...are they important, should I fix them? If so how to go about it?
'/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp: In function ‘PyObject* func_qt_mac_set_press_and_hold_context(PyObject*, PyObject*)’:
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp:6886: error: ‘qt_mac_set_press_and_hold_context’ was not declared in this scope
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp: In function ‘PyObject* func_qt_mac_set_native_menubar(PyObject*, PyObject*)’:
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp:6914: error: ‘qt_mac_set_native_menubar’ was not declared in this scope
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp: In function ‘PyObject* func_qt_mac_set_menubar_merge(PyObject*, PyObject*)’:
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp:6942: error: ‘qt_mac_set_menubar_merge’ was not declared in this scope
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp: In function ‘PyObject* func_qt_mac_set_menubar_icons(PyObject*, PyObject*)’:
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp:6970: error: ‘qt_mac_set_menubar_icons’ was not declared in this scope
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp: In function ‘PyObject* func_qt_mac_set_dock_menu(PyObject*, PyObject*)’:
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp:6999: error: ‘qt_mac_set_dock_menu’ was not declared in this scope
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp: In function ‘PyObject* func_qt_mac_secure_keyboard(PyObject*, PyObject*)’:
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp:7029: error: ‘qt_mac_secure_keyboard’ was not declared in this scope
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp: In function ‘PyObject* func_qt_set_sequence_auto_mnemonic(PyObject*, PyObject*)’:
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp:7057: error: ‘qt_set_sequence_auto_mnemonic’ was not declared in this scope
make[1]: *** [sipQtGuicmodule.o] Error 1
make: *** [install] Error 2'
After running 'python configure.py' from terminal i get this error...
'Error: Make sure you have a working Qt v4 qmake on your PATH or use the -q argument to explicitly specify a working Qt v4 qmake.'
I did some searching and tried this on...
'PATH=$PATH:/Users/jeremyraven/QtSDK/Simulator/Qt/gcc/bin/qmake
export PATH'
But I still got the above error so I ran this command...
'python configure.py -q /Users/jeremyraven/QtSDK/Simulator/Qt/gcc/bin/qmake'
and now I get this...
'Error: Qt has been built as static libraries so either the -g or -k argument
should be used.'
and now im stuck. Any help would be great thanks.
Added after 51 minutes:
This seems to be working...
'python configure.py -g -q /Users/jeremyraven/QtSDK/Simulator/Qt/gcc/bin/qmake'
Added after 18 minutes:
Okay after the PyQt install I got these errors...are they important, should I fix them? If so how to go about it?
'/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp: In function ‘PyObject* func_qt_mac_set_press_and_hold_context(PyObject*, PyObject*)’:
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp:6886: error: ‘qt_mac_set_press_and_hold_context’ was not declared in this scope
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp: In function ‘PyObject* func_qt_mac_set_native_menubar(PyObject*, PyObject*)’:
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp:6914: error: ‘qt_mac_set_native_menubar’ was not declared in this scope
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp: In function ‘PyObject* func_qt_mac_set_menubar_merge(PyObject*, PyObject*)’:
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp:6942: error: ‘qt_mac_set_menubar_merge’ was not declared in this scope
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp: In function ‘PyObject* func_qt_mac_set_menubar_icons(PyObject*, PyObject*)’:
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp:6970: error: ‘qt_mac_set_menubar_icons’ was not declared in this scope
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp: In function ‘PyObject* func_qt_mac_set_dock_menu(PyObject*, PyObject*)’:
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp:6999: error: ‘qt_mac_set_dock_menu’ was not declared in this scope
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp: In function ‘PyObject* func_qt_mac_secure_keyboard(PyObject*, PyObject*)’:
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp:7029: error: ‘qt_mac_secure_keyboard’ was not declared in this scope
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp: In function ‘PyObject* func_qt_set_sequence_auto_mnemonic(PyObject*, PyObject*)’:
/Users/jeremyraven/PyQt-mac-gpl-4.8.6/_qt/sipQtGuicmodule.cpp:7057: error: ‘qt_set_sequence_auto_mnemonic’ was not declared in this scope
make[1]: *** [sipQtGuicmodule.o] Error 1
make: *** [install] Error 2'