Skip to main content
edited tags
Link
Gilles 'SO- stop being evil'
  • 865.9k
  • 205
  • 1.8k
  • 2.3k
edited title
Link
polym
  • 11.1k
  • 10
  • 45
  • 66

Ubutnu Ubuntu Qmake is not an executable

added 1080 characters in body
Source Link
DolDurma
  • 195
  • 1
  • 2
  • 10

in option of Build & Run and choose qmake in `/usr/bin/qmake'/usr/bin/qmake i get this error :

tux-world@alachiq:~ > apt-cache search qt5-qmake
qt5-qmake - Qt 5 qmake Makefile generator tool

tux-world@alachiq:~ > ldd /opt/qtForArm/bin/qmake 
     ldd: /opt/qtForArm/bin/qmake: No such file or directory

tux-world@alachiq:~ > sudo chmod +x /usr/lib/i386-linux-gnu/qt4/bin/qmake
[sudo] password for tux-world: 
chmod: cannot access ‘/usr/lib/i386-linux-gnu/qt4/bin/qmake’: No such file or directory

UPDATE:

tux-world@alachiq:~ > apt-cache policy qt5-qmake
qt5-qmake:
  Installed: 5.2.1+dfsg-1ubuntu14.2
  Candidate: 5.2.1+dfsg-1ubuntu14.2
  Version table:
 *** 5.2.1+dfsg-1ubuntu14.2 0
        500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     5.2.1+dfsg-1ubuntu14 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main i386 Packages



tux-world@alachiq:~ > ls -a -l /usr/bin/qmake 
lrwxrwxrwx 1 root root 9 فوریه 19 15:53 /usr/bin/qmake -> qtchooser



tux-world@alachiq:~ > qtchooser 
Usage:
  qtchooser { -l | -list-versions | -print-env }
  qtchooser -run-tool=<tool name> [-qt=<Qt version>] [program arguments]
  <executable name> [-qt=<Qt version>] [program arguments]

Environment variables accepted:
 QTCHOOSER_RUNTOOL  name of the tool to be run (same as the -run-tool argument)
 QT_SELECT          version of Qt to be run (same as the -qt argument)

tux-world@alachiq:~ > 

in option of Build & Run and choose qmake in `/usr/bin/qmake' i get this error :

tux-world@alachiq:~ > apt-cache search qt5-qmake
qt5-qmake - Qt 5 qmake Makefile generator tool

tux-world@alachiq:~ > ldd /opt/qtForArm/bin/qmake 
     ldd: /opt/qtForArm/bin/qmake: No such file or directory

tux-world@alachiq:~ > sudo chmod +x /usr/lib/i386-linux-gnu/qt4/bin/qmake
[sudo] password for tux-world: 
chmod: cannot access ‘/usr/lib/i386-linux-gnu/qt4/bin/qmake’: No such file or directory

in option of Build & Run and choose qmake in /usr/bin/qmake i get this error :

tux-world@alachiq:~ > apt-cache search qt5-qmake
qt5-qmake - Qt 5 qmake Makefile generator tool

tux-world@alachiq:~ > ldd /opt/qtForArm/bin/qmake 
     ldd: /opt/qtForArm/bin/qmake: No such file or directory

tux-world@alachiq:~ > sudo chmod +x /usr/lib/i386-linux-gnu/qt4/bin/qmake
[sudo] password for tux-world: 
chmod: cannot access ‘/usr/lib/i386-linux-gnu/qt4/bin/qmake’: No such file or directory

UPDATE:

tux-world@alachiq:~ > apt-cache policy qt5-qmake
qt5-qmake:
  Installed: 5.2.1+dfsg-1ubuntu14.2
  Candidate: 5.2.1+dfsg-1ubuntu14.2
  Version table:
 *** 5.2.1+dfsg-1ubuntu14.2 0
        500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     5.2.1+dfsg-1ubuntu14 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main i386 Packages



tux-world@alachiq:~ > ls -a -l /usr/bin/qmake 
lrwxrwxrwx 1 root root 9 فوریه 19 15:53 /usr/bin/qmake -> qtchooser



tux-world@alachiq:~ > qtchooser 
Usage:
  qtchooser { -l | -list-versions | -print-env }
  qtchooser -run-tool=<tool name> [-qt=<Qt version>] [program arguments]
  <executable name> [-qt=<Qt version>] [program arguments]

Environment variables accepted:
 QTCHOOSER_RUNTOOL  name of the tool to be run (same as the -run-tool argument)
 QT_SELECT          version of Qt to be run (same as the -qt argument)

tux-world@alachiq:~ > 
This problem doesn't happen on my Ubuntu box and given that it is also tagged mint - the Ubuntu tag should be removed.
Link
Loading
Source Link
DolDurma
  • 195
  • 1
  • 2
  • 10
Loading