Hi, I have a dynamic library that works fine, and I would like to use a QObject in it. After including the "qobject.h" header, I compile adn evrything is fine. But when I try declaring a QObject, the compiler always gives me a "identifier not found" error. I tried foward eclaration of the QObject class, it did not help. It's weird because visual studio's intellisense is working when I use Qt in my dll (ex.: when i declare a QObject, visual sdio shows me the functions available to my QObject). Is there anything special I have to do to use Qt in a dynamic library? Do I have to compile it with qmake now that I'm using a QObject?

thanks for the help

Dave