[Solved] Qt Creator installation on linux machine



  • I am used to work on windows. However, while trying to install qt creator by downloading the bin of version 2.5.2 gives error:
    bash: cannot execute binary file.
    Here is what I did.
    Downloaded 64 bit bin file from qt.nokia.com of 2.5.2
    Opened terminal.
    sudo chmod u+x qt-creator-linux-XXX-2.5.2.bin
    ls -lb
    -rwxr-xr-x 1 z5linux z5linux 83964198 Sep 5 11:29 qt-creator-linux-x86_64-opensource-2.5.2.bin
    z5linux@z5linux:~/Downloads$ ./qt-creator-linux-x86_64-opensource-2.5.2.bin
    bash: ./qt-creator-linux-x86_64-opensource-2.5.2.bin: cannot execute binary file

    ...
    Any idea what I'm doing wrong? And how can in install?



  • Are you the z5linux user in that machine?


  • Moderators

    Is /home mounted with noexec (some people do that;) Are you running a 64bit userland? Does the output of "file /bin/bash" and "file ~/Downloads/qt*.bin" match up?



  • @stuk,@Tobias: Yes it was a 64/32 bit mismatch. Thanks


  • Moderators

    The error message for 64/32bit mismatches are really misleading in linux IMHO.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.