[Qt-interest] freetype on Windows

suzuki toshiya mpsuzuki at hiroshima-u.ac.jp
Wed Aug 3 04:27:39 CEST 2011


What I wrote is not the way that one can achieve it,
it is the way that one can know what should be prepared
for first.

The order of 1 & 2 is slightly questionable. If I use
Unix like building, the update of text.pri may cause
rebuilding of the related project, but I'm not sure in
other building process (on Win32). Are you familiar
with Qt building system for Win32?

Regards,
mpsuzuki

Li Lirong wrote:
> Am I right that I can do this:
> 
> 1. configure qt on windows without freetype.
> 2. modify text.pri to use freetype.
> 3. build
> 
> Thanks!
> 
> 2011/8/2 suzuki toshiya <mpsuzuki at hiroshima-u.ac.jp>:
>> Hi,
>>
>> Please check qt/src/gui/text/text.pri (for 4.7/4.8)
>> or qtbase/src/gui/text/text.pri (for 5.0).
>>
>> You can easily find the difference of which files
>> are compiled for win32, and for unix/x11/freetype,
>> and others.
>>
>> If you can replace all methods in the win32-specific
>> sources by freetype backend, there is a possibility
>> that Qt works with freetype backend.
>>
>> But, why do you want to use freetype on Win32 platform?
>>
>> Regards,
>> mpsuzuki
>>
>> Li Lirong wrote:
>>> Thanks for your reply.
>>>
>>> Can you provide some pointer on how to do this?
>>>
>>>
>>>
>>> On Tue, Aug 2, 2011 at 8:41 PM, Nikos Chantziaras <realnc at arcor.de> wrote:
>>>> On 08/02/2011 01:33 PM, Li Lirong wrote:
>>>>> Hi,
>>>>>
>>>>> Is it possible to enable freetype on Windows?  Have anyone tried?
>>>> If you mean "enable" through some magic switch, no.  If you mean by
>>>> porting the relevant private classes to Windows yourself and modifying
>>>> other code accordingly, yes.
>>>> _______________________________________________
>>>> Qt-interest mailing list
>>>> Qt-interest at qt.nokia.com
>>>> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>>>>
>>> _______________________________________________
>>> Qt-interest mailing list
>>> Qt-interest at qt.nokia.com
>>> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>>
> _______________________________________________
> 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