Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Installation of libqtGui.so.4
Qt 6.11 is out! See what's new in the release blog

Installation of libqtGui.so.4

Scheduled Pinned Locked Moved General and Desktop
41 Posts 8 Posters 53.8k Views 2 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
    shirisha
    wrote on last edited by
    #1

    Hi everyone,
    error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory.How to install the library..Please help me.

    1 Reply Last reply
    0
    • mrdebugM Offline
      mrdebugM Offline
      mrdebug
      wrote on last edited by
      #2

      Have you got this ptoblem on install your application in another machine?

      Need programmers to hire?
      www.labcsp.com
      www.denisgottardello.it
      GMT+1
      Skype: mrdebug

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

        Hi,

        Did you install Qt 4 on your target computer ?

        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
        • S Offline
          S Offline
          shirisha
          wrote on last edited by
          #4

          hi sir,
          No i d't install qt in target computer, why because i need to check the exe file in target pc without Qt i need to run my exe file .In One pc i have qt and written the sample application that exec file need to be run in target machine without qt . Please help me sir..

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

            You need to ship run time with your binary.

            On terminal, execute ldd yourexefilepathonlinux. It will show you the dependencies needs to ship on target machine.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              shirisha
              wrote on last edited by
              #6

              sorry sir..am unable to get u...

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

                If you want to run your executable on a another computer without Qt installed (I don't mean the complete SDK just the libraries) you have to provide the needed libraries yourself.

                It's explained "here":http://qt-project.org/doc/qt-4.8/deployment-x11.html#creating-the-application-package

                However, depending on your target computer, you should simply install the distribution provided Qt

                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
                3
                • S Offline
                  S Offline
                  shirisha
                  wrote on last edited by
                  #8

                  Thank you sir,
                  what commands are needed to install libQtgui.so.4.Please help me

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

                    That all depends on the distribution you are using

                    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
                    0
                    • S Offline
                      S Offline
                      shirisha
                      wrote on last edited by
                      #10

                      i d't get u sir..please tel me clearly

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

                        You are using linux, so you are using a distribution like e.g. Ubuntu, Debian, Gentoo etc. Which one is it ?

                        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
                        0
                        • S Offline
                          S Offline
                          shirisha
                          wrote on last edited by
                          #12

                          Hi sir..,
                          linux opensuse.

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

                            YaST is your friend then

                            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
                            • S Offline
                              S Offline
                              shirisha
                              wrote on last edited by
                              #14

                              Hi sir,
                              Please help on ,How to install only qt libraries in target system.

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

                                Run YaST on your target and search for the Qt libraries

                                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
                                • S Offline
                                  S Offline
                                  shirisha
                                  wrote on last edited by
                                  #16

                                  Thank u sir,, but if i copy all libraries to target it is showing same error that libqtGui.so.4 is not found.Please help me.

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

                                    Wait, what is your target ?

                                    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
                                    0
                                    • S Offline
                                      S Offline
                                      shirisha
                                      wrote on last edited by
                                      #18

                                      Gdmrd sir,
                                      My target and host is linux opensuse,i instaled qt in host machine in that i written a sample programe ,that exe must run in my target machine without insatling qt.when i run exe it is asking libQtGui.so.4 is not found.Please help to quit from this error.

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

                                        Can you explain why you can't install the libs on your target ?

                                        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
                                        0
                                        • S Offline
                                          S Offline
                                          shirisha
                                          wrote on last edited by
                                          #20

                                          hi sir,

                                              i just added the liraries in the target exe folder.but also geting get 
                                          
                                          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