having both static and dynamic libraries?
I have a project that links to Qt through shared libraries, and another project that I want to link to Qt with static libraries. It seems that if I want to build both though, I will have to call configure -static/-shared and nmake before each particular build. Is there a better way to set this up without having to do the costly configure/nmake operation on the entire Qt src?
Re: having both static and dynamic libraries?
Quote:
Originally Posted by
gfunk
Is there a better way to set this up without having to do the costly configure/nmake operation on the entire Qt src?
Make and install Qt once to prefix "qt_install/static", and once to "qt_install/shared". Then just switch the path variable so that the right qmake binary is found?
Re: having both static and dynamic libraries?
gfunk,
For what its worth I wanted the same result for windows and Linux. I have documented my procedure at http://rag.com.au/linux/qt4howto.html
I hope it is of some help...
Regards, B1.