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. Is Qt5 supported in CentOS 5.3? Which Linux distro is supported?

Is Qt5 supported in CentOS 5.3? Which Linux distro is supported?

Scheduled Pinned Locked Moved Installation and Deployment
8 Posts 3 Posters 4.0k 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.
  • K Offline
    K Offline
    kshui
    wrote on last edited by
    #1

    I was using CentOS 5.3.

    I got error GLIBC_2.10 , GLIBC_2.11, GLIBC_2.7, GLIBC_2.9 not found.
    I tried to install the latest version of gcc-4.8.2 already, but still encounter such error.

    Anyone can suggest the minimum distro that is supported with Qt5?

    Many thanks.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      Any modern distro will support Qt 5.
      CentOS is a little bit outdated.

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kshui
        wrote on last edited by
        #3

        Thanks andreyc.

        How about the latest version of CentOS? I would like to know if anyone successfully installed Qt5 in CentOS6.5.

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          Hi kshul,

          I don't have CentOS experience myself, but you might find these posts useful:
          http://qt-project.org/forums/viewthread/25488
          https://qt-project.org/forums/viewthread/25550/

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andreyc
            wrote on last edited by
            #5

            bq. CentOS is a little bit outdated.

            In my previous post I meant that CenOS 5.3 is outdated. Not all CentOS.

            "Distrowatch":http://distrowatch.com/table.php?distribution=centos shows that CenOS 6.5 uses glibc 2.12 which is good enough for Qt5.

            1 Reply Last reply
            0
            • K Offline
              K Offline
              kshui
              wrote on last edited by
              #6

              I tried to install in CentOS 6.5 now.

              I can install Qt creator by simply qt-opensource-linux-x86-5.2.1.run, but encountered the error when qtcreator is started.

              Failed to load core: /opt/Qt5.2.1/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libCore.so: Cannot load library /opt/Qt5.2.1/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libCore.so: (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /opt/Qt5.2.1/Tools/QtCreator/lib/qtcreator/plugins/QtProject/../.././libQt5CLucene.so.5))

              Then I update the GCC by the following steps
              tar xzf gcc-4.8.2.tar.gz
              cd gcc-4.8.2
              ./contrib/download_prerequisites
              cd ..
              mkdir objdir
              cd objdir
              $PWD/../gcc-4.6.2/configure --prefix=$HOME/gcc-4.6.2
              make

              However, got the error during make as follows:

              [ -f stage_final ] || echo stage3 > stage_final
              make[1]: Entering directory /root/Downloads/objdir' make[2]: Entering directory /root/Downloads/objdir'
              make[3]: Entering directory /root/Downloads/objdir' rm -f stage_current make[3]: Leaving directory /root/Downloads/objdir'
              make[2]: Leaving directory /root/Downloads/objdir' make[2]: Entering directory /root/Downloads/objdir'
              Configuring stage 1 in ./gmp
              configure: error: invalid variable name: --enable-languages
              make[2]: *** [configure-stage1-gmp] Error 1
              make[2]: Leaving directory /root/Downloads/objdir' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory /root/Downloads/objdir'
              make: *** [all] Error 2

              Have I missed out any steps?

              1 Reply Last reply
              0
              • A Offline
                A Offline
                andreyc
                wrote on last edited by
                #7

                @
                tar xzf gcc-4.8.2.tar.gz
                $PWD/../gcc-4.6.2/configure --prefix=$HOME/gcc-4.6.2
                @

                Is it a typo in your post or you tried to build wrong version of gcc?

                I think I underestimate CentOS. I did not use it but wrongfully assumed it should not be a big problem to install Qt5 on the latest CentOS.

                Take a look on this "howto":http://linux-problem-solver.blogspot.com/2013/12/installation-of-gcc-482-compilers-on.html
                Maybe it will help.

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  kshui
                  wrote on last edited by
                  #8

                  Yes. It was a typo. I am using gcc-4.8.2.

                  Thank you for the advice.

                  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