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. Something wrong when I installed qt in CenterOS8
Forum Updated to NodeBB v4.3 + New Features

Something wrong when I installed qt in CenterOS8

Scheduled Pinned Locked Moved Solved Installation and Deployment
12 Posts 4 Posters 1.1k 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.
  • N Offline
    N Offline
    newbeee
    wrote on last edited by
    #3
    This post is deleted!
    1 Reply Last reply
    0
    • JonBJ JonB

      @newbeee
      Are you sure that after you installed those files into /usr/lib the error still reports "not found" rather than something else?

      To make sure what is going on run an ldd on each of those files in /usr/lib to verify they look OK.

      I would not recommend this long-term, but you might temporarily copy those files from /usr/lib into /opt/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/ just to see whether that makes the "not found" go away?

      N Offline
      N Offline
      newbeee
      wrote on last edited by newbeee
      #4

      @JonB
      I am sure it still reported "not found".
      I tried copy those four files into "/opt/Qt/Tools/QtCreator/lib/Qt/plugins/platforms/",but still don't work.
      But I find something might be clues.
      There are files in the /usr/lib.

      libxcb-icccm.so.4.0.0
      libxcb-image.so.0.0.0
      libxcb-keysyms.so.1.0.0
      libxcb-render-util.so.0.0.0
      

      It seems they should be the same with those "cannot found "files.But the result might means qt cannot recognzie them .
      Are they the same?Are they conflicted with files like libxcb-icccm.so.4.0?What should I do?
      Looking forward your replay.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #5

        Hi and welcome to devnet,

        From the looks of it, you do not have the development packages corresponding to these libraries installed.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        N 1 Reply Last reply
        1
        • SGaistS SGaist

          Hi and welcome to devnet,

          From the looks of it, you do not have the development packages corresponding to these libraries installed.

          N Offline
          N Offline
          newbeee
          wrote on last edited by
          #6

          @SGaist
          It seems so.But I dont know how to fix it.

          jsulmJ 1 Reply Last reply
          0
          • N newbeee

            @SGaist
            It seems so.But I dont know how to fix it.

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #7

            @newbeee said in Something wrong when I installed qt in CenterOS8:

            But I dont know how to fix it

            Install the dev packages: those have same name as normal packages with "-dev" at the end of the package name.

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

            N 2 Replies Last reply
            1
            • jsulmJ jsulm

              @newbeee said in Something wrong when I installed qt in CenterOS8:

              But I dont know how to fix it

              Install the dev packages: those have same name as normal packages with "-dev" at the end of the package name.

              N Offline
              N Offline
              newbeee
              wrote on last edited by
              #8

              @jsulm
              Thanks for your answer.
              Could you explain it more specific ? I am a real beginner of centeros.
              I try the command"yum -install libxcb-icccm-dev.so.4" and "yum -install libxcb-icccm.so.4-dev ", terminal tells me the commnd is wrong.Could you tell me what should I input into terminal?

              JonBJ 1 Reply Last reply
              0
              • jsulmJ jsulm

                @newbeee said in Something wrong when I installed qt in CenterOS8:

                But I dont know how to fix it

                Install the dev packages: those have same name as normal packages with "-dev" at the end of the package name.

                N Offline
                N Offline
                newbeee
                wrote on last edited by
                #9

                @jsulm
                I tried

                yum -y install libxcb-devel
                

                And terminal tells me the package "libxcb-devel-1.13.1-1.el8.x86_64" has already installed.
                And I try to install Qt5,and download a offline installer,it works.

                SGaistS 1 Reply Last reply
                0
                • N newbeee

                  @jsulm
                  Thanks for your answer.
                  Could you explain it more specific ? I am a real beginner of centeros.
                  I try the command"yum -install libxcb-icccm-dev.so.4" and "yum -install libxcb-icccm.so.4-dev ", terminal tells me the commnd is wrong.Could you tell me what should I input into terminal?

                  JonBJ Offline
                  JonBJ Offline
                  JonB
                  wrote on last edited by JonB
                  #10

                  @newbeee

                  I try the command"yum -install libxcb-icccm-dev.so.4" and "yum -install libxcb-icccm.so.4-dev ", terminal tells me the commnd is wrong.Could you tell me what should I input into terminal?

                  I have never used yum. You should check the usage by typing man yum, or perhaps looking at https://access.redhat.com/articles/yum-cheat-sheet or other references. So far as I know, it needs to be yum install ..., not yum -install ..., it does not use the "hyphen" character before the subcommand like install?

                  N 1 Reply Last reply
                  0
                  • JonBJ JonB

                    @newbeee

                    I try the command"yum -install libxcb-icccm-dev.so.4" and "yum -install libxcb-icccm.so.4-dev ", terminal tells me the commnd is wrong.Could you tell me what should I input into terminal?

                    I have never used yum. You should check the usage by typing man yum, or perhaps looking at https://access.redhat.com/articles/yum-cheat-sheet or other references. So far as I know, it needs to be yum install ..., not yum -install ..., it does not use the "hyphen" character before the subcommand like install?

                    N Offline
                    N Offline
                    newbeee
                    wrote on last edited by
                    #11

                    @JonB
                    Thanks a lot.I will keep learning and trying, although I have to use qt to complet some tasks before.

                    1 Reply Last reply
                    0
                    • N newbeee

                      @jsulm
                      I tried

                      yum -y install libxcb-devel
                      

                      And terminal tells me the package "libxcb-devel-1.13.1-1.el8.x86_64" has already installed.
                      And I try to install Qt5,and download a offline installer,it works.

                      SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #12

                      @newbeee said in Something wrong when I installed qt in CenterOS8:

                      yum -y install libxcb-devel

                      That is the one for libxcb itself.
                      The other librairies you have issues with have their own development package that you need to install.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      1

                      • Login

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