Qt-interest Archive, December 2001
builing thread + no thread libs
Message 1 in thread
Hello qt'ers,
For qt 3.0 in red hat 7.1 I need to build both:
1. libqt-mt.so.3.0.0 (thread support)
2. libqt.so.3.0.0 (without thread support)
I would do it in the following way:
1. Build qt with thread support and save the libqt-mt.so.3.0.0 in a safe
place
2. Build qt without thread support and move back libqt-mt.so.3.0.0 to
$QTDIR/lib :-)
However Cristian Stamateanu told me it is one concern with this
"strategy":
"I don't know how qmake and other programs like designer and linguist
are depending on the configuration parameters used for compiling qt. "
Opinions are welcome
Jean Pierre Charalambos
Message 2 in thread
I tried this once for static and shared - it did not work. Some of the
include files are different (the DLL stuff). Maybe it is save for the
threaded version - as long as you do not define QT_THREAD_SUPPORT in
qglobal.h, but with -D in your makefile.
Trolls, I would like to have one include dir and one lib dir containing
all files for qt-{debug,release}-{static,shared}-{,mt}. This might not
work for the debug/release part, but should for all others.
--
[ signature omitted ]