PDA

View Full Version : Custom Dll



ComaWhite
18th July 2008, 07:39
I was wondering. How do I create a Dll/Shared Object with Qt4? Do I need any special class or whatnot. I tried googling but it just gave me links to download Qt4's dll's etc. so it wasn't really much of help.

jonman364
18th July 2008, 08:22
Put TEMPLATE = lib in your .pro file instead of TEMPLATE = app

Have a look at this: qmake Common Projects (http://doc.trolltech.com/4.4/qmake-common-projects.html#the-lib-template)