The problem is that I don't know where is the "configure" file or how to generate it ?
QMake
make use of several type of files:
The most common is the .pro
used for pro-jects. You can find/create it at the root of your project directory.
Creating a QtCreator project will automatically generate one. Be aware that there is also the qbs
alternative.
the old option to add "CONFIG = static" in the .pro file doesn't work with Qt5
CONFIG *= static
still works, are you sure about any other issue somewhere else?
CONFIG = static
will override any previous value, using the *
will append the new value without deleting previous configurations. I suggest you to use 'message( $$CONFIG)' to ensure the content is correct.