Qt Installation on Xubuntu 13.1
I am sure this has been asked and answered before but I could not find the thread. I am a newbie to Qt and am trying to install it on Odroid (OS Xubuntu 13.1). I tried to run qt-opensource-linux-x86-1.6.0-3-online by chaning permission to 'Allow this file to run as program'. But when I clicked 'Execute' on right click - nothing happened. I downloaded the file qt-opensource-linux-x86-5.3.0 and again tried. Once again nothing happened. What am I doing wrong? Is there a written down procedure somewhere?
Hi and welcome to devnet,
have you downloaded the right version - 64bit or 32bit?
Yes - I have downloaded the right version - 32bit
Do see any messages if you try to run the executable in a terminal window?
Subsequently, though I was able to install Qt 4. I used the procedure given on this page: http://www.installion.co.uk/ubuntu/saucy/universe/q/qt-sdk/install.html
I installed the following modules:
- Qt 4 Assistant
- Qt 4 Designer
- Qt 4 Linguist
- Qt Creator - I think there is a screw-up here as this is Qt Creator 2.7.1 which is based on Qt 5.0.2
I am now looking for Qt Creator which will work with Qt 4
If you can point me to procedure to install Qt 5 it will be great! I will then uninstall Qt 4 and install Qt 5
I suggest using "this ":http://download.qt-project.org/official_releases/qt/5.3/5.3.0/qt-opensource-linux-x64-5.3.0.run or "this ":http://download.qt-project.org/official_releases/qt/5.3/5.3.0/qt-opensource-linux-x64-android-5.3.0.run if you'd like to work with android, too.
Change the downloaded .run to executable and - to make sure you see any messages - run the setup in a terminal window.
Yes - I tried to run it in a terminal window. I got a message saying 'cannot execute binary file'.
How do I change .run to executable? By changing properties->Permssions?
In the terminal window change to the directory containing the .run-file, write:
chmod 766 your_exact_filename.run + enter.
If you look at the contents of your directory (ls -l) you will see:
rwxrw-rw- 1 username groupname 123...size date filename
where the rwx means that the user can read, write, execute that file.
EDIT: You may use properties - permissions as well, but if you want to see the messages it's easier to work in the terminal window
I did this but still cannot execute the file. I keep getting error 'cannot execute binary file'.
Are you sure, that you are working with a 32bit Xubuntu?
You will see this message if you try to run a 32bit program on a 64bit machine
Yes. I checkd it just now with file /sbin/init.
I got the following output
ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=0x851f2b8d5f62868f13ac123ab8d5d6786f864559, stripped
So clearly it is 32 bit.
I see - so unfortunately at the moment I have no idea how to solve that issue
OK - Thanks anyway. BTW it is an ARM processor (Odroid).
I fear the Xubuntu running on your Odroid is not 100% compatible - that seems to be the reason why the messages are similar to a 32/64bit mix.
I do not want to lead you the wrong path so hopefully you'll find a solution as you could already install the Qt 4 versions.