Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. German
  4. libs werden nicht gefunden
Qt 6.11 is out! See what's new in the release blog

libs werden nicht gefunden

Scheduled Pinned Locked Moved Unsolved German
5 Posts 3 Posters 1.6k 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.
  • Q Offline
    Q Offline
    Qt-Lehrling
    wrote last edited by aha_1980
    #1

    Hallo,

    wollte ein einfaches Qt Programm ausführen. Ldd zeigt mir keine Fehlermeldung aber wenn ich die App starte bekomme ich folgende Fehlermeldung:

    ./appuntitled1: /lib/x86_64-linux-gnu/libQt6Core.so.6: version `Qt_6.11' not found (required by ./appuntitled1)
    ./appuntitled1: /lib/x86_64-linux-gnu/libQt6Qml.so.6: no version information available (required by ./app

    Die App habe ich erstellt mit QtCreator 19.

    Wo finde ich diese fehlenden libs?

    Danke im Voraus

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SimonSchroeder
      wrote last edited by
      #2

      Ich entwickle eher selten unter Linux und kann dir keine direkte Antwort darauf geben. Allerdings kannst du das im Qt Creator selbst herausfinden: In den Einstellungen findest du deine "Kits". Dort kannst du nachschauen, in welchen Pfaden denn Qt Creator die Qt Bibliotheken findet.

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

        Hallo,

        Es sieht aus das du deine Application mit eine andere Qt gebaut hast und du startet es von der Terminal who die Systembibliotheken benutzt sind wahrscheinlich älter.
        I sehe zwei Möglichkeiten:

        1. Benutzt die Bibliotheken, die mit deiner Linux-Distribution mitgeliefert sind um die Application zu bauen
        2. Benutzt LD_LIBRARY_PATH so deine Application can die richtige Qt finden (mach das mit ein bash script, nicht fûr dein ganzes System)

        Entschuldigung für mein Deutsch, ich habe seit Jahren keins mehr geschrieben.

        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
        2
        • Q Offline
          Q Offline
          Qt-Lehrling
          wrote last edited by
          #4

          Hallo,
          danke für die Rückmeldungen.
          Habe jetzt im Internet folgende Anleitung gefunden:

          qt_generate_deploy_qml_app_script(
          TARGET MyApp
          OUTPUT_SCRIPT deploy_script
          )
          install(SCRIPT ${deploy_script})

          On installation, the application binary will be deployed, including the QML files and the shared libraries and assets of Qt that are used by the project. Again, the resulting directory is self-contained and can be packaged by tools like cpack.

          Das ganze in die cmake.txt geschrieben läuft ohne Fehler durch aber wo finde ich jetzt "OUTPUT_SCRIPT deploy_script"

          mfg

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

            Normalerweise, in das build Verzeichnis (ich bin nicht was das richtige Wort für "folder" ist).

            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