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. .exe Prozedureinstiegspunkt nicht gefunden || .exe "procedure entry point not found"
Forum Updated to NodeBB v4.3 + New Features

.exe Prozedureinstiegspunkt nicht gefunden || .exe "procedure entry point not found"

Scheduled Pinned Locked Moved Solved Installation and Deployment
2 Posts 1 Posters 370 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.
  • L Offline
    L Offline
    LukasTr
    wrote on last edited by LukasTr
    #1

    [English translation below]

    Hallo in die Runde,
    ich habe ein Problem mit dem Ausführen einer mittels Qt erstellten .exe.
    Vielen Dank vorab für Anregung oder konkrete Vorschläge zum Lösen des Problems.

    Folgendes Ausgangsszenario führte zum Problem.
    ich habe um den Deployment-Zyklus zu testen, im QT Designer eine QT Quick Application erstellt. Die daraus resultierende Anwendung des leeren Fensters wurde daraufhin Released (Build mit der Auswahl Releas). Zu der erhaltenen .exe habe ich mit windeployqt.exe die zugehörigen .dlls und Ordner erzeugen. Es wurde die windeployqt.exe von Qt\6.3.1\mingw_64\bin verwendet.

    Das daraus resultierende Problem ist, dass die Ausführung der .exe den Fehler wirft
    Der Prozedureeinsprungspunkt "Z_20qRessourceFeatureZlibv" wurde in der DLL "... .exe" nicht gefunden

    Der Fehler tritt vor dem Hinzufügen der Dateien mit windeployqt nicht auf. Vor diesem ließ sich die .exe problemlos starten.

    Mein bisheriges Vorgehen:
    basierend auf Vorschlägen des Internet habe ich die .dll Dateien, die generiert wurden, mit den gleichnamigen .dll Dateien aus Qt\6.3.1\mingw_64\bin ausgetauscht. Hintergrund war die Überlegung, dass die falschen .dll Dateien verwendet wurden.

    Ein weiterer Vorschlag des Foreneintrags https://forum.qt.io/topic/115438/windeployqt-result-gives-error-procedure-entry-point-not-found-translated/5 QT 6.3.1 MinGW über die Windowssuche zu starten (dann in cd /bin) und darüber die windeployqt.exe zu verwenden führte ebenso zu oben genanntem Ergebnis, sprich keine Fehler Meldung aber auch kein Programm.

    Nach dem Austausch tritt kein Fehler mehr auf, allerdings öffnet sich die Anwendung nicht. Gleiches gilt für das Ausführen der .exe mit der Commandline.

    Ein weiterer Versuch war die ...\release\plattform\qwindows.dll mit der Datei Qt\6.3.1\mingw_64\plugins\platforms\qwindows.dll auszutauschen.

    Sonstige durchgführte Tests
    Die .exe in Qt\6.3.1\mingw_64\bin einfügen und von dort aus starten hat funktioniert

    Wie wurde das Projekt angelegt?
    Im Qt Designer neues Projekt --> QtQuickApplication --> ... --> BuildSystem qmake --> Minimum required Qt 6.2 --> Übersetzung keine --> kits Desktop Qt 6.3.1 MInGW 64-bit

    Zum System

    QT-Releated
    installiert von https://www.qt.io/download-qt-installer?hsCtaTracking=99d9dd4f-5681-48d2-b096-470725510d34|074ddad0-fdef-4e53-8aa8-5e8a876d6ab4 (Open Source Version)

    • Qt Design Studio 3.6.0-snapshot
    • QT 6.3.1
    • Development und Designer Tool alles installiert(verwendet wurde QT Creator)

    Betriebssystem

    • Windows Home (64 bit)

    Ich habe erst vor kurzem mit QT angefangen, daher bin ich ratlos, welche weiteren Ansätze zum möglichen Lösen des Problems durchgeführten werden könnten. Da ich wenig vom linken verstehe, bin ich mir unsicher, ob obig aufgeführter Ansatz hilfreich oder eher kontraproduktiv war.

    Für jegliche Vorschläge bin ich dankbar.
    -Lukas-

    Hello everyone,
    I have a problem with running an .exe created using Qt.

    The following initial scenario led to the problem.
    I created a QT Quick Application in QT Designer to test the deployment cycle. The resulting empty window application was then Released (build with Releas selected). I used windeployqt.exe to create the associated .dlls and folders for the .exe. The windeployqt.exe of Qt\6.3.1\mingw_64\bin was used.

    The resulting problem is that running the .exe throws the error
    The procedure entry point "Z_20qRessourceFeatureZlibv" was not found in the DLL "... .exe"

    The error did not occur before adding the files with windeployqt. Before this, the .exe could be started without any problems.

    My procedure so far:
    based on suggestions from the internet, I replaced the .dll files that were generated with the .dll files of the same name with the files from Qt\6.3.1\mingw_64\bin. Background was the consideration that the wrong .dll files were used.

    Another suggestion of the forum entry https://forum.qt.io/topic/115438/windeployqt-result-gives-error-procedure-entry-point-not-found-translated/5 to start QT 6.3.1 MinGW via the Windows search (then in cd /bin) and then to use the windeployqt.exe from there also led to the above result, i.e. no error message but also no program.

    After the exchange no error occurs any more, however the application does not open. The same is true for running the .exe from the commandline.

    Another attempt was to replace the ...\release\platform\qwindows.dll with the Qt\6.3.1\mingw_64\plugins\platforms\qwindows.dll file.

    One Other test was performed in which the
    .exe was put into Qt\6.3.1\mingw_64\bin and execuded. The .exe worked in this folder.

    How was the project created?
    In Qt Designer new project --> QtQuickApplication --> ... --> BuildSystem qmake --> Minimum required Qt 6.2 --> Translation none --> kits Desktop Qt 6.3.1 MInGW 64-bit

    To the system

    QT-Releated
    the installer from https://www.qt.io/download-qt-installer?hsCtaTracking=99d9dd4f-5681-48d2-b096-470725510d34|074ddad0-fdef-4e53-8aa8-5e8a876d6ab4 (Open Source Version) was used.

    Installed Feature were
    Qt Design Studio 3.6.0-snapshot
    QT 6.3.1
    Development and Designer Tool all installed(used QT Creator)

    The Operating system is

    Windows Home (64 bit)

    I started recently with QT so i am glad if someone has an idea or approach that could be tried to possibly solve the problem. Since I know little about the linking, I am unsure if the approach above was helpful or rather counterproductive.

    I am grateful for any suggestions.
    -Lukas-

    1 Reply Last reply
    0
    • L Offline
      L Offline
      LukasTr
      wrote on last edited by LukasTr
      #2

      https://forum.qt.io/topic/69029/windeployqt-exe-doesn-t-create-a-working-package/9

      Reply from @SGaist to above topic provided the solution

      In short if Qt Quick is used the flag --qmldir has to be used
      I didnt have a source subfolder therefore i used the Project folder and it worked

      Example Project location .....\App
      windeployqt.exe --qmldir ".....\App\sources" "path-to-exe\App.exe"

      I hope it may help someone who also struggels with this problem :)

      Thx to @SGaist for providing thesolution

      1 Reply Last reply
      2

      • Login

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