Problems to run application on Client Computer (Windows Only)
-
OK nice tip about the the debug .dll files, but at its right moment I'm making a test version of my application, when this app go to "production", to market I change the .dll and the compilation configuration.
The Dependency Walker shows something about microsoft java, and it's not an ERROR appears only warnings and this two warning it's not to show that some .dll file is missing...
Also:
- What version of Qt are you using? - 4.7.4
- What compiler are you using? - MinGW 4.4
- QtCreator? - 2.4.1 (all features I'm using come by default on this QtCreator).
-
Anyone?
I thinking that can be something to non-static linking... I'm not sure!
http://qt-project.org/doc/qt-4.8/deployment-windows.html
@
cd C:\path\to\Qt
@This path is the app projeto or real Qt? I can find a way to execute the comando "configure -static"
-
Ok. I will post here the happy-pill to build Qt-es for Windows:
Download proper version of Qt Library
Configure and build it with keys -static -release...
Build your project with this Qt tool chain on the Windows machine
Check it on other machines
???
PROFIT!!1
It works cos I am using it.
-
[quote author="dcbasso" date="1352482192"]2. Configure and build it with keys -static -release…
Where I configure that? Can you explain in details?[/quote]
http://www.qtcentre.org/wiki/index.php?title=Building_static_Qt_on_Windows
-
Thanks, I was reading this:
http://qt-project.org/doc/qt-4.8/deployment-windows.html -
[quote author="dcbasso" date="1352483254"]Thanks, I was reading this:
http://qt-project.org/doc/qt-4.8/deployment-windows.html[/quote]No, no. The link I gave you should be better for your problem.
-
Sure, I'm reading!
Right now I'm trying to find a fix to MSJAVA.DLL!
I'm dont know why this is necessary, but... is...[quote author="tucnak" date="1352483350"][quote author="dcbasso" date="1352483254"]Thanks, I was reading this:
http://qt-project.org/doc/qt-4.8/deployment-windows.html[/quote]No, no. The link I gave you should be better for your problem.[/quote]
-
Well, Now I got this another erro:
@
g++: LFLAGS: No such file or directory
g++: =: No such file or directory
mingw32-make.exe[1]: *** [debug\InoveBEVSAT.exe] Error 1
mingw32-make.exe: *** [debug] Error 2
16:10:01: The process "C:\QtSDK\mingw\bin\mingw32-make.exe" exited with code 2.
Error while building project InoveBEV (target: Desktop)
When executing build step 'Make'
@I need to define something on *.pro file?
-
[quote author="dcbasso" date="1352489218"]How to execute this commands:
@
configure -static -release -no-exceptions
mingw32-make sub-src
@[/quote]You should to run MinGW Command Promt. After that change currend directory (cd) to the dir which contains your qt libs. After that - execute commands.
-
[quote author="dcbasso" date="1352490427"]on MinGW Promt:
@
cd C:\QtSDK\Desktop\Qt\4.8.1\mingw
@@
cd C:\QtSDK\Desktop\Qt\4.8.1\mingw\bin
@@
cd C:\QtSDK\Desktop\Qt\4.8.1\mingw\lib
@And i try run commands, and the "sh: configure: command not found".
I go to the right folder?!+[/quote]No, no. Do not use Qt SDK. Download Qt 4.8.2 libraries and work with it.