March 13, 2011

powerofpi powerofpi
Lab Rat
14 posts

[SOLVED] Static Qt build on Windows Fails: Missing libintl-8.dll

 

Hello all,

I am trying to statically link and build a desktop Qt application of mine for release. I am following these instructions [formortals.com]. I successfully configured Qt with the following command:

configure -release -static -platform win32-g++ -qt-zlib -qt-libpng -nomake examples -nomake demos -no-exceptions -no-stl -no-rtti -no-qt3support -no-scripttools -no-openssl -no-opengl -no-webkit -no-phonon -no-style-motif -no-style-cde -no-style-cleanlooks -no-style-plastique -no-sql-sqlite

However, when I get to the step of actually building it (mingw32-make), the build eventually fails, giving me:

ar.exe – System Error: The program can’t start because libintl-8.dll is missing from your computer. Try reinstalling the program to fix this problem.

I have no idea how to resolve this. I am using MinGW with the win32-g++ compiler. Can anyone help me?

4 replies

March 13, 2011

Gerolf Gerolf
Robot Herder
3252 posts

Hi,

I have not read the instructions you are using, but did you read the following wiki article [developer.qt.nokia.com] ? This describes how to do it and for me, it worked without problems…

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

March 13, 2011

powerofpi powerofpi
Lab Rat
14 posts

Gerolf wrote:
Hi,

I have not read the instructions you are using, but did you read the following wiki article [developer.qt.nokia.com] ? This describes how to do it and for me, it worked without problems…

I’ll look at it and give it a try, thanks.

March 13, 2011

powerofpi powerofpi
Lab Rat
14 posts

The directions you linked to were a lot more complete, and worked perfectly for me. Thanks, solved!

March 13, 2011

Gerolf Gerolf
Robot Herder
3252 posts

You’r welcome.
It’s great when it helped.

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

 
  ‹‹ Unable to build release version      error running application : Alignment trap ››

You must log in to post a reply. Not a member yet? Register here!