PDA

View Full Version : Issue creating lib file



TheGrimace
7th June 2007, 15:24
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

jpn
7th June 2007, 15:37
Could it be a forgotten or improper export macro?

TheGrimace
7th June 2007, 16:30
I used _declspec(dllexport) in the declaration of the main class