I am currently compiling a C++/Qt project into a dll and I would like to have one dll that works in both debug and release configuration for the end user.
It's fine if the end user cannot "step into" the library using the IDE when debugging but the idea is to distribute just one release dll and have it correctly link and run in a project that is compiled in debug.
Are there any compiler flags that I should set in qmake? I'm using QtCreator with qmake files to compile my library.