Results 1 to 5 of 5

Thread: Qt installation in Linux

  1. #1
    Join Date
    Oct 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Question Qt installation in Linux

    Hi,I need to install a version of Qt in my Red Hat Enterprise Linux 3.0, so I picked the LGPL and then the Qt SDK for Linux/X11 32-bit ,downloaded the "qt-sdk-linux-x86-opensource-2010.05.1.bin" from the official website. Then I double clicked the "qt-sdk-linux-x86-opensource-2010.05.1.bin" and installed it, but when I double clicked the "Qtcreator"icon created after the installation, the software never runs. Could someone tell me on which step had I made a mistake? Thank you very much.

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Qt installation in Linux

    Open a console window and type:
    qtcreator
    Followed by an enter.

    Post the results here please.

  3. #3
    Join Date
    Oct 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Question Re: Qt installation in Linux

    Quote Originally Posted by tbscope View Post
    Open a console window and type:
    qtcreator
    Followed by an enter.

    Post the results here please.
    Thank you ,tbscope. I searched my Red Hat Enterprise Linux 3.0 but found no 'console' ,so I tried 'New Terminal', after I typed the directory where I installed my Qt :cd /opt/qtsdk-2010.05/bin,and typed qtcreator followed by an enter,
    it appears as :
    bash: qtcreator: command not found
    then I tried ./qtcreator,it appears as:
    ./qtcreator: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory


    what should I do now?

  4. #4
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    507
    Thanks
    11
    Thanked 76 Times in 74 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt installation in Linux

    Hi, RedHat EL 3 ist pretty old. You probably have libstdc++.so.5 (in /usr/lib/). I'm not sure if it is possible to install the newer version in parallel (and it would possibly require a newer compiler, also not sure about that). You could try to compile the creator yourself (using your libstdc++.so version 5), but the easiest way to use the creator would be to update your linux.

    Ginsengelf

  5. #5
    Join Date
    Oct 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Smile Re: Qt installation in Linux

    Quote Originally Posted by Ginsengelf View Post
    Hi, RedHat EL 3 ist pretty old. You probably have libstdc++.so.5 (in /usr/lib/). I'm not sure if it is possible to install the newer version in parallel (and it would possibly require a newer compiler, also not sure about that). You could try to compile the creator yourself (using your libstdc++.so version 5), but the easiest way to use the creator would be to update your linux.

    Ginsengelf
    Thank you, Ginsengelf,I will try the easiest way.

Similar Threads

  1. linux-ipaq-g++ Vs linux-arm-g++
    By alejo in forum Installation and Deployment
    Replies: 0
    Last Post: 22nd February 2010, 00:23
  2. Qt-4.4.0 installation error in linux
    By babu198649 in forum Installation and Deployment
    Replies: 4
    Last Post: 27th May 2008, 14:35
  3. Dev-C++ & Qt4.4 installation
    By Colx007 in forum Installation and Deployment
    Replies: 2
    Last Post: 24th May 2008, 09:56
  4. installation of qt4.2: linux
    By Jim Peterson in forum Installation and Deployment
    Replies: 7
    Last Post: 2nd March 2007, 18:03
  5. Installation
    By sanwar in forum Installation and Deployment
    Replies: 4
    Last Post: 11th October 2006, 16:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.