qmake: could not exec '/usr/lib/arm-linux-gnueabihf/qt4/bin/ - Raspberry Pi Forums
hi,
installed fresh raspbian jessie 2015-11-21 , 2 qt related tools — qtcreator , qt5-qmake: managed open qtcreator using: when tried compile, complained that: qmake: not exec '/usr/lib/arm-linux-gnueabihf/qt4/bin/qmake': no such file or directory
inside /usr/lib/arm-linux-gnueabihf folder can see both qt4 , qt5 folder. qt4/bin has qdbus. qt5/bin has qmake in if run directly, return same error: qmake: not exec '/usr/lib/arm-linux-gnueabihf/qt4/bin/qmake': no such file or directory
idea?
installed fresh raspbian jessie 2015-11-21 , 2 qt related tools — qtcreator , qt5-qmake:
code: select all
> sudo apt-get update > sudo apt-get install qtcreator > sudo apt-get install qt5-qmake
code: select all
> sudo qtcreator -noload welcome
inside /usr/lib/arm-linux-gnueabihf folder can see both qt4 , qt5 folder. qt4/bin has qdbus. qt5/bin has qmake in if run directly, return same error: qmake: not exec '/usr/lib/arm-linux-gnueabihf/qt4/bin/qmake': no such file or directory
idea?
the system supports have several versions of qt installed, , executables registered , chosen app called qtchooser.
- man page: http://manpages.ubuntu.com/manpages/uto ... ser.1.html
- better info: https://harishnavnit.wordpress.com/2014 ... ons-of-qt/
errors tells me system still thinks want use qt4.
adding "export qt_select = 5" "~/.profile" or "~/.bashrc" should make sure qt5 selected.
- man page: http://manpages.ubuntu.com/manpages/uto ... ser.1.html
- better info: https://harishnavnit.wordpress.com/2014 ... ons-of-qt/
errors tells me system still thinks want use qt4.
adding "export qt_select = 5" "~/.profile" or "~/.bashrc" should make sure qt5 selected.
raspberrypi
Comments
Post a Comment