Seite 1 von 1

Qt Exe

Verfasst: 2. August 2011 17:03
von js
abend,

wollte meine exe auf einem anderen rechner zum laufen bringen bekomme aber die Fehlermeldung:

Diese Anwendung konnte nicht gestartet werden, weil die Anwendungskonfiguration nciht korrekt ist. ??

lg

Re: Qt Exe

Verfasst: 2. August 2011 17:57
von Christian81
Hast du auch alle Dlls mitgeliefert -> Foren-Suche 'Dependency Walker'

Re: Qt Exe

Verfasst: 2. August 2011 21:35
von js
Vielen dank für die schnelle Antwort. Habe das tool gestartet und alle dll die gebraucht wurden kopiert.
Bekomme jedoch das hier als Fehler: Mit c++ runtime habe ich es auch schon probiert
2.png
2.png (52.81 KiB) 4755 mal betrachtet
The Side-by-Side configuration information for "c:\be\TPOPT.EXE" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).
Error: The Side-by-Side configuration information for "c:\be\QTCORE4.DLL" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).
Error: The Side-by-Side configuration information for "c:\be\QTGUI4.DLL" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).
Error: The Side-by-Side configuration information for "c:\be\LIBXML2.DLL" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).
Error: The Side-by-Side configuration information for "c:\be\QWT.DLL" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).
Error: The Side-by-Side configuration information for "c:\be\QTSVG4.DLL" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.


Unter Konfig.- Allgemein -

Verwendung von MFC = Windows-Standardbib.
Verwendung von ATL = AtL wird nicht verwendet

Unter C/C++ - Codegenerierung
Laufzeitbibliothek = /MDd

Unter Linker - Eingabe
Zusätzliche Abhängigkeiten=
Habe es mit :
qtmaind.lib QtCored4.lib QtGuid4.lib QtXmld4.lib QtOpenGLd4.lib opengl32.lib glu32.lib QtXmlPatternsd4.lib C:\Optimierung2\qwt\lib\qwtd.lib

und mit :
qtmaind.lib QtCored4.lib QtGuid4.lib QtXmld4.lib QtOpenGLd4.lib opengl32.lib glu32.lib QtXmlPatternsd4.lib C:\Optimierung2\qwt\lib\qwtd.lib

getestet bei beiden das selbe Problem

Re: Qt Exe

Verfasst: 2. August 2011 21:44
von Christian81
Debug-Libraries und Executables verteilt man nicht und darf man laut den MS-Lizenzbestimmungen auch gar nicht. Verteile die Release-Libs und es geht.

Re: Qt Exe

Verfasst: 2. August 2011 22:19
von js
im Release Ordner habe ich keine einzige lib

Re: Qt Exe

Verfasst: 3. August 2011 06:30
von Christian81
Dann muss man wohl Qt und sein eigenes Executable als Release bauen würde ich sagen.
Wenn Qt nur als Debug gebaut ist dann muss man Qt nochmal als Release bauen. Für Deine eigene App kann man das in Visual Studio umstellen ob man Release oder Debug möchte

Re: Qt Exe

Verfasst: 3. August 2011 16:56
von ff-fan
Hallo,

also ich hatte damals alle notwendigen Dll's für Debug und Release in meinem QT Ordner gefunden.

unter ...Qt\2010.05\bin und ....Qt\2010.05\qt\bin

Einfach mal dort danach suchen.

Edit:
Achso, bei falscher Konfiguration zieht sich die Applikation ggf.
die falschen Dll-Versionen! (QT mehrfach installiert bzw. Applikation mit
einer anderen QT-Umgebung erzeugt?)

Gruß

ff-Fan