June 5, 2011

stephen.lacey stephen.lacey
Lab Rat
7 posts

Installing Linux Qt Creator

 

Hi All,

I’m a unix newbie and I can’t figure out how to install ten Linux edition of QT Creator.

When I download the package I get a “.run” file. I set that to executable and try and run it, but nothing happens (except a bash error to say the command is not recognised). I tried to run it via “sh QT_SDK_Lin32…etc.run” but that returns “cannot execute binary file”.

Any help would be much appreciated.

Stephen

8 replies

June 5, 2011

Denis Kormalev Denis Kormalev
Lab Rat
1654 posts

  1. chmod +x qtsdkinstaller.run
  2. ./qtsdkinstaller.run

June 5, 2011

stephen.lacey stephen.lacey
Lab Rat
7 posts

Thanks! Now I get further…but I get a glibcxx_3.4.9 not found error. Think that’s an issue with the version of linux running in my virtualbox though. I will try another.

June 7, 2011

bobby bobby
Lab Rat
44 posts

You should look at your distro’s way of installing developer tools. For instance in Fedora I could do:

  1. sudo yum groupinstall Development\ Tools
  2. sudo yum groupinstall Development\ Libraries

*notice the escaped space “\ “ is required or else it’ll read it as two separate things.
After installing both of these groups you can go ahead with Qt Creator. Your milage will vary based on other distros.
Which are you using?

 Signature 

“Linux is not user-friendly.” It _is_ user-friendly. It is not ignorant-friendly and idiot-friendly.
—-Source unknown

June 7, 2011

stephen.lacey stephen.lacey
Lab Rat
7 posts

Thanks Bobby,

I managed to get it installed in an Ubuntu 11 virtualbox in the end.

Stephen

bobby wrote:
You should look at your distro’s way of installing developer tools. For instance in Fedora I could do:

  1. sudo yum groupinstall Development\ Tools
  2. sudo yum groupinstall Development\ Libraries

*notice the escaped space “\ “ is required or else it’ll read it as two separate things.
After installing both of these groups you can go ahead with Qt Creator. Your milage will vary based on other distros.
Which are you using?

June 27, 2011

Raketten Raketten
Lab Rat
5 posts

Hi Bobby,

Thanks for your hint, I am trying them now. I manage to get my project opened in Qt Creator, but I can only compile and run in the simulator mode – have not found a way to run the desktop version. Could be, that it due to my missing fedora skills, but it worked fine in uBuntu….Anyway I seek your advice. Thanks in advance – Henrik

June 27, 2011

loladiro loladiro
Lab Rat
596 posts

Do you have gcc/make/etc. installed?

June 29, 2011

Raketten Raketten
Lab Rat
5 posts

please disregard my post, I uninstalled Qt, reinstalled and now all is cool…

June 29, 2011

bobby bobby
Lab Rat
44 posts

Congratulations! Happy coding

 Signature 

“Linux is not user-friendly.” It _is_ user-friendly. It is not ignorant-friendly and idiot-friendly.
—-Source unknown

 
  ‹‹ Some questions about Qss      [solved]Qt Designer: UI Form as a widget? ››

You must log in to post a reply. Not a member yet? Register here!