Open Suthiro opened 4 years ago
Modify lines 91 and 130 in file 'qwtconfig.pri' to get a static lib without designer plugins.
It is not exactly what I'd like to achieve, but looks like it is the best variant, thank you!
Also please note that with CONFIG+=QwtDll
the qwt5-qt55.dll
has size of 97KB (compared to 2985KB of qwt5-qt5.lib
) and exports nothing (checked it with dumpbin
). nmake install
fails with the same error even using the edited qwtconfig.pri
.
I tried to build the library with MSVC x64 compiler (Visual Studio 2017) under Windows 7 x64. The QT is built in the same environment. The simple way
does not work,
nmake
exits with code 0x2 when building a designer plugin. It fails looking forqwt5-qt5.lib
file. At this step there areqwt5-qt55.dll
andqwt5-qt5.prl
in\lib
. There is nothing more. I tried to manually editqwt.pro
to prevent building of plugin,nmake
exits successfully, no lib files appear.nmake install
fails copying\lib\pkgconfig\qwt5-qt5.pc
since there is nopkgconfig
directory (or anything except two files listed above) inlib
. Is this behaviour correct? I expected to getqwt5-qt5.dll
(without trailing 5) andqwt5-qt5.lib
for linker. Could you please clarify how one is supposed to correclty build the library under Windows using MSVC compiler? Thank you very much!