I've created a very simple Qt application with a few pushButtons. I now need to embed a Coin3d (OpenInventor) window inside my Qt application. I've gotten a couple pointers on how to do this from folks on a Coin3d forum, but I'm running into some problems.

My code includes a

#include <Inventor/Qt/SoQt.h>

header which wasn't found until I edited the vsvars32.bat file. (should I have done this?) Now, however, I'm receiving the following error message:

C:\coin3d\include\Inventor\Qt\SoQtBasic.h(130) : fatal error C1189: #error : Define either SOQT_DLL or SOQT_NOT_DLL as appropriate for your linkage!

I'm using MSVC++ 2005 Express to compile: qmake -project ; qmake ; nmake in the Visual Studio 2005 Command Prompt. Given the inclusion of extraneous/non-Qt stuff, do I need to go about compiling this differently? ...edit one of the Makefiles or use additional arguments when running qmake?