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



  • @
    chmod +x qtsdkinstaller.run
    ./qtsdkinstaller.run
    @



  • 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.



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

    @
    sudo yum groupinstall Development\ Tools
    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?



  • Thanks Bobby,

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

    Stephen

    [quote author="bobby" date="1307470114"]You should look at your distro's way of installing developer tools. For instance in Fedora I could do:

    @
    sudo yum groupinstall Development\ Tools
    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?[/quote]



  • 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



  • Do you have gcc/make/etc. installed?



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



  • Congratulations! Happy coding


Log in to reply
 

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