qmake -no-libjpeg
-
Hi,
I don't understand how to remove jpeg from my project.
I see in the documentation here:
https://doc.qt.io/qt-6/qtgui-attribution-libjpeg.htmlthat it can be done with configure and -no-libjpeg flag.
but I am using qmake under windows.
Can you help me on this?
Thank you
Emanuele
-
Hi,
I don't understand how to remove jpeg from my project.
I see in the documentation here:
https://doc.qt.io/qt-6/qtgui-attribution-libjpeg.htmlthat it can be done with configure and -no-libjpeg flag.
but I am using qmake under windows.
Can you help me on this?
Thank you
Emanuele
-
@emabiz You need to compile Qt yourself. When you do that, Qt has a configure script - that's where you can use that
-no-libjpeg
flag. If you add it to qmake it won't have any effect.@sierdzioThank you for your respone.
And the default integrated in Qt is LibJPEG-turbo?
Is it possible to avoid to use third party libraries without recompiling?
And recompiling will continue to keep LGPL license if used in dynamically linked applications? -
@sierdzioThank you for your respone.
And the default integrated in Qt is LibJPEG-turbo?
Is it possible to avoid to use third party libraries without recompiling?
And recompiling will continue to keep LGPL license if used in dynamically linked applications?@emabiz said in qmake -no-libjpeg:
@sierdzioThank you for your respone.
And the default integrated in Qt is LibJPEG-turbo?I think so, yes.
Is it possible to avoid to use third party libraries without recompiling?
I don't remember, sorry. Perhaps you can just swap the libs during deployment, if they are binary compatible?
And recompiling will continue to keep LGPL license if used in dynamically linked applications?
Yes, you can choose the license when compiling and using Qt.