This is driving me crazy.

I have two shared library projects, they both use identical configuration:
TEMPLATE = lib
CONFIG += qt dll release

I am compiling with MSVC on the command line using nmake.

* In one case .dll and .lib are both created (That's good because .lib is needed at compile time, and .dll is needed at run time).
* In the other case, only .dll is created

Any ideas? Shouldn't .lib always be created?