8 MODULE_PRI = ../modules/qt_gui.pri
10 DEFINES += QT_BUILD_GUI_LIB QT_NO_USING_NAMESPACE
11 win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x65000000
12 irix-cc*:QMAKE_CXXFLAGS += -no_prelink -ptused
14 !win32:!embedded:!qpa:!mac:!symbian:CONFIG += x11
16 unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore
18 load(qt_module_config)
20 HEADERS += $$QT_SOURCE_TREE/src/gui/qtguiversion.h
22 contains(QT_CONFIG, x11sm):CONFIG += x11sm
25 x11:include(kernel/x11.pri)
26 mac:include(kernel/mac.pri)
27 win32:include(kernel/win.pri)
28 embedded:include(embedded/embedded.pri)
30 include(kernel/symbian.pri)
31 include(s60framework/s60framework.pri)
35 include(animation/animation.pri)
36 include(kernel/kernel.pri)
37 include(image/image.pri)
38 include(painting/painting.pri)
39 include(text/text.pri)
40 include(styles/styles.pri)
41 include(widgets/widgets.pri)
42 include(dialogs/dialogs.pri)
43 include(accessible/accessible.pri)
44 include(itemviews/itemviews.pri)
45 include(inputmethod/inputmethod.pri)
46 include(graphicsview/graphicsview.pri)
47 include(util/util.pri)
48 include(statemachine/statemachine.pri)
49 include(math3d/math3d.pri)
50 include(effects/effects.pri)
53 win32:!wince*: DEFINES += QT_NO_EGL
54 embedded: QT += network
56 QMAKE_LIBS += $$QMAKE_LIBS_GUI
58 contains(DEFINES,QT_EVAL):include($$QT_SOURCE_TREE/src/corelib/eval.pri)
60 QMAKE_DYNAMIC_LIST_FILE = $$PWD/QtGui.dynlist
62 DEFINES += Q_INTERNAL_QAPP_SRC
64 TARGET.UID3=0x2001B2DD
66 # ro-section in gui can exceed default allocated space, so move rw-section a little further
67 QMAKE_LFLAGS.ARMCC += --rw-base 0x800000
68 QMAKE_LFLAGS.GCCE += -Tdata 0x800000
72 DEFINES += QT_HAVE_NEON
73 HEADERS += $$NEON_HEADERS
75 DRAWHELPER_NEON_ASM_FILES = $$NEON_ASM
77 neon_compiler.commands = $$QMAKE_CXX -c
78 neon_compiler.commands += $(CXXFLAGS) -mfpu=neon $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
79 neon_compiler.dependency_type = TYPE_C
80 neon_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)}
81 neon_compiler.input = DRAWHELPER_NEON_ASM_FILES NEON_SOURCES
82 neon_compiler.variable_out = OBJECTS
83 neon_compiler.name = compiling[neon] ${QMAKE_FILE_IN}
84 silent:neon_compiler.commands = @echo compiling[neon] ${QMAKE_FILE_IN} && $$neon_compiler.commands
85 QMAKE_EXTRA_COMPILERS += neon_compiler
88 win32:!contains(QT_CONFIG, directwrite) {
89 DEFINES += QT_NO_DIRECTWRITE
92 contains(QMAKE_MAC_XARCH, no) {
93 DEFINES += QT_NO_MAC_XARCH
95 win32-g++*|!win32:!win32-icc*:!macx-icc* {
97 mmx_compiler.commands = $$QMAKE_CXX -c -Winline
100 mmx_compiler.commands += -Xarch_i386 -mmmx
101 mmx_compiler.commands += -Xarch_x86_64 -mmmx
103 mmx_compiler.commands += -mmmx
106 mmx_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
107 mmx_compiler.dependency_type = TYPE_C
108 mmx_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)}
109 mmx_compiler.input = MMX_SOURCES
110 mmx_compiler.variable_out = OBJECTS
111 mmx_compiler.name = compiling[mmx] ${QMAKE_FILE_IN}
112 silent:mmx_compiler.commands = @echo compiling[mmx] ${QMAKE_FILE_IN} && $$mmx_compiler.commands
113 QMAKE_EXTRA_COMPILERS += mmx_compiler
116 mmx3dnow_compiler.commands = $$QMAKE_CXX -c -Winline
119 mmx3dnow_compiler.commands += -Xarch_i386 -m3dnow -Xarch_i386 -mmmx
120 mmx3dnow_compiler.commands += -Xarch_x86_64 -m3dnow -Xarch_x86_64 -mmmx
122 mmx3dnow_compiler.commands += -m3dnow -mmmx
125 mmx3dnow_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
126 mmx3dnow_compiler.dependency_type = TYPE_C
127 mmx3dnow_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)}
128 mmx3dnow_compiler.input = MMX3DNOW_SOURCES
129 mmx3dnow_compiler.variable_out = OBJECTS
130 mmx3dnow_compiler.name = compiling[mmx3dnow] ${QMAKE_FILE_IN}
131 silent:mmx3dnow_compiler.commands = @echo compiling[mmx3dnow] ${QMAKE_FILE_IN} && $$mmx3dnow_compiler.commands
132 QMAKE_EXTRA_COMPILERS += mmx3dnow_compiler
134 sse3dnow_compiler.commands = $$QMAKE_CXX -c -Winline
137 sse3dnow_compiler.commands += -Xarch_i386 -m3dnow -Xarch_i386 -msse
138 sse3dnow_compiler.commands += -Xarch_x86_64 -m3dnow -Xarch_x86_64 -msse
140 sse3dnow_compiler.commands += -m3dnow -msse
143 sse3dnow_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
144 sse3dnow_compiler.dependency_type = TYPE_C
145 sse3dnow_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)}
146 sse3dnow_compiler.input = SSE3DNOW_SOURCES
147 sse3dnow_compiler.variable_out = OBJECTS
148 sse3dnow_compiler.name = compiling[sse3dnow] ${QMAKE_FILE_IN}
149 silent:sse3dnow_compiler.commands = @echo compiling[sse3dnow] ${QMAKE_FILE_IN} && $$sse3dnow_compiler.commands
150 QMAKE_EXTRA_COMPILERS += sse3dnow_compiler
154 sse_compiler.commands = $$QMAKE_CXX -c -Winline
157 sse_compiler.commands += -Xarch_i386 -msse
158 sse_compiler.commands += -Xarch_x86_64 -msse
160 sse_compiler.commands += -msse
163 sse_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
164 sse_compiler.dependency_type = TYPE_C
165 sse_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)}
166 sse_compiler.input = SSE_SOURCES
167 sse_compiler.variable_out = OBJECTS
168 sse_compiler.name = compiling[sse] ${QMAKE_FILE_IN}
169 silent:sse_compiler.commands = @echo compiling[sse] ${QMAKE_FILE_IN} && $$sse_compiler.commands
170 QMAKE_EXTRA_COMPILERS += sse_compiler
173 sse2_compiler.commands = $$QMAKE_CXX -c -Winline
176 sse2_compiler.commands += -Xarch_i386 -msse2
177 sse2_compiler.commands += -Xarch_x86_64 -msse2
179 sse2_compiler.commands += -msse2
182 sse2_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
183 sse2_compiler.dependency_type = TYPE_C
184 sse2_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)}
185 sse2_compiler.input = SSE2_SOURCES
186 sse2_compiler.variable_out = OBJECTS
187 sse2_compiler.name = compiling[sse2] ${QMAKE_FILE_IN}
188 silent:sse2_compiler.commands = @echo compiling[sse2] ${QMAKE_FILE_IN} && $$sse2_compiler.commands
189 QMAKE_EXTRA_COMPILERS += sse2_compiler
192 ssse3_compiler.commands = $$QMAKE_CXX -c -Winline
195 ssse3_compiler.commands += -Xarch_i386 -mssse3
196 ssse3_compiler.commands += -Xarch_x86_64 -mssse3
198 ssse3_compiler.commands += -mssse3
201 ssse3_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
202 ssse3_compiler.dependency_type = TYPE_C
203 ssse3_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)}
204 ssse3_compiler.input = SSSE3_SOURCES
205 ssse3_compiler.variable_out = OBJECTS
206 ssse3_compiler.name = compiling[ssse3] ${QMAKE_FILE_IN}
207 silent:ssse3_compiler.commands = @echo compiling[ssse3] ${QMAKE_FILE_IN} && $$ssse3_compiler.commands
208 QMAKE_EXTRA_COMPILERS += ssse3_compiler
211 iwmmxt_compiler.commands = $$QMAKE_CXX -c -Winline
212 iwmmxt_compiler.commands += -mcpu=iwmmxt
213 iwmmxt_compiler.commands += $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
214 iwmmxt_compiler.dependency_type = TYPE_C
215 iwmmxt_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)}
216 iwmmxt_compiler.input = IWMMXT_SOURCES
217 iwmmxt_compiler.variable_out = OBJECTS
218 iwmmxt_compiler.name = compiling[iwmmxt] ${QMAKE_FILE_IN}
219 silent:iwmmxt_compiler.commands = @echo compiling[iwmmxt] ${QMAKE_FILE_IN} && $$iwmmxt_compiler.commands
220 QMAKE_EXTRA_COMPILERS += iwmmxt_compiler
223 mmx: SOURCES += $$MMX_SOURCES
224 3dnow: SOURCES += $$MMX3DNOW_SOURCES
225 3dnow:sse: SOURCES += $$SSE3DNOW_SOURCES
226 sse: SOURCES += $$SSE_SOURCES
227 sse2: SOURCES += $$SSE2_SOURCES
228 ssse3: SOURCES += $$SSSE3_SOURCES
229 iwmmxt: SOURCES += $$IWMMXT_SOURCES