Hello all,
I'm doing some refactoring. I have a non-gui, non-qt dll (MSVC), to which I've added a qt class which derives from QWidget. (this widget should give me some access to the other parts of the dll)

I've got no .pro file and haven't used qmake. Everything compiles wonderfully, runs perfectly and crashes as expected - "QWidget: Must make a QApplication before..." when asked to show the UI.

What can I do to get the thing Qt'd?

What do I need to put into DllMain() - like in main(){ QApplication app(argc, argv); ...

can I do it without a *.pro?

thanks
K