src/gui/text/text.pri
changeset 0 1918ee327afb
child 3 41300fa6a67c
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 # Qt kernel module
       
     2 
       
     3 HEADERS += \
       
     4 	text/qfont.h \
       
     5 	text/qfontdatabase.h \
       
     6 	text/qfontengine_p.h \
       
     7 	text/qfontengineglyphcache_p.h \
       
     8 	text/qfontinfo.h \
       
     9 	text/qfontmetrics.h \
       
    10 	text/qfont_p.h \
       
    11 	text/qfontsubset_p.h \
       
    12 	text/qtextcontrol_p.h \
       
    13 	text/qtextcontrol_p_p.h \
       
    14 	text/qtextengine_p.h \
       
    15 	text/qtextlayout.h \
       
    16 	text/qtextformat.h \
       
    17 	text/qtextformat_p.h \
       
    18 	text/qtextobject.h \
       
    19 	text/qtextobject_p.h \
       
    20 	text/qtextoption.h \
       
    21 	text/qfragmentmap_p.h \
       
    22 	text/qtextdocument.h \
       
    23 	text/qtextdocument_p.h \
       
    24 	text/qtexthtmlparser_p.h \
       
    25 	text/qabstracttextdocumentlayout.h \
       
    26 	text/qtextdocumentlayout_p.h \
       
    27 	text/qtextcursor.h \
       
    28 	text/qtextcursor_p.h \
       
    29 	text/qtextdocumentfragment.h \
       
    30 	text/qtextdocumentfragment_p.h \
       
    31 	text/qtextimagehandler_p.h \
       
    32 	text/qtexttable.h \
       
    33 	text/qtextlist.h \
       
    34 	text/qsyntaxhighlighter.h \
       
    35 	text/qtextdocumentwriter.h \
       
    36 	text/qcssparser_p.h \
       
    37 	text/qtexttable_p.h \
       
    38 	text/qzipreader_p.h \
       
    39 	text/qzipwriter_p.h \
       
    40 	text/qtextodfwriter_p.h
       
    41 
       
    42 SOURCES += \
       
    43 	text/qfont.cpp \
       
    44 	text/qfontengine.cpp \
       
    45 	text/qfontsubset.cpp \
       
    46 	text/qfontmetrics.cpp \
       
    47 	text/qfontdatabase.cpp \
       
    48 	text/qtextcontrol.cpp \
       
    49 	text/qtextengine.cpp \
       
    50 	text/qtextlayout.cpp \
       
    51 	text/qtextformat.cpp \
       
    52 	text/qtextobject.cpp \
       
    53 	text/qtextoption.cpp \
       
    54 	text/qfragmentmap.cpp \
       
    55 	text/qtextdocument.cpp \
       
    56 	text/qtextdocument_p.cpp \
       
    57 	text/qtexthtmlparser.cpp \
       
    58 	text/qabstracttextdocumentlayout.cpp \
       
    59 	text/qtextdocumentlayout.cpp \
       
    60 	text/qtextcursor.cpp \
       
    61 	text/qtextdocumentfragment.cpp \
       
    62 	text/qtextimagehandler.cpp \
       
    63 	text/qtexttable.cpp \
       
    64 	text/qtextlist.cpp \
       
    65 	text/qtextdocumentwriter.cpp \
       
    66 	text/qsyntaxhighlighter.cpp \
       
    67 	text/qcssparser.cpp \
       
    68 	text/qzip.cpp \
       
    69 	text/qtextodfwriter.cpp
       
    70 
       
    71 win32 {
       
    72 	SOURCES += \
       
    73 		text/qfont_win.cpp \
       
    74 		text/qfontengine_win.cpp
       
    75 	HEADERS += text/qfontengine_win_p.h
       
    76 }
       
    77 
       
    78 unix:x11 {
       
    79 	HEADERS += \
       
    80 		text/qfontengine_x11_p.h \
       
    81 		text/qfontengine_ft_p.h
       
    82 	SOURCES += \
       
    83 		text/qfont_x11.cpp \
       
    84 		text/qfontengine_x11.cpp \
       
    85 		text/qfontengine_ft.cpp
       
    86 }
       
    87 
       
    88 !embedded:!x11:mac {
       
    89 	SOURCES += \
       
    90 		text/qfont_mac.cpp
       
    91         OBJECTIVE_SOURCES += text/qfontengine_mac.mm
       
    92 }
       
    93 
       
    94 embedded {
       
    95 	SOURCES += \
       
    96 		text/qfont_qws.cpp \
       
    97 		text/qfontengine_qws.cpp \
       
    98 		text/qfontengine_ft.cpp \
       
    99 		text/qfontengine_qpf.cpp \
       
   100 		text/qabstractfontengine_qws.cpp
       
   101 	HEADERS += \
       
   102 		text/qfontengine_ft_p.h \
       
   103 		text/qfontengine_qpf_p.h \
       
   104 		text/qabstractfontengine_qws.h \
       
   105 		text/qabstractfontengine_p.h
       
   106 	DEFINES += QT_NO_FONTCONFIG
       
   107 }
       
   108 
       
   109 symbian {
       
   110 	SOURCES += \
       
   111 		text/qfont_s60.cpp
       
   112 	contains(QT_CONFIG, freetype) {
       
   113 		SOURCES += \
       
   114 			text/qfontengine_ft.cpp
       
   115 		HEADERS += \
       
   116 			text/qfontengine_ft_p.h
       
   117 		DEFINES += \
       
   118 			QT_NO_FONTCONFIG
       
   119 	} else {
       
   120 		SOURCES += \
       
   121 			text/qfontengine_s60.cpp
       
   122 		HEADERS += \
       
   123 			text/qfontengine_s60_p.h
       
   124 		LIBS += -lfntstr -lecom
       
   125 	}
       
   126 }
       
   127 
       
   128 contains(QT_CONFIG, freetype) {
       
   129     SOURCES += \
       
   130 	../3rdparty/freetype/src/base/ftbase.c \
       
   131 	../3rdparty/freetype/src/base/ftbbox.c \
       
   132 	../3rdparty/freetype/src/base/ftdebug.c \
       
   133 	../3rdparty/freetype/src/base/ftglyph.c \
       
   134 	../3rdparty/freetype/src/base/ftinit.c \
       
   135 	../3rdparty/freetype/src/base/ftmm.c \
       
   136 	../3rdparty/freetype/src/base/fttype1.c \
       
   137           ../3rdparty/freetype/src/base/ftbitmap.c\
       
   138 	../3rdparty/freetype/src/bdf/bdf.c \
       
   139 	../3rdparty/freetype/src/cache/ftcache.c \
       
   140 	../3rdparty/freetype/src/cff/cff.c \
       
   141 	../3rdparty/freetype/src/cid/type1cid.c \
       
   142 	../3rdparty/freetype/src/gzip/ftgzip.c \
       
   143 	../3rdparty/freetype/src/pcf/pcf.c \
       
   144 	../3rdparty/freetype/src/pfr/pfr.c \
       
   145 	../3rdparty/freetype/src/psaux/psaux.c \
       
   146 	../3rdparty/freetype/src/pshinter/pshinter.c \
       
   147 	../3rdparty/freetype/src/psnames/psmodule.c \
       
   148 	../3rdparty/freetype/src/raster/raster.c \
       
   149 	../3rdparty/freetype/src/sfnt/sfnt.c \
       
   150 	../3rdparty/freetype/src/smooth/smooth.c \
       
   151 	../3rdparty/freetype/src/truetype/truetype.c \
       
   152 	../3rdparty/freetype/src/type1/type1.c \
       
   153 	../3rdparty/freetype/src/type42/type42.c \
       
   154 	../3rdparty/freetype/src/winfonts/winfnt.c \
       
   155 	../3rdparty/freetype/src/lzw/ftlzw.c\
       
   156           ../3rdparty/freetype/src/otvalid/otvalid.c\
       
   157           ../3rdparty/freetype/src/otvalid/otvbase.c\
       
   158           ../3rdparty/freetype/src/otvalid/otvgdef.c\
       
   159           ../3rdparty/freetype/src/otvalid/otvjstf.c\
       
   160           ../3rdparty/freetype/src/otvalid/otvcommn.c\
       
   161           ../3rdparty/freetype/src/otvalid/otvgpos.c\
       
   162           ../3rdparty/freetype/src/otvalid/otvgsub.c\
       
   163           ../3rdparty/freetype/src/otvalid/otvmod.c\
       
   164           ../3rdparty/freetype/src/autofit/afangles.c\
       
   165           ../3rdparty/freetype/src/autofit/afglobal.c\
       
   166           ../3rdparty/freetype/src/autofit/aflatin.c\
       
   167           ../3rdparty/freetype/src/autofit/afmodule.c\
       
   168           ../3rdparty/freetype/src/autofit/afdummy.c\
       
   169           ../3rdparty/freetype/src/autofit/afhints.c\
       
   170           ../3rdparty/freetype/src/autofit/afloader.c\
       
   171           ../3rdparty/freetype/src/autofit/autofit.c
       
   172 
       
   173     symbian {
       
   174         SOURCES += \
       
   175             ../3rdparty/freetype/src/base/ftsystem.c
       
   176     } else {
       
   177         SOURCES += \
       
   178             ../3rdparty/freetype/builds/unix/ftsystem.c
       
   179         INCLUDEPATH += \
       
   180             ../3rdparty/freetype/builds/unix
       
   181     }
       
   182 
       
   183     INCLUDEPATH += \
       
   184 	../3rdparty/freetype/src \
       
   185 	../3rdparty/freetype/include
       
   186 
       
   187     DEFINES += FT2_BUILD_LIBRARY FT_CONFIG_OPTION_SYSTEM_ZLIB
       
   188     
       
   189     embedded:CONFIG += opentype
       
   190 } else:contains(QT_CONFIG, system-freetype) {
       
   191     embedded:CONFIG += opentype
       
   192     # pull in the proper freetype2 include directory
       
   193     include($$QT_SOURCE_TREE/config.tests/unix/freetype/freetype.pri)
       
   194     LIBS_PRIVATE += -lfreetype
       
   195 } else {
       
   196     DEFINES *= QT_NO_FREETYPE
       
   197 }
       
   198 
       
   199 contains(QT_CONFIG, fontconfig) {
       
   200     CONFIG += opentype
       
   201 }
       
   202 
       
   203 DEFINES += QT_NO_OPENTYPE
       
   204 INCLUDEPATH += ../3rdparty/harfbuzz/src