Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to create a dll starting from a CMake project.
Foraz last edited by Foraz
I have a c++ project Unix based that I need to convert into a dll usable on Windows. It is configured using CMake as a builder. I've compiled the project on Qt Creator using MinGW and verified that the application works correctly. The application also uses external dlls.
At this point I wondered: is there a way to create a dll from it?
koahnig last edited by koahnig
Last time I had a similar issue I started simply with a "hello world" dll and checkout what to change in my library source and qmake to get it to work. That was the most straight forward things to do.
Instead of using qmake for your projects you shall use CMake as the basis for your projects based Qt creator templates.
 There are also some guidelines for dll creation with qt