Problems to run application on Client Computer (Windows Only)
-
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.
-
2. Configure and build it with keys -static -release…
Where I configure that? Can you explain in details?
-
*Only the Dependenci MSJAVA.DLL is missing...
But I'm can't understand why! -
[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?
-
How to execute this commands:
@
configure -static -release -no-exceptions
mingw32-make sub-src
@ -
[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.
-
"run MinGW"! Thanks... I will try!
-
[quote author="dcbasso" date="1352489443"]"run MinGW"! Thanks... I will try![/quote]
You are welcome.
-
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 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.
-
Well I have this option installed here... wait.
-
Another question:
@
mingw32-make sub-src
@Whats "sub-src" means? I need change for something else?!
-
Whats “sub-src” means? I need change for something else?!