[Qt-interest] Fwd: Can I build Qt with built-in jpeg support ?
liang jian
jianliang79 at gmail.com
Mon Feb 14 16:36:20 CET 2011
---------- Forwarded message ----------
From: liang jian <jianliang79 at gmail.com>
Date: Mon, Feb 14, 2011 at 11:33 PM
Subject: Re: [Qt-interest] Can I build Qt with built-in jpeg support ?
To: achellies <achellies at 163.com>
hi, achellies, even when I configure qt with the "-qt-libjpeg"
option it will build jpeg into a plugin.
but I found a clue: there is a line in %QTDIR%\src\gui\image\image.pri :
contains(QT_CONFIG, jpeg):include($$PWD/jpeghandler.pri)
I guess if jpeg is defined in QT_CONFIG, jpeg will be build
directly into qt library. I also found that QT_CONFIG is defined in
%QTDIR%\mkspecs\qconfig.pri and jpeg is not defined in this file (but
png is defined). qconfig.pri is a file generated by configure.exe, the
question is how can I affect QT_CONFIG by the command options passed
to configure.exe, I currently have no idea, can somebody help? thanks
2011/2/14 achellies <achellies at 163.com>:
> you will find that if you read the configure command.
>
>
> At 2011-02-14,"liang jian" <jianliang79 at gmail.com> wrote:
>
>> I mean Is it possible for me to build a Qt library (shared, not
>>static, and I build under windows) with jpeg image format support but
>>without a jpeg plugin ? I know png is built into qt library by
>>default, how can I build jpeg in that way?
>>_______________________________________________
>>Qt-interest mailing list
>>Qt-interest at qt.nokia.com
>>http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
>
>
More information about the Qt-interest-old
mailing list