Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, July 2007
How to build QT library using MT option


Message 1 in thread

Hello all,
        I found that QT libraries are built using MD option by default, I
wonder how to change it to MD option so that I could use QT libraries in my
app using MD option.

-- 
 [ signature omitted ] 

Message 2 in thread

zhu jiang said the following on 23.07.2007 09:37:
> Hello all,
>         I found that QT libraries are built using MD option by default, 
> I wonder how to change it to MD option so that I could use QT libraries 
> in my app using MD option.

Open your qmake.conf file, depending on your mkspec it can be 
something like:
     mkspecs\win32-msvc2005\qmake.conf
and change the -MD and -MDd option to -MT and -MTd. Then run
     qmake -r && qmake -tp vc -r
in the the root path of your Qt installation, and recompile Qt.

We don't compile and test Qt with these options, so it's unsupported 
but should work.

-- 
 [ signature omitted ] 

Attachment: signature.asc
Description: OpenPGP digital signature