Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [Solved]Installing QT in RHEL(RedHat Linux)
Forum Update on Tuesday, May 27th 2025

[Solved]Installing QT in RHEL(RedHat Linux)

Scheduled Pinned Locked Moved Installation and Deployment
8 Posts 3 Posters 31.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Swinetha
    wrote on 10 Jun 2013, 11:34 last edited by
    #1

    hi,,

    from 2days onwards we are trying to install QT in RHEL6.4 version.

    Qt is 2.7.1 under QT5.0.2

    at first time it is asking for some glibc files, I searched for these and installed but now it is showing

    bq. Floating point exception (core dumped)

    What is the problem here? Is any guess ?

    Installing QT in RHEL is possible or not?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      Guigui
      wrote on 10 Jun 2013, 15:21 last edited by
      #2

      Hi,

      I suppose your problem happens when you run Qt Creator. Did you install everything from the binaries? I haven't tried installing it on Red Hat, but successfully installed it from the sources on CentOS 6.4 (which is based on RHEL6.4). The process was pretty straightforward:

      To compile Qt:
      @./configure -prefix /path/to/qt-5.0.1 -opensource -nomake examples -nomake tests #to save some time, I avoid compiling the examples and test modules. There are many additional options available, but these standard options worked fine everytime for my needs.
      make -j 8
      make docs #if you want offline documentation
      make install
      make install_docs #if you compiled docs@

      To compile Qt Creator:
      @qmake qtcreator.pro
      make -j 8
      make docs
      make install INSTALL_ROOT=/path/to/where/you/want/it/installed/qt-creator-2.7.0
      make install_docs INSTALL_ROOT=/path/to/where/you/want/it/installed/qt-creator-2.7.0
      make deployqt INSTALL_ROOT=/path/to/where/you/want/it/installed/qt-creator-2.7.0@

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Swinetha
        wrote on 11 Jun 2013, 04:07 last edited by
        #3

        hi,

        I have the qt-linux-opensource-5.0.2-x86-offline.run which is downloaded from
        "Qt download link":http://http://qt-project.org/downloads

        while installing it gives an error like above

        this run file is suite for RHEL?

        If not then provide me link to download QT which is support for RedHat Linux

        1 Reply Last reply
        0
        • G Offline
          G Offline
          Guigui
          wrote on 11 Jun 2013, 13:52 last edited by
          #4

          AFAIK, the binaries for Linux are reference builds for Ubuntu.

          As I said, download the "source":http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.tar.gz and build it, it's easy.

          For more information:

          • "Supported Platforms":http://qt-project.org/doc/qt-5.0/qtdoc/platform-details.html
          • "Installing Qt for X11 Platforms":http://qt-project.org/doc/qt-5.0/qtdoc/install-x11.html
          1 Reply Last reply
          0
          • S Offline
            S Offline
            Swinetha
            wrote on 15 Jun 2013, 04:25 last edited by
            #5

            hi sorry for the late reply....

            my system- got some s/w problems thats why Late reply.

            qt-everywhere-opensource-src-5.0.2.tar.gz
            is only downloaded and treid to install on my centos 6.2 version but it is not completed.
            after make install
            command it is giving some error my question is Centos 6.2 is suitable or not?

            errors while installing qt-5.0.2

            /WTF/wtf/text/StringImpl.h:169: error: class ‘WTF::StringImpl’ does not have any field named ‘m_data16’

            ../WTF/wtf/text/StringImpl.h:219: error: ‘UChar’ was not declared in this scope

            ../WTF/wtf/text/StringImpl.h:332: error: class ‘WTF::StringImpl’ does not have any field named ‘m_data16’

            In file included from ../WTF/wtf/text/WTFString.h:29,
            from yarr/YarrPattern.h:33,
            from yarr/YarrInterpreter.h:29,
            from yarr/YarrInterpreter.cpp:28:
            ../WTF/wtf/text/StringImpl.h:978: error: ISO C++ forbids declaration of ‘UChar’ with no type

            ../WTF/wtf/text/WTFString.h: At global scope:
            ../WTF/wtf/text/WTFString.h:62: error: ISO C++ forbids declaration of ‘UChar’ with no type
            ../WTF/wtf/text/WTFString.h:62: error: expected ‘,’ or ‘...’ before ‘*’ token

            ../WTF/wtf/text/AtomicString.h:49: error: ISO C++ forbids declaration of ‘UChar’ with no type
            ../WTF/wtf/text/AtomicString.h:49: error: expected ‘,’ or ‘...’ before ‘*’ token
            ../WTF/wtf/text/AtomicString.h:49: error: ‘WTF::AtomicString::AtomicString(int)’ cannot be overloaded

            like this somany errors are getting while "make install"

            what is the problem is with QT kde or centos version?

            1 Reply Last reply
            0
            • S Offline
              S Offline
              Swinetha
              wrote on 15 Jun 2013, 12:12 last edited by
              #6

              hi I am also tried on Centos 6.4 version. It is also giving same error like above.

              how can i solve this issue?

              I am also tried that

              qt-linux-opensource-5.0.2-x86-offline.run

              It gives an error:
              ./qt-linux-opensource-5.0.2-x86-offline.run: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./qt-linux-opensource-5.0.2-x86-offline.run)

              but I found that centos is supported package is GLIBCXX_3.4.13 only so how can I use QT in Centos

              If any body give me solution I will be happy

              Thanx in advance

              1 Reply Last reply
              0
              • S Offline
                S Offline
                Swinetha
                wrote on 17 Jun 2013, 05:24 last edited by
                #7

                hi,

                Successfully I installed QT in Centos 6.2

                In this QT-4.8.4 is only installed

                and qt creator is installed using qt-linux-opensource-5.0.2-x86-offline.run file for this install gcc 4.8.1 then

                using command LIBS=-lstdc++ ./qt-linux-opensource-5.0.2-x86-offline.run
                then it is installed
                thanks for every one

                1 Reply Last reply
                0
                • Q Offline
                  Q Offline
                  QtTouble
                  wrote on 4 Sept 2013, 11:26 last edited by
                  #8

                  It is dissapointing that there is no real tutorial on how to install Qtcreator on centos 6.4.
                  Still having problems as descripted above, there has to be a way....

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved