Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to create a Dll in Qt
MonalisaKalla last edited by
I want to create a shared Dll in -QT- Qt.
How to achieve this?
Thanks & Best regards,
It's called Qt not QT, QT is quicktime. Thanks, Gerolf, please read the notes on: before posting on top when creating a new topic.
giesbert last edited by
yes, it is possible. Which tool chain and OS do you use?
In Qt Creator you just say:
File ==> New File or Project ==> Other Project ==> C++ library
there you can use Qt for sure
leon.anavi last edited by
In general you have to add the following line to the .pro file of your Qt project if want to to create a library:
@TEMPLATE = lib@
But the easiest way it to follow Gerolf's advice and Qt Creator will add this line to the .pro file automatically.