I am attempting to create a dynamic library from a qt app. I can create a dll, but it won't make a lib file.

here is my pro file:

CONFIG += qt plugin release
DEFINES += USE_DLL_DEMUX
QT += thread
TEMPLATE = lib
TARGET = Demuxer
DEPENDPATH += . H264
INCLUDEPATH += .

followed by the sources and inputs.

I have looked at the qt qmake tutorial and can't make sense of why I can't make a lib file.

I am using the following method of compilation:

qmake -o makefile Demuxer.pro

nmake -f makefile.Release