Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploying a Qt project without ICU dependencies

I'm using the prebuilt Qt 5.0.2 with MinGW on Windows, and am putting together an installer for my project. I've noticed my compiled binary depends on the ICU libraries (icudt49.dll, icuin49.dll, and icuuc49.dll) even though I'm not using any localization or Unicode.

Is there any simple way to stop Qt from using ICU for a project, or would I have to recompile Qt from source?

like image 313
Matt Kline Avatar asked Dec 16 '22 10:12

Matt Kline


2 Answers

There is no way, you'll need to recompile Qt without ICU support (and thus without webkit).

like image 108
Frank Osterfeld Avatar answered Dec 29 '22 00:12

Frank Osterfeld


Recompile or use pre-compiled libs from Qt Minimal Deployment Kit for Windows. You find non-ICU builds for v5.1.1 and v5.2.2 there.

like image 34
Jens A. Koch Avatar answered Dec 28 '22 22:12

Jens A. Koch