Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to install QT(designer) 5.7.0 on CentOS-6.8
Forum Updated to NodeBB v4.3 + New Features

How to install QT(designer) 5.7.0 on CentOS-6.8

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
10 Posts 2 Posters 1.4k 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.
  • G Offline
    G Offline
    getche
    wrote on last edited by getche
    #1

    I am trying to install QT 5.7.0 on CentOS-6.8.I have these files in QT 5.7.0

    alt text

    I open the CentOS terminal in QT folder and run the following command

    ./configure
    

    Installation stops at this error

    qt-everywhere-opensource-src-5.7.0/qtbase/configure: line 3494: g++: command not found Creating qmake... gmake: g++: Command not found gmake: *** [project.o] Error 127
    

    After that i tried to install the following version of gcc-c++ shown in image

    alt text

    But they are giving me following error for gcc-c++-ppc64-linux-gnu-4.8.5-16.el7.1.aarch64.rpm

    Package /root/Desktop/install/gcc-c++-ppc64-linux-gnu-4.8.5-16.el7.1.aarch64.rpm has incompatible architecture aarch64. Valid architectures are ['ia32e', 'x86_64', 'athlon', 'i686', 'i586', 'i486', 'i386', 'noarch'] ------------------------ gcc-c++-x86_64-linux-gnu-4.8.5-16.el7.1.x86_64 requires gcc-x86_64-linux-gnu = 4.8.5-16.el7.1 gcc-c++-x86_64-linux-gnu-4.8.5-16.el7.1.x86_64 requires libmpfr.so.4()(64bit) gcc-c++-x86_64-linux-gnu-4.8.5-16.el7.1.x86_64 requires libc.so.6(GLIBC_2.14)(64bit) gcc-c++-x86_64-linux-gnu-4.8.5-16.el7.1.x86_64 requires libmpc.so.3()(64bit) gcc-c++-x86_64-linux-gnu-4.8.5-16.el7.1.x86_64 requires libgmp.so.10()(64bit)
    

    And for rest of gcc-c++ it is giving following error

    Transaction error An unspecified transaction error has occurred More information is available in detail report gcc-c++-4.4.7-18.el6.x86_64 requires libstdc++ = 4.4.7-18.el6 gcc-c++-4.4.7-18.el6.x86_64 requires libstdc++-devel = 4.4.7-18.el6 gcc-c++-4.4.7-18.el6.x86_64 requires libmpfr.so.1()(64bit) gcc-c++-4.4.7-18.el6.x86_64 requires gcc = 4.4.7-18.el6
    

    How i can resolve these issue and install successfully QT 5.7.0 on CentOS-6.8

    jsulmJ 1 Reply Last reply
    0
    • G getche

      I am trying to install QT 5.7.0 on CentOS-6.8.I have these files in QT 5.7.0

      alt text

      I open the CentOS terminal in QT folder and run the following command

      ./configure
      

      Installation stops at this error

      qt-everywhere-opensource-src-5.7.0/qtbase/configure: line 3494: g++: command not found Creating qmake... gmake: g++: Command not found gmake: *** [project.o] Error 127
      

      After that i tried to install the following version of gcc-c++ shown in image

      alt text

      But they are giving me following error for gcc-c++-ppc64-linux-gnu-4.8.5-16.el7.1.aarch64.rpm

      Package /root/Desktop/install/gcc-c++-ppc64-linux-gnu-4.8.5-16.el7.1.aarch64.rpm has incompatible architecture aarch64. Valid architectures are ['ia32e', 'x86_64', 'athlon', 'i686', 'i586', 'i486', 'i386', 'noarch'] ------------------------ gcc-c++-x86_64-linux-gnu-4.8.5-16.el7.1.x86_64 requires gcc-x86_64-linux-gnu = 4.8.5-16.el7.1 gcc-c++-x86_64-linux-gnu-4.8.5-16.el7.1.x86_64 requires libmpfr.so.4()(64bit) gcc-c++-x86_64-linux-gnu-4.8.5-16.el7.1.x86_64 requires libc.so.6(GLIBC_2.14)(64bit) gcc-c++-x86_64-linux-gnu-4.8.5-16.el7.1.x86_64 requires libmpc.so.3()(64bit) gcc-c++-x86_64-linux-gnu-4.8.5-16.el7.1.x86_64 requires libgmp.so.10()(64bit)
      

      And for rest of gcc-c++ it is giving following error

      Transaction error An unspecified transaction error has occurred More information is available in detail report gcc-c++-4.4.7-18.el6.x86_64 requires libstdc++ = 4.4.7-18.el6 gcc-c++-4.4.7-18.el6.x86_64 requires libstdc++-devel = 4.4.7-18.el6 gcc-c++-4.4.7-18.el6.x86_64 requires libmpfr.so.1()(64bit) gcc-c++-4.4.7-18.el6.x86_64 requires gcc = 4.4.7-18.el6
      

      How i can resolve these issue and install successfully QT 5.7.0 on CentOS-6.8

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @getche I'm not sure you can compile Qt 5.7 using GCC v4.7.
      Do you really have to use such an old CentOS version?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      G 1 Reply Last reply
      0
      • jsulmJ jsulm

        @getche I'm not sure you can compile Qt 5.7 using GCC v4.7.
        Do you really have to use such an old CentOS version?

        G Offline
        G Offline
        getche
        wrote on last edited by getche
        #3

        @jsulm said in How to install QT(designer) 5.7.0 on CentOS-6.8:

        @getche I'm not sure you can compile Qt 5.7 using GCC v4.7.
        Do you really have to use such an old CentOS version?

        Please tell me which Version of QT(Designer) will install on CentOS-6.8 ? And please provide me its download link ?

        jsulmJ 1 Reply Last reply
        0
        • G getche

          @jsulm said in How to install QT(designer) 5.7.0 on CentOS-6.8:

          @getche I'm not sure you can compile Qt 5.7 using GCC v4.7.
          Do you really have to use such an old CentOS version?

          Please tell me which Version of QT(Designer) will install on CentOS-6.8 ? And please provide me its download link ?

          jsulmJ Online
          jsulmJ Online
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @getche Here some links which can be helpful:
          https://doc.qt.io/qt-5/linux.html
          https://doc.qt.io/archives/qt-5.7/linux.html

          You first should solve your current problem: install the g++ compiler. I don't know why you get this error message, something to ask CentOS community. Did you try like this:

          yum install gcc-c++
          

          ?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          G 1 Reply Last reply
          0
          • jsulmJ jsulm

            @getche Here some links which can be helpful:
            https://doc.qt.io/qt-5/linux.html
            https://doc.qt.io/archives/qt-5.7/linux.html

            You first should solve your current problem: install the g++ compiler. I don't know why you get this error message, something to ask CentOS community. Did you try like this:

            yum install gcc-c++
            

            ?

            G Offline
            G Offline
            getche
            wrote on last edited by
            #5

            @jsulm it is giving following error on running the command (please note my PC is offline and without internet)

            #yum install gcc-c++

            Loaded plugins: fastestmirror, refresh-packagekit, security
            Setting up Install Process
            Loading mirror speeds from cached hostfile
            Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
            14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
            Error: Cannot find a valid baseurl for repo: base

            jsulmJ 1 Reply Last reply
            0
            • G getche

              @jsulm it is giving following error on running the command (please note my PC is offline and without internet)

              #yum install gcc-c++

              Loaded plugins: fastestmirror, refresh-packagekit, security
              Setting up Install Process
              Loading mirror speeds from cached hostfile
              Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
              14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
              Error: Cannot find a valid baseurl for repo: base

              jsulmJ Online
              jsulmJ Online
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @getche said in How to install QT(designer) 5.7.0 on CentOS-6.8:

              please note my PC is offline and without internet

              Well, then you will have to use some local storage containing the CentOS packages (like DVDs)...

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              G 1 Reply Last reply
              0
              • jsulmJ jsulm

                @getche said in How to install QT(designer) 5.7.0 on CentOS-6.8:

                please note my PC is offline and without internet

                Well, then you will have to use some local storage containing the CentOS packages (like DVDs)...

                G Offline
                G Offline
                getche
                wrote on last edited by
                #7

                @jsulm, I can use USB for transferring the packages from internet. Kindly tell me which CentOS packages need to be downloaded and installed ?

                jsulmJ 1 Reply Last reply
                0
                • G getche

                  @jsulm, I can use USB for transferring the packages from internet. Kindly tell me which CentOS packages need to be downloaded and installed ?

                  jsulmJ Online
                  jsulmJ Online
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @getche said in How to install QT(designer) 5.7.0 on CentOS-6.8:

                  Kindly tell me which CentOS packages need to be downloaded and installed ?

                  I can't, because I don't know all the dependencies between the packages you need. This is not a Qt problem.
                  That's why the easiest way is to use a local package repository (like DVDs or what ever).

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    getche
                    wrote on last edited by
                    #9

                    Kindly tell me installation steps QT-5.7

                    alt text

                    jsulmJ 1 Reply Last reply
                    0
                    • G getche

                      Kindly tell me installation steps QT-5.7

                      alt text

                      jsulmJ Online
                      jsulmJ Online
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @getche https://download.qt.io/new_archive/qt/5.7/5.7.0/

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      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