Hello!
I'm compiling the static version of Qt v5.4.1,but while linking with some libraries such as fontconfig, crypto ..., the linker reports linking error :
can not find -lfontconfig , -lcrypto : No such file or directory.
While compiling the dynamic version of Qt, the error does not appear.
Maybe is there something wrong ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
While compiling the shared-link version,the linking error is not produced.
Do these libraries not provide static linking ?
PS:The libraries which have relationship with static-link error are: fontconfig,openssl
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
mingw openssl seems to have static libraries. mingw fontconfig doesn't. I don't know if it's difficult to provide it. You can try playing with the fontconfig PKGBUILD (https://github.com/alexpux/mingw-packages/tree/master/mingw-w64-fontconfig), building a static version of fontconfig and then contributing the patch back to us. Information on building packages is on our wiki.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
I'm compiling the static version of Qt v5.4.1,but while linking with some libraries such as fontconfig, crypto ..., the linker reports linking error :
can not find -lfontconfig , -lcrypto : No such file or directory.
While compiling the dynamic version of Qt, the error does not appear.
Maybe is there something wrong ?
While compiling the shared-link version,the linking error is not produced.
Do these libraries not provide static linking ?
PS:The libraries which have relationship with static-link error are: fontconfig,openssl
mingw openssl seems to have static libraries. mingw fontconfig doesn't. I don't know if it's difficult to provide it. You can try playing with the fontconfig PKGBUILD (https://github.com/alexpux/mingw-packages/tree/master/mingw-w64-fontconfig), building a static version of fontconfig and then contributing the patch back to us. Information on building packages is on our wiki.