You can have two builds --- one static and one dynamic. To switch between them you just have to run appropriate qmake binary (provided that you use qmake).You can even make a qmake-static and qmake-dynamic symlinks to speed things up.
You can have two builds --- one static and one dynamic. To switch between them you just have to run appropriate qmake binary (provided that you use qmake).You can even make a qmake-static and qmake-dynamic symlinks to speed things up.
Yes, but could I use them at the same time without rebuilding QT?
I think I am not expressing myself clearly. If I understand correctly, using the two different qmake options would force me to rebuild QT each time that I switched between debug/shared and release/static. That is what I was trying to avoid.
Would switching between the two setups require rebuilding QT each time? It seems that whenever I run qmake, the previous setup is removed.
No, those two setups won't know anything about each other.
Where do you run qmake?
If you have different Qt builds in different directories each of them has its own qmake binary. To make your project use some Qt build, you have to run qmake from that build's bin directory. This works the best with "out of source" building style.
Thor28 (14th April 2008)
OK, sounds like I need to have two separate directory trees for this. Thanks.
Bookmarks