PDA

View Full Version : Create DLL file from Qt4



abghosh
3rd March 2010, 17:05
Hi

I want to create DLL file like the one done in VC++.
Can any body help.

Thanks in advance.

squidge
3rd March 2010, 17:33
EDIT: From your title "Create DLL file from Qt4", I thought you were trying to create a DLL from Qt4, ie, recompile Qt4 as a DLL. From your duplicate post, it seems you don't mean that, so I retract this answer. Please follow the other advice instead.

schnitzel
3rd March 2010, 18:15
Hi

I want to create DLL file like the one done in VC++.
Can any body help.

Thanks in advance.

Please don't double post.

This thread should be moved to newbie section

vishwajeet.dusane
3rd March 2010, 18:25
Assuming u want to create ur application as dll on windows. please correct me if i am wrong.

Then u have to look for Q_DECL_EXPORT and Q_DECL_IMPORT macros in class.
also in your project file mention TEMPLATE = lib