Make possible to switch between dynamic / static builds without patching pri file
Brought to you by:
rathmann
Please make it possible to specify 'QWT_CONFIG += QwtDll' vs 'QWT_CONFIG -= QwtDll' without modifying pri file. The issue is that on some platforms I would like to build qwt dynamically on others (like Mac) - statically. Currently it is not possible without patching pri file, which makes CI are bit more complicated.
What I suggest is to add something like this after 'QWT_CONFIG += QwtDll' :
!isEmpty(QWT_STATIC) && equals(QWT_STATIC, true) {
QWT_CONFIG -= QwtDll
}
Anonymous
How can I propose PR? https://github.com/ElderOrb/qwt/commit/3e72164e902cf7a690d19cc0cdf44f9faebbcdc8