August 19, 2011

romankr romankr
Lab Rat
16 posts

[solved] How to rebuild qt on windows without CRT dependences?

 

Hello!
I would like to rebuild my qt without Microsoft C\C++ Runtime requirements (at this moment qt-stuff demands msvcr90.dll & msvcp90.dll). I’ve found an -no-crt option in ./configure help, but it works only for Windows CE (why?).
So, how can i add a /MT flag (instead of /MD) to qt configuration (or how can i add it in a right way into appropriate makefile)?
Or i can simply drop this dependences without ./configure wizardy?
Or maybe someone has an already built qt *.dll libraries without this dependences and can share it?

p.s. the aim of this question is to make a fully free of MS VC++ Redustributable package windows app.

2 replies

August 19, 2011

peppe peppe
Ant Farmer
1025 posts

http://developer.qt.nokia.com/faq/answer/why_does_a_statically_built_qt_use_the_dynamic_visual_studio_runtime_librar

(It contains a solution).

 Signature 

Software Engineer
KDAB (UK) Ltd., a KDAB Group company

August 19, 2011

romankr romankr
Lab Rat
16 posts

thank you – i haven’t known about this article before.

 
  ‹‹ How to get Mouse Click event on QComboBox      Add more content to QMenu ››

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