Answer the question
In order to leave comments, you need to log in
When Qt is statically assembled, an error occurs with lib tiff, how to solve?
With any static build, it gives an error with tiff, although I do not use it.
How to solve this problem? Even when I create a purely empty project and write
QMAKE_LFLAGS_RELEASE += -static -static-libgccstill can't compile. I do it on release.
:-1: error: cannot find -ltiff
:-1: error: collect2.exe: error: ld returned 1 exit status
Answer the question
In order to leave comments, you need to log in
Rebuilding qt binaries from sources with the -qt-tiff parameter helped
(5.15.2) https://github.com/Sepera-okeq/Qt-Static-MinGW
You need to specify the path where tiff.lib is located (option -L)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question