QtSvg not built
-
wrote on 6 Dec 2013, 00:30 last edited by
I'm trying to build a moderately lightweight Qt library from source, and the following set of configuration options almost works for me:
@configure -opensource -debug-and-release -c++11 -no-compile-examples -opengl desktop -no-openssl -no-icu -no-iconv -nomake examples -nomake tests -qt-zlib -prefix C:\Qt\5.1.1\x86_64@
I say 'almost' because the one module that's missing appears to be QtSvg.
Qt4 had an explicit -svg option to ensure that the corresponding module was built, but Qt5 does not appear to have this - or at least, there's no mention of SVG in the output of 'configure -help'.
So, what do I need to do to ensure QtSVG is built?
-
Hi,
Good question I can't answer right away, but you can try to build it by hand. You can call qmake then make in the qtsvg folder
-
wrote on 9 Dec 2013, 20:55 last edited by
Thank you, yes, that worked: once my main compilation had finished, I just moved to src\qtsvg and typed 'qmake' then 'nmake' and a few minutes later I had my missing DLL.
It still seems very unsatisfactory though; I still have the feeling that I've missed something that should be obvious...
-
If you have time you can try to rebuild adding your options one by one, to see which one poses problem
-
wrote on 10 Dec 2013, 09:08 last edited by
I've actually done quite a lot of that already - certainly disabling the options which cause sections such as icu and iconv not to be compiled - but nothing I've tried so far has worked. There are of course hundreds of possible permutations and combinations, and I can't work through all of them.
-
Indeed, but I was just thinking about the options you used that disables things like -no-iconv/-no-icu (AFAIK icu should not influence QtSvg)
1/6