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
Forum Updated to NodeBB v4.3 + New Features

Installation of libqtGui.so.4

Scheduled Pinned Locked Moved General and Desktop
41 Posts 8 Posters 37.7k 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.
  • MhM93M Offline
    MhM93M Offline
    MhM93
    wrote on last edited by MhM93
    #32

    hi all. i have the same problem.
    What exactly is your target ? i wrote a simple Qt program for mini2440 friendly arm. Embedded boar linux gnu.
    when i execute my program ( and comment running Qtopia) it show me this error : /armNEW: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory
    i search and find this file in /usr/local/trolltech/qtEmbedded/.... so why i have error?
    now what can i do now?

    H.Ghassami

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

      Hi,
      /usr/local/trolltech/qtEmbedded/ is a non standard path and probably not the same you have on your computer when cross-compiling your application.

      You can use LD_LIBRARY_PATH to add that path for the loader to search before starting your application.

      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
      • J Offline
        J Offline
        Joe Joe Ngigi
        wrote on last edited by Joe Joe Ngigi
        #34

        Hi @SGaist , I am building qt application for an arm embedded target.I have successfully transferred the project files via scp using qt creator. However, the application outputs this error:
        error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory
        How can I ensure I have the said library on my target?Is it something I need to cross-compile?
        I have libQtGuiE.so.4 in /usr/lib
        Thanks.

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

          You have a name mismatch. The one you use on your desktop has no E in its name. You should have the same set of libraries on both the desktop and target.

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

          J 1 Reply Last reply
          2
          • SGaistS SGaist

            You have a name mismatch. The one you use on your desktop has no E in its name. You should have the same set of libraries on both the desktop and target.

            J Offline
            J Offline
            Joe Joe Ngigi
            wrote on last edited by
            #36

            @SGaist Thank you so much.Just a slight clarification, the E stands for qt Embedded or what?
            I'll give you feedback if I manage to fix this.

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

              Likely, yes. I remember vaguely that you could put a suffix when configuring Qt 4.

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

              J 1 Reply Last reply
              3
              • SGaistS SGaist

                Likely, yes. I remember vaguely that you could put a suffix when configuring Qt 4.

                J Offline
                J Offline
                Joe Joe Ngigi
                wrote on last edited by
                #38

                @SGaist Do you have an idea how I can put that suffix during configuration?
                I have confirmed I am using the same qt version qt embedded 4.8.7 in both the host cross compilation pc and target. However I am still getting this error during deployment.What could be the issue?How do I resolve this please?

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

                  I may have been wrong there and maybe mixed it with -prefix-install.

                  The most simple is to deploy the libraries you are using for cross-compilation on the device.

                  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
                  • J Offline
                    J Offline
                    Jareth77
                    wrote on last edited by
                    #40

                    I am looking for libQtGui.so.4 so that I actually can get OpenMW working on Twister OS for RPi4. I found the file on github, & put it into the /usr/lib folder, though the program complained that the provided file is ELF Class 64, implying I need ELF Class 32.

                    Is there a repository where I can find such Qt project files & libraries?

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      ChrisW67
                      wrote on last edited by ChrisW67
                      #41

                      https://download.qt.io/archive/qt/4.8/4.8.7/
                      You build Qt4 from source because there are no contemporary pre-built packages of Qt4 for ARM. Raspberry Pi's initial machines and Qt5 are roughly aligned in release date (2012).
                      OpenMW have dropped all 32-bit support AFAICT.

                      Oh, and congratulations for resurrection of a 2014 thread.

                      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