0e21505f051479279d5cb399c1a9bc5ea5d1f5f2
[WebKit-https.git] / WebCore / WebCore.pro
1 # WebCore - qmake build info
2 CONFIG += building-libs
3 CONFIG += depend_includepath
4 include($$PWD/../WebKit.pri)
5
6 TEMPLATE = lib
7 TARGET = QtWebKit
8
9 contains(QT_CONFIG, embedded):CONFIG += embedded
10
11 CONFIG(QTDIR_build) {
12     GENERATED_SOURCES_DIR = $$PWD/generated
13     include($$QT_SOURCE_TREE/src/qbase.pri)
14     !win32-msvc*: CONFIG -= create_prl
15     PRECOMPILED_HEADER = $$PWD/../WebKit/qt/WebKit_pch.h
16     DEFINES *= NDEBUG
17 }
18
19 isEmpty(GENERATED_SOURCES_DIR):GENERATED_SOURCES_DIR = tmp
20 GENERATED_SOURCES_DIR_SLASH = $$GENERATED_SOURCES_DIR/
21 win32-*: GENERATED_SOURCES_DIR_SLASH ~= s|/|\|
22
23 !CONFIG(QTDIR_build) {
24      OBJECTS_DIR = tmp
25      DESTDIR = $$OUTPUT_DIR/lib
26 }
27
28 include($$OUTPUT_DIR/config.pri)
29
30 CONFIG -= warn_on
31 *-g++*:QMAKE_CXXFLAGS += -Wreturn-type -fno-strict-aliasing
32 #QMAKE_CXXFLAGS += -Wall -Wno-undef -Wno-unused-parameter
33
34 CONFIG(release):!CONFIG(QTDIR_build) {
35     contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
36     unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions
37 }
38
39 linux-*: DEFINES += HAVE_STDINT_H
40 freebsd-*: DEFINES += HAVE_PTHREAD_NP_H
41
42 # PRE-BUILD: make the required config.h file
43 #config_h.target = config.h
44 #config_h.commands = cp config.h.qmake config.h
45 #config_h.depends = config.h.qmake
46 #QMAKE_EXTRA_TARGETS += config_h
47 #PRE_TARGETDEPS += config.h
48
49 DEFINES += BUILD_WEBKIT
50
51 !CONFIG(QTDIR_build):win32-*: DEFINES += ENABLE_ICONDATABASE=0 ENABLE_DATABASE=0
52 win32-*: DEFINES += _HAS_TR1=0
53
54 # Pick up 3rdparty libraries from INCLUDE/LIB just like with MSVC
55 win32-g++ {
56     TMPPATH            = $$quote($$(INCLUDE))
57     QMAKE_INCDIR_POST += $$split(TMPPATH,";")
58     TMPPATH            = $$quote($$(LIB))
59     QMAKE_LIBDIR_POST += $$split(TMPPATH,";")
60 }
61
62 # Optional components (look for defs in config.h and included files!)
63 !contains(DEFINES, ENABLE_DASHBOARD_SUPPORT=.): DEFINES += ENABLE_DASHBOARD_SUPPORT=0
64 !contains(DEFINES, ENABLE_DATABASE=.): DEFINES += ENABLE_DATABASE=1
65 !contains(DEFINES, ENABLE_ICONDATABASE=.): DEFINES += ENABLE_ICONDATABASE=1
66 !contains(DEFINES, ENABLE_XPATH=.): DEFINES += ENABLE_XPATH=1
67 #!contains(DEFINES, ENABLE_XBL=.): DEFINES += ENABLE_XBL=1
68 !contains(DEFINES, ENABLE_SVG=.): DEFINES += ENABLE_SVG=1
69 #!contains(DEFINES, ENABLE_SVG_FONTS=.): DEFINES += ENABLE_SVG_FONTS=1
70 !contains(DEFINES, ENABLE_SVG_FILTERS=.): DEFINES += ENABLE_SVG_FILTERS=1
71 !contains(DEFINES, ENABLE_SVG_FOREIGN_OBJECT=.): DEFINES += ENABLE_SVG_FOREIGN_OBJECT=1
72 !contains(DEFINES, ENABLE_SVG_ANIMATION=.): DEFINES += ENABLE_SVG_ANIMATION=1
73 !contains(DEFINES, ENABLE_SVG_AS_IMAGE=.): DEFINES += ENABLE_SVG_AS_IMAGE=1
74 !contains(DEFINES, ENABLE_SVG_USE=.): DEFINES += ENABLE_SVG_USE=1
75 contains(QT_CONFIG, phonon):DEFINES += ENABLE_VIDEO=1
76 else:DEFINES += ENABLE_VIDEO=0
77
78 unix|win32-*:!mac:!embedded:!wince*:!symbian {
79     DEFINES += ENABLE_NETSCAPE_PLUGIN_API=1
80     unix: DEFINES += XP_UNIX
81 } else {
82     DEFINES += ENABLE_NETSCAPE_PLUGIN_API=0
83 }
84
85 DEFINES += WTF_USE_JAVASCRIPTCORE_BINDINGS=1 WTF_CHANGES=1
86
87 INCLUDEPATH += $$PWD $$PWD/../JavaScriptCore $$PWD/../JavaScriptCore/ForwardingHeaders \
88                $$PWD/../JavaScriptCore/VM \
89                $$PWD/../JavaScriptCore/debugger \
90                $$PWD/../JavaScriptCore/parser \
91                $$PWD/../JavaScriptCore/runtime \
92                $$PWD/../JavaScriptCore/bindings \
93                $$PWD/../JavaScriptCore/wtf
94
95 contains(CONFIG, debug_and_release_target) {
96     CONFIG(debug, debug|release) {
97         LIBS += -L../JavaScriptCore/debug
98     } else {
99         LIBS += -L../JavaScriptCore/release
100     }
101 } else {
102     LIBS += -L../JavaScriptCore
103 }
104
105 unset(JSCORE_LINKAGE)
106 CONFIG(QTDIR_build) {
107     if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
108         win32:JSCORE_LINKAGE = -lJavaScriptCored
109         mac:JSCORE_LINKAGE = -lJavaScriptCore_debug
110     }
111 }
112 isEmpty(JSCORE_LINKAGE):JSCORE_LINKAGE += -lJavaScriptCore
113 LIBS += $$JSCORE_LINKAGE
114
115 RESOURCES += \
116     $$PWD/../WebCore/inspector/front-end/WebKit.qrc \
117     $$PWD/../WebCore/Resources/WebKitResources.qrc \
118     $$PWD/../WebCore/platform/qt/WebCoreResources.qrc
119 INCLUDEPATH += \
120     $$PWD/platform/qt \
121     $$PWD/platform/network/qt \
122     $$PWD/platform/graphics/filters \
123     $$PWD/platform/graphics/qt \
124     $$PWD/svg/graphics/qt \
125     $$PWD/loader \
126     $$PWD/page/qt \
127     $$PWD/../WebKit/qt/WebCoreSupport \
128     $$PWD/../WebKit/qt/Api \
129     $$PWD/bridge/qt
130
131 # Make sure storage/ appears before JavaScriptCore/. Both provide LocalStorage.h
132 # but the header from the former include path is included across directories while
133 # LocalStorage.h is included only from files within the same directory
134 INCLUDEPATH = $$PWD/storage $$INCLUDEPATH
135
136 INCLUDEPATH +=  $$PWD \
137                 $$PWD/ForwardingHeaders \
138                 $$PWD/.. \
139                 $$PWD/platform \
140                 $$PWD/platform/network \
141                 $$PWD/platform/graphics \
142                 $$PWD/svg/animation \
143                 $$PWD/svg/graphics \
144                 $$PWD/svg/graphics/filters \
145                 $$PWD/platform/sql \
146                 $$PWD/platform/text \
147                 $$PWD/loader \
148                 $$PWD/loader/appcache \
149                 $$PWD/loader/archive \
150                 $$PWD/loader/icon \
151                 $$PWD/css \
152                 $$PWD/dom \
153                 $$PWD/page \
154                 $$PWD/page/animation \
155                 $$PWD/bridge \
156                 $$PWD/editing \
157                 $$PWD/rendering \
158                 $$PWD/rendering/style \
159                 $$PWD/history \
160                 $$PWD/inspector \
161                 $$PWD/xml \
162                 $$PWD/html \
163                 $$PWD/bindings/js \
164                 $$PWD/svg \
165                 $$PWD/platform/image-decoders \
166                 $$PWD/plugins \
167                 $$PWD/bridge \
168                 $$PWD/bridge/c \
169                 $$PWD/bridge/qt \
170                 $$GENERATED_SOURCES_DIR
171
172 QT += network
173 lessThan(QT_MINOR_VERSION, 4): QT += xml
174
175 QMAKE_EXTRA_TARGETS += generated_files
176
177 FEATURE_DEFINES_JAVASCRIPT = LANGUAGE_JAVASCRIPT=1
178
179 TOKENIZER = $$PWD/css/tokenizer.flex
180
181 DOCTYPESTRINGS = $$PWD/html/DocTypeStrings.gperf
182
183 CSSBISON = $$PWD/css/CSSGrammar.y
184
185 HTML_NAMES = $$PWD/html/HTMLTagNames.in
186
187 XML_NAMES = $$PWD/xml/xmlattrs.in
188
189 ENTITIES_GPERF = $$PWD/html/HTMLEntityNames.gperf
190
191 COLORDAT_GPERF = $$PWD/platform/ColorData.gperf
192
193 WALDOCSSPROPS = $$PWD/css/CSSPropertyNames.in
194
195 WALDOCSSVALUES = $$PWD/css/CSSValueKeywords.in
196
197 DASHBOARDSUPPORTCSSPROPERTIES = $$PWD/css/DashboardSupportCSSPropertyNames.in
198
199 SVGCSSPROPERTIES = $$PWD/css/SVGCSSPropertyNames.in
200
201 SVGCSSVALUES = $$PWD/css/SVGCSSValueKeywords.in
202
203 STYLESHEETS_EMBED = $$PWD/css/html4.css
204
205 LUT_FILES += \
206     bindings/js/JSDOMWindowBase.cpp \
207     bindings/js/JSRGBColor.cpp
208
209 IDL_BINDINGS += \
210     css/Counter.idl \
211     css/CSSCharsetRule.idl \
212     css/CSSFontFaceRule.idl \
213     css/CSSImportRule.idl \
214     css/CSSMediaRule.idl \
215     css/CSSPageRule.idl \
216     css/CSSPrimitiveValue.idl \
217     css/CSSRule.idl \
218     css/CSSRuleList.idl \
219     css/CSSStyleDeclaration.idl \
220     css/CSSStyleRule.idl \
221     css/CSSStyleSheet.idl \
222     css/CSSValue.idl \
223     css/CSSValueList.idl \
224     css/CSSVariablesDeclaration.idl \
225     css/CSSVariablesRule.idl \
226     css/MediaList.idl \
227     css/Rect.idl \
228     css/StyleSheet.idl \
229     css/StyleSheetList.idl \
230     css/WebKitCSSKeyframeRule.idl \
231     css/WebKitCSSKeyframesRule.idl \
232     css/WebKitCSSTransformValue.idl \
233     dom/Attr.idl \
234     dom/CharacterData.idl \
235     dom/Clipboard.idl \
236     dom/CDATASection.idl \
237     dom/Comment.idl \
238     dom/DocumentFragment.idl \
239     dom/Document.idl \
240     dom/DocumentType.idl \
241     dom/DOMCoreException.idl \
242     dom/DOMImplementation.idl \
243     dom/Element.idl \
244     dom/Entity.idl \
245     dom/EntityReference.idl \
246     dom/Event.idl \
247     dom/EventException.idl \
248 #    dom/EventListener.idl \
249 #    dom/EventTarget.idl \
250     dom/EventTargetNode.idl \
251     dom/KeyboardEvent.idl \
252     dom/MouseEvent.idl \
253     dom/MessageChannel.idl \
254     dom/MessageEvent.idl \
255     dom/MessagePort.idl \
256     dom/MutationEvent.idl \
257     dom/NamedNodeMap.idl \
258     dom/Node.idl \
259     dom/NodeFilter.idl \
260     dom/NodeIterator.idl \
261     dom/NodeList.idl \
262     dom/Notation.idl \
263     dom/OverflowEvent.idl \
264     dom/ProcessingInstruction.idl \
265     dom/ProgressEvent.idl \
266     dom/RangeException.idl \
267     dom/Range.idl \
268     dom/Text.idl \
269     dom/TextEvent.idl \
270     dom/TreeWalker.idl \
271     dom/UIEvent.idl \
272     dom/WebKitAnimationEvent.idl \
273     dom/WebKitTransitionEvent.idl \
274     dom/WheelEvent.idl \
275     html/CanvasGradient.idl \
276     html/CanvasPattern.idl \
277     html/CanvasPixelArray.idl \
278     html/CanvasRenderingContext2D.idl \
279     html/File.idl \
280     html/FileList.idl \
281     html/HTMLAnchorElement.idl \
282     html/HTMLAppletElement.idl \
283     html/HTMLAreaElement.idl \
284     html/HTMLBaseElement.idl \
285     html/HTMLBaseFontElement.idl \
286     html/HTMLBlockquoteElement.idl \
287     html/HTMLBodyElement.idl \
288     html/HTMLBRElement.idl \
289     html/HTMLButtonElement.idl \
290     html/HTMLCanvasElement.idl \
291     html/HTMLCollection.idl \
292     html/HTMLDirectoryElement.idl \
293     html/HTMLDivElement.idl \
294     html/HTMLDListElement.idl \
295     html/HTMLDocument.idl \
296     html/HTMLElement.idl \
297     html/HTMLEmbedElement.idl \
298     html/HTMLFieldSetElement.idl \
299     html/HTMLFontElement.idl \
300     html/HTMLFormElement.idl \
301     html/HTMLFrameElement.idl \
302     html/HTMLFrameSetElement.idl \
303     html/HTMLHeadElement.idl \
304     html/HTMLHeadingElement.idl \
305     html/HTMLHRElement.idl \
306     html/HTMLHtmlElement.idl \
307     html/HTMLIFrameElement.idl \
308     html/HTMLImageElement.idl \
309     html/HTMLInputElement.idl \
310     html/HTMLIsIndexElement.idl \
311     html/HTMLLabelElement.idl \
312     html/HTMLLegendElement.idl \
313     html/HTMLLIElement.idl \
314     html/HTMLLinkElement.idl \
315     html/HTMLMapElement.idl \
316     html/HTMLMarqueeElement.idl \
317     html/HTMLMenuElement.idl \
318     html/HTMLMetaElement.idl \
319     html/HTMLModElement.idl \
320     html/HTMLObjectElement.idl \
321     html/HTMLOListElement.idl \
322     html/HTMLOptGroupElement.idl \
323     html/HTMLOptionElement.idl \
324     html/HTMLOptionsCollection.idl \
325     html/HTMLParagraphElement.idl \
326     html/HTMLParamElement.idl \
327     html/HTMLPreElement.idl \
328     html/HTMLQuoteElement.idl \
329     html/HTMLScriptElement.idl \
330     html/HTMLSelectElement.idl \
331     html/HTMLStyleElement.idl \
332     html/HTMLTableCaptionElement.idl \
333     html/HTMLTableCellElement.idl \
334     html/HTMLTableColElement.idl \
335     html/HTMLTableElement.idl \
336     html/HTMLTableRowElement.idl \
337     html/HTMLTableSectionElement.idl \
338     html/HTMLTextAreaElement.idl \
339     html/HTMLTitleElement.idl \
340     html/HTMLUListElement.idl \
341     html/ImageData.idl \
342     html/TextMetrics.idl \
343     inspector/JavaScriptCallFrame.idl \
344     page/BarInfo.idl \
345     page/Console.idl \
346     page/DOMSelection.idl \
347     page/DOMWindow.idl \
348     page/Geolocation.idl \
349     page/Geoposition.idl \
350     page/History.idl \
351     page/Location.idl \
352     page/Navigator.idl \
353     page/PositionError.idl \
354     page/PositionOptions.idl \
355     page/Screen.idl \
356     plugins/Plugin.idl \
357     plugins/MimeType.idl \
358     plugins/PluginArray.idl \
359     plugins/MimeTypeArray.idl \
360     xml/DOMParser.idl \
361     xml/XMLHttpRequest.idl \
362     xml/XMLHttpRequestException.idl \
363     xml/XMLHttpRequestProgressEvent.idl \
364     xml/XMLHttpRequestUpload.idl \
365     xml/XMLSerializer.idl \
366     xml/XSLTProcessor.idl
367
368
369 SOURCES += \
370     bindings/js/GCController.cpp \
371     bindings/js/JSAttrCustom.cpp \
372     bindings/js/JSCanvasRenderingContext2DCustom.cpp \
373     bindings/js/JSClipboardCustom.cpp \
374     bindings/js/JSConsoleCustom.cpp \
375     bindings/js/JSCSSRuleCustom.cpp \
376     bindings/js/JSCSSStyleDeclarationCustom.cpp \
377     bindings/js/JSCSSValueCustom.cpp \
378     bindings/js/JSCustomPositionCallback.cpp \
379     bindings/js/JSCustomPositionErrorCallback.cpp \
380     bindings/js/JSCustomVoidCallback.cpp \
381     bindings/js/JSCustomXPathNSResolver.cpp \
382     bindings/js/JSDocumentCustom.cpp \
383     bindings/js/JSDocumentFragmentCustom.cpp \
384     bindings/js/JSDOMGlobalObject.cpp \
385     bindings/js/JSDOMWindowBase.cpp \
386     bindings/js/JSDOMWindowCustom.cpp \
387     bindings/js/JSDOMWindowShell.cpp \
388     bindings/js/JSElementCustom.cpp \
389     bindings/js/JSEventCustom.cpp \
390     bindings/js/JSEventTarget.cpp \
391     bindings/js/JSEventTargetNodeCustom.cpp \
392     bindings/js/JSGeolocationCustom.cpp \
393     bindings/js/JSHTMLAllCollection.cpp \
394     bindings/js/JSHistoryCustom.cpp \
395     bindings/js/JSJavaScriptCallFrameCustom.cpp \
396     bindings/js/JSHTMLAppletElementCustom.cpp \
397     bindings/js/JSHTMLCollectionCustom.cpp \
398     bindings/js/JSHTMLDocumentCustom.cpp \
399     bindings/js/JSHTMLElementCustom.cpp \
400     bindings/js/JSHTMLEmbedElementCustom.cpp \
401     bindings/js/JSHTMLFormElementCustom.cpp \
402     bindings/js/JSHTMLFrameElementCustom.cpp \
403     bindings/js/JSHTMLFrameSetElementCustom.cpp \
404     bindings/js/JSHTMLIFrameElementCustom.cpp \
405     bindings/js/JSHTMLInputElementCustom.cpp \
406     bindings/js/JSHTMLObjectElementCustom.cpp \
407     bindings/js/JSHTMLOptionsCollectionCustom.cpp \
408     bindings/js/JSHTMLSelectElementCustom.cpp \
409     bindings/js/JSImageConstructor.cpp \
410     bindings/js/JSImageDataCustom.cpp \
411     bindings/js/JSInspectedObjectWrapper.cpp \
412     bindings/js/JSInspectorCallbackWrapper.cpp \
413     bindings/js/JSLocationCustom.cpp \
414     bindings/js/JSNamedNodeMapCustom.cpp \
415     bindings/js/JSNamedNodesCollection.cpp  \
416     bindings/js/JSNavigatorCustom.cpp  \
417     bindings/js/JSNodeCustom.cpp \
418     bindings/js/JSNodeFilterCondition.cpp \
419     bindings/js/JSNodeFilterCustom.cpp \
420     bindings/js/JSNodeIteratorCustom.cpp \
421     bindings/js/JSNodeListCustom.cpp \
422     bindings/js/JSOptionConstructor.cpp \
423     bindings/js/JSQuarantinedObjectWrapper.cpp \
424     bindings/js/JSRGBColor.cpp \
425     bindings/js/JSStyleSheetCustom.cpp \
426     bindings/js/JSStyleSheetListCustom.cpp \
427     bindings/js/JSTreeWalkerCustom.cpp \
428     bindings/js/JSXMLHttpRequestConstructor.cpp \
429     bindings/js/JSXMLHttpRequestCustom.cpp \
430     bindings/js/JSXMLHttpRequestUploadCustom.cpp \
431     bindings/js/JSXSLTProcessorConstructor.cpp \
432     bindings/js/JSXSLTProcessorCustom.cpp \
433     bindings/js/JSPluginCustom.cpp \
434     bindings/js/JSPluginArrayCustom.cpp \
435     bindings/js/JSMessageChannelConstructor.cpp \
436     bindings/js/JSMessageChannelCustom.cpp \
437     bindings/js/JSMessagePortCustom.cpp \
438     bindings/js/JSMimeTypeArrayCustom.cpp \
439     bindings/js/JSDOMBinding.cpp \
440     bindings/js/JSEventListener.cpp \
441     bindings/js/JSPluginElementFunctions.cpp \
442     bindings/js/ScriptController.cpp \
443     bindings/js/PausedTimeouts.cpp \
444     bindings/js/ScheduledAction.cpp \
445     bridge/NP_jsobject.cpp \
446     bridge/npruntime.cpp \
447     bridge/runtime_array.cpp \
448     bridge/runtime.cpp \
449     bridge/runtime_method.cpp \
450     bridge/runtime_object.cpp \
451     bridge/runtime_root.cpp \
452     bridge/c/c_class.cpp \
453     bridge/c/c_instance.cpp \
454     bridge/c/c_runtime.cpp \
455     bridge/c/c_utility.cpp \
456     css/CSSBorderImageValue.cpp \
457     css/CSSCanvasValue.cpp \
458     css/CSSCharsetRule.cpp \
459     css/CSSComputedStyleDeclaration.cpp \
460     css/CSSCursorImageValue.cpp \
461     css/CSSFontFace.cpp \
462     css/CSSFontFaceRule.cpp \
463     css/CSSFontFaceSrcValue.cpp \
464     css/CSSFontSelector.cpp \
465     css/CSSFontFaceSource.cpp \
466     css/CSSFunctionValue.cpp \
467     css/CSSGradientValue.cpp \
468     css/CSSHelper.cpp \
469     css/CSSImageValue.cpp \
470     css/CSSImageGeneratorValue.cpp \
471     css/CSSImportRule.cpp \
472     css/CSSInheritedValue.cpp \
473     css/CSSInitialValue.cpp \
474     css/CSSMediaRule.cpp \
475     css/CSSMutableStyleDeclaration.cpp \
476     css/CSSNthSelector.cpp \
477     css/CSSPageRule.cpp \
478     css/CSSParser.cpp \
479     css/CSSParserValues.cpp \
480     css/CSSPrimitiveValue.cpp \
481     css/CSSProperty.cpp \
482     css/CSSReflectValue.cpp \
483     css/CSSRule.cpp \
484     css/CSSRuleList.cpp \
485     css/CSSSelector.cpp \
486     css/CSSSegmentedFontFace.cpp \
487     css/CSSStyleDeclaration.cpp \
488     css/CSSStyleRule.cpp \
489     css/CSSStyleSelector.cpp \
490     css/CSSStyleSheet.cpp \
491     css/CSSTimingFunctionValue.cpp \
492     css/CSSUnicodeRangeValue.cpp \
493     css/CSSValueList.cpp \
494     css/CSSVariableDependentValue.cpp \
495     css/CSSVariablesDeclaration.cpp \
496     css/CSSVariablesRule.cpp \
497     css/FontFamilyValue.cpp \
498     css/FontValue.cpp \
499     css/MediaFeatureNames.cpp \
500     css/MediaList.cpp \
501     css/MediaQuery.cpp \
502     css/MediaQueryEvaluator.cpp \
503     css/MediaQueryExp.cpp \
504     css/ShadowValue.cpp \
505     css/StyleBase.cpp \
506     css/StyleList.cpp \
507     css/StyleSheet.cpp \
508     css/StyleSheetList.cpp \
509     css/WebKitCSSKeyframeRule.cpp \
510     css/WebKitCSSKeyframesRule.cpp \
511     css/WebKitCSSTransformValue.cpp \
512     dom/ActiveDOMObject.cpp \
513     dom/Attr.cpp \
514     dom/Attribute.cpp \
515     dom/BeforeTextInsertedEvent.cpp \
516     dom/BeforeUnloadEvent.cpp \
517     dom/CDATASection.cpp \
518     dom/CharacterData.cpp \
519     dom/ChildNodeList.cpp \
520     dom/ClassNames.cpp \
521     dom/ClassNodeList.cpp \
522     dom/Clipboard.cpp \
523     dom/ClipboardEvent.cpp \
524     dom/Comment.cpp \
525     dom/ContainerNode.cpp \
526     dom/CSSMappedAttributeDeclaration.cpp \
527     dom/Document.cpp \
528     dom/DocumentFragment.cpp \
529     dom/DocumentType.cpp \
530     dom/DOMImplementation.cpp \
531     dom/DynamicNodeList.cpp \
532     dom/EditingText.cpp \
533     dom/Element.cpp \
534     dom/Entity.cpp \
535     dom/EntityReference.cpp \
536     dom/Event.cpp \
537     dom/EventNames.cpp \
538     dom/EventTarget.cpp \
539     dom/EventTargetNode.cpp \
540     dom/ExceptionBase.cpp \
541     dom/ExceptionCode.cpp \
542     dom/KeyboardEvent.cpp \
543     dom/MappedAttribute.cpp \
544     dom/MessageChannel.cpp \
545     dom/MessageEvent.cpp \
546     dom/MessagePort.cpp \
547     dom/MouseEvent.cpp \
548     dom/MouseRelatedEvent.cpp \
549     dom/MutationEvent.cpp \
550     dom/NamedAttrMap.cpp \
551     dom/NamedMappedAttrMap.cpp \
552     dom/NameNodeList.cpp \
553     dom/Node.cpp \
554     dom/NodeFilterCondition.cpp \
555     dom/NodeFilter.cpp \
556     dom/NodeIterator.cpp \
557     dom/Notation.cpp \
558     dom/OverflowEvent.cpp \
559     dom/Position.cpp \
560     dom/PositionIterator.cpp \
561     dom/ProcessingInstruction.cpp \
562     dom/ProgressEvent.cpp \
563     dom/QualifiedName.cpp \
564     dom/Range.cpp \
565     dom/RegisteredEventListener.cpp \
566     dom/ScriptElement.cpp \
567     dom/ScriptExecutionContext.cpp \
568     dom/SelectorNodeList.cpp \
569     dom/StaticNodeList.cpp \
570     dom/StyledElement.cpp \
571     dom/StyleElement.cpp \
572     dom/TagNodeList.cpp \
573     dom/Text.cpp \
574     dom/TextEvent.cpp \
575     dom/Traversal.cpp \
576     dom/TreeWalker.cpp \
577     dom/UIEvent.cpp \
578     dom/UIEventWithKeyState.cpp \
579     dom/WebKitAnimationEvent.cpp \
580     dom/WebKitTransitionEvent.cpp \
581     dom/WheelEvent.cpp \
582     dom/XMLTokenizer.cpp \
583     dom/XMLTokenizerQt.cpp \
584     editing/AppendNodeCommand.cpp \
585     editing/ApplyStyleCommand.cpp \
586     editing/BreakBlockquoteCommand.cpp \
587     editing/CompositeEditCommand.cpp \
588     editing/CreateLinkCommand.cpp \
589     editing/DeleteButtonController.cpp \
590     editing/DeleteButton.cpp \
591     editing/DeleteFromTextNodeCommand.cpp \
592     editing/DeleteSelectionCommand.cpp \
593     editing/EditCommand.cpp \
594     editing/Editor.cpp \
595     editing/EditorCommand.cpp \
596     editing/FormatBlockCommand.cpp \
597     editing/htmlediting.cpp \
598     editing/HTMLInterchange.cpp \
599     editing/IndentOutdentCommand.cpp \
600     editing/InsertIntoTextNodeCommand.cpp \
601     editing/InsertLineBreakCommand.cpp \
602     editing/InsertListCommand.cpp \
603     editing/InsertNodeBeforeCommand.cpp \
604     editing/InsertParagraphSeparatorCommand.cpp \
605     editing/InsertTextCommand.cpp \
606     editing/JoinTextNodesCommand.cpp \
607     editing/markup.cpp \
608     editing/MergeIdenticalElementsCommand.cpp \
609     editing/ModifySelectionListLevel.cpp \
610     editing/MoveSelectionCommand.cpp \
611     editing/RemoveCSSPropertyCommand.cpp \
612     editing/RemoveFormatCommand.cpp \
613     editing/RemoveNodeAttributeCommand.cpp \
614     editing/RemoveNodeCommand.cpp \
615     editing/RemoveNodePreservingChildrenCommand.cpp \
616     editing/ReplaceSelectionCommand.cpp \
617     editing/SelectionController.cpp \
618     editing/Selection.cpp \
619     editing/SetNodeAttributeCommand.cpp \
620     editing/SmartReplace.cpp \
621     editing/SmartReplaceICU.cpp \
622     editing/SplitElementCommand.cpp \
623     editing/SplitTextNodeCommand.cpp \
624     editing/SplitTextNodeContainingElementCommand.cpp \
625     editing/TextIterator.cpp \
626     editing/TypingCommand.cpp \
627     editing/UnlinkCommand.cpp \
628     editing/VisiblePosition.cpp \
629     editing/visible_units.cpp \
630     editing/WrapContentsInDummySpanCommand.cpp \
631     history/BackForwardList.cpp \
632     history/CachedPage.cpp \
633     history/HistoryItem.cpp \
634     history/PageCache.cpp \
635     html/CanvasGradient.cpp \
636     html/CanvasPattern.cpp \
637     html/CanvasPixelArray.cpp \
638     html/CanvasRenderingContext2D.cpp \
639     html/CanvasStyle.cpp \
640     html/File.cpp \
641     html/FileList.cpp \
642     html/FormDataList.cpp \
643     html/HTMLAnchorElement.cpp \
644     html/HTMLAppletElement.cpp \
645     html/HTMLAreaElement.cpp \
646     html/HTMLBaseElement.cpp \
647     html/HTMLBaseFontElement.cpp \
648     html/HTMLBlockquoteElement.cpp \
649     html/HTMLBodyElement.cpp \
650     html/HTMLBRElement.cpp \
651     html/HTMLButtonElement.cpp \
652     html/HTMLCanvasElement.cpp \
653     html/HTMLCollection.cpp \
654     html/HTMLDirectoryElement.cpp \
655     html/HTMLDivElement.cpp \
656     html/HTMLDListElement.cpp \
657     html/HTMLDocument.cpp \
658     html/HTMLElement.cpp \
659     html/HTMLElementFactory.cpp \
660     html/HTMLEmbedElement.cpp \
661     html/HTMLFieldSetElement.cpp \
662     html/HTMLFontElement.cpp \
663     html/HTMLFormCollection.cpp \
664     html/HTMLFormElement.cpp \
665     html/HTMLFrameElementBase.cpp \
666     html/HTMLFrameElement.cpp \
667     html/HTMLFrameOwnerElement.cpp \
668     html/HTMLFrameSetElement.cpp \
669     html/HTMLFormControlElement.cpp \
670     html/HTMLHeadElement.cpp \
671     html/HTMLHeadingElement.cpp \
672     html/HTMLHRElement.cpp \
673     html/HTMLHtmlElement.cpp \
674     html/HTMLIFrameElement.cpp \
675     html/HTMLImageElement.cpp \
676     html/HTMLImageLoader.cpp \
677     html/HTMLInputElement.cpp \
678     html/HTMLIsIndexElement.cpp \
679     html/HTMLKeygenElement.cpp \
680     html/HTMLLabelElement.cpp \
681     html/HTMLLegendElement.cpp \
682     html/HTMLLIElement.cpp \
683     html/HTMLLinkElement.cpp \
684     html/HTMLMapElement.cpp \
685     html/HTMLMarqueeElement.cpp \
686     html/HTMLMenuElement.cpp \
687     html/HTMLMetaElement.cpp \
688     html/HTMLModElement.cpp \
689     html/HTMLNameCollection.cpp \
690     html/HTMLObjectElement.cpp \
691     html/HTMLOListElement.cpp \
692     html/HTMLOptGroupElement.cpp \
693     html/HTMLOptionElement.cpp \
694     html/HTMLOptionsCollection.cpp \
695     html/HTMLParagraphElement.cpp \
696     html/HTMLParamElement.cpp \
697     html/HTMLParser.cpp \
698     html/HTMLParserErrorCodes.cpp \
699     html/HTMLPlugInElement.cpp \
700     html/HTMLPlugInImageElement.cpp \
701     html/HTMLPreElement.cpp \
702     html/HTMLQuoteElement.cpp \
703     html/HTMLScriptElement.cpp \
704     html/HTMLSelectElement.cpp \
705     html/HTMLStyleElement.cpp \
706     html/HTMLTableCaptionElement.cpp \
707     html/HTMLTableCellElement.cpp \
708     html/HTMLTableColElement.cpp \
709     html/HTMLTableElement.cpp \
710     html/HTMLTablePartElement.cpp \
711     html/HTMLTableRowElement.cpp \
712     html/HTMLTableRowsCollection.cpp \
713     html/HTMLTableSectionElement.cpp \
714     html/HTMLTextAreaElement.cpp \
715     html/HTMLTitleElement.cpp \
716     html/HTMLTokenizer.cpp \
717     html/HTMLUListElement.cpp \
718     html/HTMLViewSourceDocument.cpp \
719     html/ImageData.cpp \
720     html/PreloadScanner.cpp \
721     inspector/InspectorController.cpp \
722     inspector/JavaScriptCallFrame.cpp \
723     inspector/JavaScriptDebugServer.cpp \
724     inspector/JavaScriptProfile.cpp \
725     inspector/JavaScriptProfileNode.cpp \
726     loader/archive/ArchiveFactory.cpp \
727     loader/archive/ArchiveResource.cpp \
728     loader/archive/ArchiveResourceCollection.cpp \
729     loader/UserStyleSheetLoader.cpp \
730     loader/Cache.cpp \
731     loader/CachedCSSStyleSheet.cpp \
732     loader/CachedFont.cpp \
733     loader/CachedImage.cpp \
734     loader/CachedResourceClientWalker.cpp \
735     loader/CachedResourceHandle.cpp \
736     loader/CachedResource.cpp \
737     loader/CachedScript.cpp \
738     loader/CachedXSLStyleSheet.cpp \
739     loader/DocLoader.cpp \
740     loader/DocumentLoader.cpp \
741     loader/FormState.cpp \
742     loader/FrameLoader.cpp \
743     loader/FTPDirectoryDocument.cpp \
744     loader/FTPDirectoryParser.cpp \
745     loader/icon/IconLoader.cpp \
746     loader/ImageDocument.cpp \
747     loader/ImageLoader.cpp \
748     loader/loader.cpp \
749     loader/MainResourceLoader.cpp \
750     loader/MediaDocument.cpp \
751     loader/NavigationAction.cpp \
752     loader/NetscapePlugInStreamLoader.cpp \
753     loader/PluginDocument.cpp \
754     loader/ProgressTracker.cpp \
755     loader/Request.cpp \
756     loader/ResourceLoader.cpp \
757     loader/SubresourceLoader.cpp \
758     loader/TextDocument.cpp \
759     loader/TextResourceDecoder.cpp \
760     page/AccessibilityImageMapLink.cpp \
761     page/AccessibilityObject.cpp \    
762     page/AccessibilityList.cpp \    
763     page/AccessibilityListBox.cpp \    
764     page/AccessibilityListBoxOption.cpp \    
765     page/AccessibilityRenderObject.cpp \    
766     page/AccessibilityTable.cpp \    
767     page/AccessibilityTableCell.cpp \    
768     page/AccessibilityTableColumn.cpp \    
769     page/AccessibilityTableHeaderContainer.cpp \    
770     page/AccessibilityTableRow.cpp \    
771     page/animation/AnimationBase.cpp \
772     page/animation/AnimationController.cpp \
773     page/animation/CompositeAnimation.cpp \
774     page/animation/ImplicitAnimation.cpp \
775     page/animation/KeyframeAnimation.cpp \
776     page/AXObjectCache.cpp \
777     page/BarInfo.cpp \
778     page/Chrome.cpp \
779     page/Console.cpp \
780     page/ContextMenuController.cpp \
781     page/DOMSelection.cpp \
782     page/DOMWindow.cpp \
783     page/Navigator.cpp \
784     page/DragController.cpp \
785     page/EventHandler.cpp \
786     page/FocusController.cpp \
787     page/Frame.cpp \
788     page/FrameTree.cpp \
789     page/FrameView.cpp \
790     page/Geolocation.cpp \
791     page/Geoposition.cpp \
792     page/History.cpp \
793     page/Location.cpp \
794     page/MouseEventWithHitTestResults.cpp \
795     page/Page.cpp \
796     page/PageGroup.cpp \
797     page/PrintContext.cpp \
798     page/SecurityOrigin.cpp \
799     page/Screen.cpp \
800     page/Settings.cpp \
801     page/WindowFeatures.cpp \
802     plugins/PluginData.cpp \
803     plugins/PluginArray.cpp \
804     plugins/Plugin.cpp \
805     plugins/PluginMainThreadScheduler.cpp \
806     plugins/MimeType.cpp \
807     plugins/MimeTypeArray.cpp \
808     platform/Arena.cpp \
809     platform/text/AtomicString.cpp \
810     platform/text/Base64.cpp \
811     platform/text/BidiContext.cpp \
812     platform/ContextMenu.cpp \
813     platform/text/CString.cpp \
814     platform/DeprecatedPtrListImpl.cpp \
815     platform/DeprecatedValueListImpl.cpp \
816     platform/DragData.cpp \
817     platform/DragImage.cpp \
818     platform/FileChooser.cpp \
819     platform/GeolocationService.cpp \
820     platform/graphics/FontDescription.cpp \
821     platform/graphics/FontFamily.cpp \
822     platform/graphics/AffineTransform.cpp \
823     platform/graphics/BitmapImage.cpp \
824     platform/graphics/Color.cpp \
825     platform/graphics/FloatPoint3D.cpp \
826     platform/graphics/FloatPoint.cpp \
827     platform/graphics/FloatQuad.cpp \
828     platform/graphics/FloatRect.cpp \
829     platform/graphics/FloatSize.cpp \
830     platform/graphics/FontData.cpp \
831     platform/graphics/GeneratedImage.cpp \
832     platform/graphics/Gradient.cpp \
833     platform/graphics/GraphicsContext.cpp \
834     platform/graphics/GraphicsTypes.cpp \
835     platform/graphics/Image.cpp \
836     platform/graphics/IntRect.cpp \
837     platform/graphics/Path.cpp \
838     platform/graphics/PathTraversalState.cpp \
839     platform/graphics/Pattern.cpp \
840     platform/graphics/Pen.cpp \
841     platform/graphics/SegmentedFontData.cpp \
842     platform/KURL.cpp \
843     platform/Length.cpp \
844     platform/Logging.cpp \
845     platform/MIMETypeRegistry.cpp \
846     platform/network/AuthenticationChallengeBase.cpp \
847     platform/network/Credential.cpp \
848     platform/network/FormData.cpp \
849     platform/network/HTTPParsers.cpp \
850     platform/network/NetworkStateNotifier.cpp \
851     platform/network/ProtectionSpace.cpp \
852     platform/network/ResourceErrorBase.cpp \
853     platform/network/ResourceHandle.cpp \
854     platform/network/ResourceRequestBase.cpp \
855     platform/network/ResourceResponseBase.cpp \
856     platform/text/RegularExpression.cpp \
857     platform/Scrollbar.cpp \
858     platform/ScrollbarThemeComposite.cpp \
859     platform/ScrollView.cpp \
860 #    platform/SearchPopupMenu.cpp \
861     platform/text/SegmentedString.cpp \
862     platform/SharedBuffer.cpp \
863     platform/text/String.cpp \
864     platform/text/StringBuilder.cpp \
865     platform/text/StringImpl.cpp \
866     platform/text/TextCodec.cpp \
867     platform/text/TextCodecLatin1.cpp \
868     platform/text/TextCodecUserDefined.cpp \
869     platform/text/TextCodecUTF16.cpp \
870     platform/text/TextDecoder.cpp \
871     platform/text/TextEncoding.cpp \
872     platform/text/TextEncodingRegistry.cpp \
873     platform/text/TextStream.cpp \
874     platform/Timer.cpp \
875     platform/text/UnicodeRange.cpp \
876     platform/Widget.cpp \
877     plugins/PluginDatabase.cpp \
878     plugins/PluginInfoStore.cpp \
879     plugins/PluginPackage.cpp \
880     plugins/PluginStream.cpp \
881     plugins/PluginView.cpp \
882     rendering/AutoTableLayout.cpp \
883     rendering/bidi.cpp \
884     rendering/break_lines.cpp \
885     rendering/CounterNode.cpp \
886     rendering/EllipsisBox.cpp \
887     rendering/FixedTableLayout.cpp \
888     rendering/HitTestResult.cpp \
889     rendering/InlineBox.cpp \
890     rendering/InlineFlowBox.cpp \
891     rendering/InlineTextBox.cpp \
892     rendering/LayoutState.cpp \
893     rendering/ListMarkerBox.cpp \
894     rendering/RenderApplet.cpp \
895     rendering/RenderArena.cpp \
896     rendering/RenderBlock.cpp \
897     rendering/RenderBox.cpp \
898     rendering/RenderBR.cpp \
899     rendering/RenderButton.cpp \
900     rendering/RenderContainer.cpp \
901     rendering/RenderCounter.cpp \
902     rendering/RenderFieldset.cpp \
903     rendering/RenderFileUploadControl.cpp \
904     rendering/RenderFlexibleBox.cpp \
905     rendering/RenderFlow.cpp \
906     rendering/RenderFrame.cpp \
907     rendering/RenderFrameSet.cpp \
908     rendering/RenderHTMLCanvas.cpp \
909     rendering/RenderImage.cpp \
910     rendering/RenderImageGeneratedContent.cpp \
911     rendering/RenderInline.cpp \
912     rendering/RenderLayer.cpp \
913     rendering/RenderLegend.cpp \
914     rendering/RenderListBox.cpp \
915     rendering/RenderListItem.cpp \
916     rendering/RenderListMarker.cpp \
917     rendering/RenderMarquee.cpp \
918     rendering/RenderMenuList.cpp \
919     rendering/RenderObject.cpp \
920     rendering/RenderPart.cpp \
921     rendering/RenderPartObject.cpp \
922     rendering/RenderReplaced.cpp \
923     rendering/RenderReplica.cpp \
924     rendering/RenderScrollbar.cpp \
925     rendering/RenderScrollbarPart.cpp \
926     rendering/RenderScrollbarTheme.cpp \
927     rendering/RenderSlider.cpp \
928     rendering/RenderTableCell.cpp \
929     rendering/RenderTableCol.cpp \
930     rendering/RenderTable.cpp \
931     rendering/RenderTableRow.cpp \
932     rendering/RenderTableSection.cpp \
933     rendering/RenderTextControl.cpp \
934     rendering/RenderText.cpp \
935     rendering/RenderTextFragment.cpp \
936     rendering/RenderTheme.cpp \
937     rendering/RenderTreeAsText.cpp \
938     rendering/RenderView.cpp \
939     rendering/RenderWidget.cpp \
940     rendering/RenderWordBreak.cpp \
941     rendering/RootInlineBox.cpp \
942     rendering/SVGRenderTreeAsText.cpp \
943     rendering/TextControlInnerElements.cpp \
944     rendering/style/Animation.cpp \
945     rendering/style/AnimationList.cpp \
946     rendering/style/BindingURI.cpp \
947     rendering/style/ContentData.cpp \
948     rendering/style/CounterDirectives.cpp \
949     rendering/style/CursorData.h \
950     rendering/style/CursorList.h \
951     rendering/style/FillLayer.cpp \
952     rendering/style/KeyframeList.cpp \
953     rendering/style/MatrixTransformOperation.cpp \
954     rendering/style/NinePieceImage.cpp \
955     rendering/style/RenderStyle.cpp \
956     rendering/style/RotateTransformOperation.cpp \
957     rendering/style/ScaleTransformOperation.cpp \
958     rendering/style/ShadowData.cpp \
959     rendering/style/SkewTransformOperation.cpp \
960     rendering/style/StyleBackgroundData.cpp \
961     rendering/style/StyleBoxData.cpp \
962     rendering/style/StyleCachedImage.cpp \
963     rendering/style/StyleFlexibleBoxData.cpp \
964     rendering/style/StyleGeneratedImage.cpp \
965     rendering/style/StyleInheritedData.cpp \
966     rendering/style/StyleInheritedData.h \
967     rendering/style/StyleMarqueeData.cpp \
968     rendering/style/StyleMultiColData.cpp \
969     rendering/style/StyleRareInheritedData.cpp \
970     rendering/style/StyleRareInheritedData.h \
971     rendering/style/StyleRareNonInheritedData.cpp \
972     rendering/style/StyleRareNonInheritedData.h \
973     rendering/style/StyleReflection.h \
974     rendering/style/StyleSurroundData.cpp \
975     rendering/style/StyleTransformData.cpp \
976     rendering/style/StyleVisualData.cpp \
977     rendering/style/TransformOperations.cpp \
978     rendering/style/TranslateTransformOperation.cpp \
979     xml/DOMParser.cpp \
980     xml/NativeXPathNSResolver.cpp \
981     xml/XMLHttpRequest.cpp \
982     xml/XMLHttpRequestUpload.cpp \
983     xml/XMLSerializer.cpp \
984     xml/XPathEvaluator.cpp \
985     xml/XPathExpression.cpp \
986     xml/XPathExpressionNode.cpp \
987     xml/XPathFunctions.cpp \
988     xml/XPathNamespace.cpp \
989     xml/XPathNodeSet.cpp \
990     xml/XPathNSResolver.cpp \
991     xml/XPathParser.cpp \
992     xml/XPathPath.cpp \
993     xml/XPathPredicate.cpp \
994     xml/XPathResult.cpp \
995     xml/XPathStep.cpp \
996     xml/XPathUtil.cpp \
997     xml/XPathValue.cpp \
998     xml/XPathVariableReference.cpp \
999     xml/XSLImportRule.cpp \
1000     xml/XSLStyleSheet.cpp \
1001     xml/XSLTExtensions.cpp \
1002     xml/XSLTUnicodeSort.cpp \
1003     xml/XSLTProcessor.cpp
1004
1005 HEADERS += \
1006     $$PWD/platform/graphics/qt/StillImageQt.h \
1007     $$PWD/platform/qt/QWebPopup.h \
1008     $$PWD/platform/qt/MenuEventProxy.h \
1009     $$PWD/platform/qt/SharedTimerQt.h \
1010     $$PWD/../WebKit/qt/Api/qwebframe.h \
1011     $$PWD/../WebKit/qt/Api/qwebpage.h \
1012     $$PWD/../WebKit/qt/Api/qwebview.h \
1013     $$PWD/../WebKit/qt/Api/qwebhistoryinterface.h \
1014     $$PWD/../WebKit/qt/Api/qwebpluginfactory.h \
1015     $$PWD/../WebKit/qt/WebCoreSupport/FrameLoaderClientQt.h \
1016     $$PWD/platform/network/qt/QNetworkReplyHandler.h
1017
1018 SOURCES += \
1019     bindings/js/ScriptControllerQt.cpp \
1020     bridge/qt/qt_class.cpp \
1021     bridge/qt/qt_instance.cpp \
1022     bridge/qt/qt_runtime.cpp \
1023     page/qt/AccessibilityObjectQt.cpp \
1024     page/qt/DragControllerQt.cpp \
1025     page/qt/EventHandlerQt.cpp \
1026     page/qt/FrameQt.cpp \
1027     platform/graphics/qt/AffineTransformQt.cpp \
1028     platform/graphics/qt/ColorQt.cpp \
1029     platform/graphics/qt/FloatPointQt.cpp \
1030     platform/graphics/qt/FloatRectQt.cpp \
1031     platform/graphics/qt/GradientQt.cpp \
1032     platform/graphics/qt/GraphicsContextQt.cpp \
1033     platform/graphics/qt/IconQt.cpp \
1034     platform/graphics/qt/ImageBufferQt.cpp \
1035     platform/graphics/qt/ImageDecoderQt.cpp \
1036     platform/graphics/qt/ImageQt.cpp \
1037     platform/graphics/qt/ImageSourceQt.cpp \
1038     platform/graphics/qt/IntPointQt.cpp \
1039     platform/graphics/qt/IntRectQt.cpp \
1040     platform/graphics/qt/IntSizeQt.cpp \
1041     platform/graphics/qt/PathQt.cpp \
1042     platform/graphics/qt/PatternQt.cpp \
1043     platform/graphics/qt/StillImageQt.cpp \
1044     platform/network/qt/ResourceHandleQt.cpp \
1045     platform/network/qt/ResourceRequestQt.cpp \
1046     platform/network/qt/QNetworkReplyHandler.cpp \
1047     editing/qt/EditorQt.cpp \
1048     platform/qt/ClipboardQt.cpp \
1049     platform/qt/ContextMenuItemQt.cpp \
1050     platform/qt/ContextMenuQt.cpp \
1051     platform/qt/CookieJarQt.cpp \
1052     platform/qt/CursorQt.cpp \
1053     platform/qt/DragDataQt.cpp \
1054     platform/qt/DragImageQt.cpp \
1055     platform/qt/EventLoopQt.cpp \
1056     platform/qt/FileChooserQt.cpp \
1057     platform/qt/FileSystemQt.cpp \
1058     platform/qt/SharedBufferQt.cpp \
1059     platform/graphics/qt/FontCacheQt.cpp \
1060     platform/graphics/qt/FontCustomPlatformData.cpp \
1061     platform/graphics/qt/FontQt.cpp \
1062     platform/graphics/qt/GlyphPageTreeNodeQt.cpp \
1063     platform/graphics/qt/SimpleFontDataQt.cpp \
1064     platform/qt/KURLQt.cpp \
1065     platform/qt/Localizations.cpp \
1066     platform/qt/MIMETypeRegistryQt.cpp \
1067     platform/qt/PasteboardQt.cpp \
1068     platform/qt/PlatformKeyboardEventQt.cpp \
1069     platform/qt/PlatformMouseEventQt.cpp \
1070     platform/qt/PlatformScreenQt.cpp \
1071     platform/qt/PopupMenuQt.cpp \
1072     platform/qt/QWebPopup.cpp \
1073     platform/qt/RenderThemeQt.cpp \
1074     platform/qt/ScrollbarQt.cpp \
1075     platform/qt/ScrollbarThemeQt.cpp \
1076     platform/qt/ScrollViewQt.cpp \
1077     platform/qt/SearchPopupMenuQt.cpp \
1078     platform/qt/SharedTimerQt.cpp \
1079     platform/qt/SoundQt.cpp \
1080     platform/qt/LoggingQt.cpp \
1081     platform/text/qt/StringQt.cpp \
1082     platform/qt/TemporaryLinkStubs.cpp \
1083     platform/text/qt/TextBoundaries.cpp \
1084     platform/text/qt/TextBreakIteratorQt.cpp \
1085     platform/text/qt/TextCodecQt.cpp \
1086     platform/qt/WheelEventQt.cpp \
1087     platform/qt/WidgetQt.cpp \
1088     plugins/qt/PluginDataQt.cpp \
1089     ../WebKit/qt/WebCoreSupport/ChromeClientQt.cpp \
1090     ../WebKit/qt/WebCoreSupport/ContextMenuClientQt.cpp \
1091     ../WebKit/qt/WebCoreSupport/DragClientQt.cpp \
1092     ../WebKit/qt/WebCoreSupport/EditorClientQt.cpp \
1093     ../WebKit/qt/WebCoreSupport/EditCommandQt.cpp \
1094     ../WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp \
1095     ../WebKit/qt/WebCoreSupport/InspectorClientQt.cpp \
1096     ../WebKit/qt/Api/qwebframe.cpp \
1097     ../WebKit/qt/Api/qwebpage.cpp \
1098     ../WebKit/qt/Api/qwebview.cpp \
1099     ../WebKit/qt/Api/qwebhistory.cpp \
1100     ../WebKit/qt/Api/qwebsettings.cpp \
1101     ../WebKit/qt/Api/qwebhistoryinterface.cpp \
1102     ../WebKit/qt/Api/qwebpluginfactory.cpp
1103
1104     win32-*: SOURCES += platform/win/SystemTimeWin.cpp
1105     else: SOURCES += platform/qt/SystemTimeQt.cpp
1106
1107     win32-* {
1108         LIBS += -lgdi32
1109         LIBS += -luser32
1110         LIBS += -lwinmm
1111     }
1112
1113     # Files belonging to the Qt 4.3 build
1114     lessThan(QT_MINOR_VERSION, 4) {
1115         HEADERS += \
1116             $$PWD/../WebKit/qt/Api/qwebnetworkinterface.h \
1117             $$PWD/../WebKit/qt/Api/qwebnetworkinterface_p.h \
1118             $$PWD/../WebKit/qt/Api/qcookiejar.h
1119
1120         SOURCES += \
1121             ../WebKit/qt/Api/qwebnetworkinterface.cpp \
1122             ../WebKit/qt/Api/qcookiejar.cpp
1123
1124         DEFINES += QT_BEGIN_NAMESPACE="" QT_END_NAMESPACE=""
1125      }
1126
1127 contains(DEFINES, ENABLE_NETSCAPE_PLUGIN_API=1) {
1128
1129         SOURCES += plugins/npapi.cpp
1130
1131         unix:!mac {
1132             SOURCES += \
1133                 plugins/qt/PluginPackageQt.cpp \
1134                 plugins/qt/PluginViewQt.cpp
1135         }
1136
1137         win32-* {
1138             INCLUDEPATH += $$PWD/plugins/win
1139
1140             SOURCES += page/win/PageWin.cpp \
1141                        plugins/win/PluginDatabaseWin.cpp \
1142                        plugins/win/PluginPackageWin.cpp \
1143                        plugins/win/PluginMessageThrottlerWin.cpp \
1144                        plugins/win/PluginViewWin.cpp
1145
1146             LIBS += \
1147                 -ladvapi32 \
1148                 -lgdi32 \
1149                 -lshell32 \
1150                 -lshlwapi \
1151                 -luser32 \
1152                 -lversion
1153         }
1154
1155 }
1156
1157 contains(DEFINES, ENABLE_DASHBOARD_SUPPORT=0) {
1158     DASHBOARDSUPPORTCSSPROPERTIES -= $$PWD/css/DashboardSupportCSSPropertyNames.in
1159 }
1160
1161 contains(DEFINES, ENABLE_DATABASE=1) {
1162     FEATURE_DEFINES_JAVASCRIPT += ENABLE_DATABASE=1
1163
1164     CONFIG(QTDIR_build) {
1165         # some what copied from src/plugins/sqldrivers/sqlite/sqlite.pro
1166         system-sqlite {
1167             LIBS *= $$QT_LFLAGS_SQLITE
1168             QMAKE_CXXFLAGS *= $$QT_CFLAGS_SQLITE
1169         } else {
1170             CONFIG(release, debug|release):DEFINES *= NDEBUG
1171             INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/sqlite/
1172             SOURCES += $$QT_SOURCE_TREE/src/3rdparty/sqlite/sqlite3.c
1173         }
1174     } else {
1175         SQLITE3SRCDIR = $$(SQLITE3SRCDIR)
1176         isEmpty(SQLITE3SRCDIR) {
1177             INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/sqlite/
1178             LIBS += -lsqlite3
1179         } else {
1180             CONFIG(release, debug|release):DEFINES *= NDEBUG
1181             INCLUDEPATH += $${SQLITE3SRCDIR}
1182             SOURCES += $${SQLITE3SRCDIR}/sqlite3.c
1183         }
1184     }
1185
1186     SOURCES += \
1187         platform/sql/SQLiteAuthorizer.cpp \
1188         platform/sql/SQLiteDatabase.cpp \
1189         platform/sql/SQLiteStatement.cpp \
1190         platform/sql/SQLiteTransaction.cpp \
1191         platform/sql/SQLValue.cpp \
1192         storage/ChangeVersionWrapper.cpp \
1193         storage/DatabaseAuthorizer.cpp \
1194         storage/Database.cpp \
1195         storage/DatabaseTask.cpp \
1196         storage/DatabaseThread.cpp \
1197         storage/DatabaseTracker.cpp \
1198         storage/LocalStorage.cpp \
1199         storage/LocalStorageArea.cpp \
1200         storage/LocalStorageTask.cpp \
1201         storage/LocalStorageThread.cpp \
1202         storage/OriginQuotaManager.cpp \
1203         storage/OriginUsageRecord.cpp \
1204         storage/StorageArea.cpp \
1205         storage/StorageMap.cpp \
1206         storage/SQLResultSet.cpp \
1207         storage/SQLResultSetRowList.cpp \
1208         storage/SQLStatement.cpp \
1209         storage/SQLTransaction.cpp \
1210         bindings/js/JSCustomSQLStatementCallback.cpp \
1211         bindings/js/JSCustomSQLStatementErrorCallback.cpp \
1212         bindings/js/JSCustomSQLTransactionCallback.cpp \
1213         bindings/js/JSCustomSQLTransactionErrorCallback.cpp \
1214         bindings/js/JSDatabaseCustom.cpp \
1215         bindings/js/JSSQLResultSetRowListCustom.cpp \
1216         bindings/js/JSSQLTransactionCustom.cpp
1217
1218     IDL_BINDINGS += \
1219         storage/Database.idl \
1220         storage/SQLError.idl \
1221         storage/SQLResultSet.idl \
1222         storage/SQLResultSetRowList.idl \
1223         storage/SQLTransaction.idl
1224 }
1225
1226 contains(DEFINES, ENABLE_DOM_STORAGE=1) {
1227     FEATURE_DEFINES_JAVASCRIPT += ENABLE_DOM_STORAGE =1
1228
1229     SOURCES += \
1230         storage/LocalStorage.cpp \
1231         storage/LocalStorageArea.cpp \
1232         storage/Storage.cpp \
1233         storage/StorageArea.cpp \
1234         storage/StorageEvent.cpp \
1235         storage/StorageMap.cpp \
1236         storage/SessionStorage.cpp \
1237         storage/SessionStorageArea.cpp \
1238         bindings/js/JSStorage.cpp \
1239         bindings/js/JSStorageCustom.cpp \
1240         bindings/js/JSStorageEvent.cpp \
1241
1242     IDL_BINDINGS += \
1243         storage/Storage.idl \
1244         storage/StorageEvent.idl
1245 }
1246
1247 contains(DEFINES, ENABLE_ICONDATABASE=1) {
1248     SOURCES += \
1249         loader/icon/IconDatabase.cpp \
1250         loader/icon/IconRecord.cpp \
1251         loader/icon/PageURLRecord.cpp
1252 } else {
1253     SOURCES += \
1254         loader/icon/IconDatabaseNone.cpp
1255 }
1256
1257 contains(DEFINES, ENABLE_VIDEO=1) {
1258     FEATURE_DEFINES_JAVASCRIPT += ENABLE_VIDEO=1
1259
1260     IDL_BINDINGS += \
1261         html/HTMLAudioElement.idl \
1262         html/HTMLMediaElement.idl \
1263         html/HTMLSourceElement.idl \
1264         html/HTMLVideoElement.idl \
1265         html/MediaError.idl \
1266         html/TimeRanges.idl \
1267         html/VoidCallback.idl 
1268
1269     SOURCES += \
1270         html/HTMLAudioElement.cpp \
1271         html/HTMLMediaElement.cpp \
1272         html/HTMLSourceElement.cpp \
1273         html/HTMLVideoElement.cpp \
1274         html/TimeRanges.cpp \
1275         platform/graphics/MediaPlayer.cpp \
1276         rendering/MediaControlElements.cpp \
1277         rendering/RenderVideo.cpp \
1278         rendering/RenderMedia.cpp \
1279         bindings/js/JSAudioConstructor.cpp
1280
1281         HEADERS += \
1282             platform/graphics/qt/MediaPlayerPrivatePhonon.h
1283
1284         SOURCES += \
1285             platform/graphics/qt/MediaPlayerPrivatePhonon.cpp
1286
1287         # Add phonon manually to prevent it from coming first in
1288         # the include paths, as Phonon's path.h conflicts with
1289         # WebCore's Path.h on case-insensitive filesystems.
1290         qtAddLibrary(phonon)
1291         INCLUDEPATH -= $$QMAKE_INCDIR_QT/phonon
1292         INCLUDEPATH += $$QMAKE_INCDIR_QT/phonon
1293         mac {
1294             INCLUDEPATH -= $$QMAKE_LIBDIR_QT/phonon.framework/Headers
1295             INCLUDEPATH += $$QMAKE_LIBDIR_QT/phonon.framework/Headers
1296         }
1297
1298 }
1299
1300 contains(DEFINES, ENABLE_XPATH=1) {
1301     FEATURE_DEFINES_JAVASCRIPT += ENABLE_XPATH=1
1302
1303     XPATHBISON = $$PWD/xml/XPathGrammar.y
1304
1305     IDL_BINDINGS += \
1306         xml/XPathNSResolver.idl \
1307         xml/XPathException.idl \
1308         xml/XPathExpression.idl \
1309         xml/XPathResult.idl \
1310         xml/XPathEvaluator.idl
1311 }
1312
1313 unix:!mac:CONFIG += link_pkgconfig
1314
1315 contains(DEFINES, ENABLE_XSLT=1) {
1316     FEATURE_DEFINES_JAVASCRIPT += ENABLE_XSLT=1
1317     PKGCONFIG += libxml-2.0 libxslt
1318
1319     macx {
1320         INCLUDEPATH += /usr/include/libxml2
1321         LIBS += -lxml2 -lxslt
1322     }
1323
1324     win32-msvc* {
1325         LIBS += -llibxml2 -llibxslt
1326     }
1327 }
1328
1329 contains(DEFINES, ENABLE_XBL=1) {
1330     FEATURE_DEFINES_JAVASCRIPT += ENABLE_XBL=1
1331 }
1332
1333 contains(DEFINES, ENABLE_SVG=1) {
1334     FEATURE_DEFINES_JAVASCRIPT += ENABLE_SVG=1
1335
1336     SVG_NAMES = $$PWD/svg/svgtags.in
1337
1338     XLINK_NAMES = $$PWD/svg/xlinkattrs.in
1339
1340     IDL_BINDINGS += \
1341         svg/SVGZoomEvent.idl \
1342         svg/SVGAElement.idl \
1343         svg/SVGAltGlyphElement.idl \
1344         svg/SVGAngle.idl \
1345         svg/SVGAnimateColorElement.idl \
1346         svg/SVGAnimatedAngle.idl \
1347         svg/SVGAnimatedBoolean.idl \
1348         svg/SVGAnimatedEnumeration.idl \
1349         svg/SVGAnimatedInteger.idl \
1350         svg/SVGAnimatedLength.idl \
1351         svg/SVGAnimatedLengthList.idl \
1352         svg/SVGAnimatedNumber.idl \
1353         svg/SVGAnimatedNumberList.idl \
1354         svg/SVGAnimatedPreserveAspectRatio.idl \
1355         svg/SVGAnimatedRect.idl \
1356         svg/SVGAnimatedString.idl \
1357         svg/SVGAnimatedTransformList.idl \
1358         svg/SVGAnimateElement.idl \
1359         svg/SVGAnimateTransformElement.idl \
1360         svg/SVGAnimationElement.idl \
1361         svg/SVGCircleElement.idl \
1362         svg/SVGClipPathElement.idl \
1363         svg/SVGColor.idl \
1364         svg/SVGComponentTransferFunctionElement.idl \
1365         svg/SVGCursorElement.idl \
1366         svg/SVGDefinitionSrcElement.idl \
1367         svg/SVGDefsElement.idl \
1368         svg/SVGDescElement.idl \
1369         svg/SVGDocument.idl \
1370         svg/SVGElement.idl \
1371         svg/SVGElementInstance.idl \
1372         svg/SVGElementInstanceList.idl \
1373         svg/SVGEllipseElement.idl \
1374         svg/SVGException.idl \
1375         svg/SVGFEBlendElement.idl \
1376         svg/SVGFEColorMatrixElement.idl \
1377         svg/SVGFEComponentTransferElement.idl \
1378         svg/SVGFECompositeElement.idl \
1379         svg/SVGFEDiffuseLightingElement.idl \
1380         svg/SVGFEDisplacementMapElement.idl \
1381         svg/SVGFEDistantLightElement.idl \
1382         svg/SVGFEFloodElement.idl \
1383         svg/SVGFEFuncAElement.idl \
1384         svg/SVGFEFuncBElement.idl \
1385         svg/SVGFEFuncGElement.idl \
1386         svg/SVGFEFuncRElement.idl \
1387         svg/SVGFEGaussianBlurElement.idl \
1388         svg/SVGFEImageElement.idl \
1389         svg/SVGFEMergeElement.idl \
1390         svg/SVGFEMergeNodeElement.idl \
1391         svg/SVGFEOffsetElement.idl \
1392         svg/SVGFEPointLightElement.idl \
1393         svg/SVGFESpecularLightingElement.idl \
1394         svg/SVGFESpotLightElement.idl \
1395         svg/SVGFETileElement.idl \
1396         svg/SVGFETurbulenceElement.idl \
1397         svg/SVGFilterElement.idl \
1398         svg/SVGFontElement.idl \
1399         svg/SVGFontFaceElement.idl \
1400         svg/SVGFontFaceFormatElement.idl \
1401         svg/SVGFontFaceNameElement.idl \
1402         svg/SVGFontFaceSrcElement.idl \
1403         svg/SVGFontFaceUriElement.idl \
1404         svg/SVGForeignObjectElement.idl \
1405         svg/SVGGElement.idl \
1406         svg/SVGGlyphElement.idl \
1407         svg/SVGGradientElement.idl \
1408         svg/SVGImageElement.idl \
1409         svg/SVGLength.idl \
1410         svg/SVGLengthList.idl \
1411         svg/SVGLinearGradientElement.idl \
1412         svg/SVGLineElement.idl \
1413         svg/SVGMarkerElement.idl \
1414         svg/SVGMaskElement.idl \
1415         svg/SVGMatrix.idl \
1416         svg/SVGMetadataElement.idl \
1417         svg/SVGMissingGlyphElement.idl \
1418         svg/SVGNumber.idl \
1419         svg/SVGNumberList.idl \
1420         svg/SVGPaint.idl \
1421         svg/SVGPathElement.idl \
1422         svg/SVGPathSegArcAbs.idl \
1423         svg/SVGPathSegArcRel.idl \
1424         svg/SVGPathSegClosePath.idl \
1425         svg/SVGPathSegCurvetoCubicAbs.idl \
1426         svg/SVGPathSegCurvetoCubicRel.idl \
1427         svg/SVGPathSegCurvetoCubicSmoothAbs.idl \
1428         svg/SVGPathSegCurvetoCubicSmoothRel.idl \
1429         svg/SVGPathSegCurvetoQuadraticAbs.idl \
1430         svg/SVGPathSegCurvetoQuadraticRel.idl \
1431         svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl \
1432         svg/SVGPathSegCurvetoQuadraticSmoothRel.idl \
1433         svg/SVGPathSeg.idl \
1434         svg/SVGPathSegLinetoAbs.idl \
1435         svg/SVGPathSegLinetoHorizontalAbs.idl \
1436         svg/SVGPathSegLinetoHorizontalRel.idl \
1437         svg/SVGPathSegLinetoRel.idl \
1438         svg/SVGPathSegLinetoVerticalAbs.idl \
1439         svg/SVGPathSegLinetoVerticalRel.idl \
1440         svg/SVGPathSegList.idl \
1441         svg/SVGPathSegMovetoAbs.idl \
1442         svg/SVGPathSegMovetoRel.idl \
1443         svg/SVGPatternElement.idl \
1444         svg/SVGPoint.idl \
1445         svg/SVGPointList.idl \
1446         svg/SVGPolygonElement.idl \
1447         svg/SVGPolylineElement.idl \
1448         svg/SVGPreserveAspectRatio.idl \
1449         svg/SVGRadialGradientElement.idl \
1450         svg/SVGRectElement.idl \
1451         svg/SVGRect.idl \
1452         svg/SVGRenderingIntent.idl \
1453         svg/SVGScriptElement.idl \
1454         svg/SVGSetElement.idl \
1455         svg/SVGStopElement.idl \
1456         svg/SVGStringList.idl \
1457         svg/SVGStyleElement.idl \
1458         svg/SVGSVGElement.idl \
1459         svg/SVGSwitchElement.idl \
1460         svg/SVGSymbolElement.idl \
1461         svg/SVGTextContentElement.idl \
1462         svg/SVGTextElement.idl \
1463         svg/SVGTextPathElement.idl \
1464         svg/SVGTextPositioningElement.idl \
1465         svg/SVGTitleElement.idl \
1466         svg/SVGTransform.idl \
1467         svg/SVGTransformList.idl \
1468         svg/SVGTRefElement.idl \
1469         svg/SVGTSpanElement.idl \
1470         svg/SVGUnitTypes.idl \
1471         svg/SVGUseElement.idl \
1472         svg/SVGViewElement.idl 
1473
1474     SOURCES += \
1475 # TODO: this-one-is-not-auto-added! FIXME! tmp/SVGElementFactory.cpp \
1476         bindings/js/JSSVGElementInstanceCustom.cpp \
1477         bindings/js/JSSVGLengthCustom.cpp \
1478         bindings/js/JSSVGMatrixCustom.cpp \
1479         bindings/js/JSSVGPathSegCustom.cpp \
1480         bindings/js/JSSVGPathSegListCustom.cpp \
1481         bindings/js/JSSVGPointListCustom.cpp \
1482         bindings/js/JSSVGTransformListCustom.cpp \
1483         css/SVGCSSComputedStyleDeclaration.cpp \
1484         css/SVGCSSParser.cpp \
1485         css/SVGCSSStyleSelector.cpp \
1486         rendering/style/SVGRenderStyle.cpp \
1487         rendering/style/SVGRenderStyleDefs.cpp \
1488         svg/SVGZoomEvent.cpp \
1489         rendering/PointerEventsHitRules.cpp \
1490         svg/FilterEffect.cpp \
1491         svg/SVGDocumentExtensions.cpp \
1492         svg/SVGImageLoader.cpp \
1493         svg/ColorDistance.cpp \
1494         svg/SVGAElement.cpp \
1495         svg/SVGAltGlyphElement.cpp \
1496         svg/SVGAngle.cpp \
1497         svg/SVGAnimateColorElement.cpp \
1498         svg/SVGAnimatedPathData.cpp \
1499         svg/SVGAnimatedPoints.cpp \
1500         svg/SVGAnimateElement.cpp \
1501         svg/SVGAnimateMotionElement.cpp \
1502         svg/SVGAnimateTransformElement.cpp \
1503         svg/SVGAnimationElement.cpp \
1504         svg/SVGCircleElement.cpp \
1505         svg/SVGClipPathElement.cpp \
1506         svg/SVGColor.cpp \
1507         svg/SVGComponentTransferFunctionElement.cpp \
1508         svg/SVGCursorElement.cpp \
1509         svg/SVGDefinitionSrcElement.cpp \
1510         svg/SVGDefsElement.cpp \
1511         svg/SVGDescElement.cpp \
1512         svg/SVGDocument.cpp \
1513         svg/SVGElement.cpp \
1514         svg/SVGElementInstance.cpp \
1515         svg/SVGElementInstanceList.cpp \
1516         svg/SVGEllipseElement.cpp \
1517         svg/SVGExternalResourcesRequired.cpp \
1518         svg/SVGFEBlendElement.cpp \
1519         svg/SVGFEColorMatrixElement.cpp \
1520         svg/SVGFEComponentTransferElement.cpp \
1521         svg/SVGFECompositeElement.cpp \
1522         svg/SVGFEDiffuseLightingElement.cpp \
1523         svg/SVGFEDisplacementMapElement.cpp \
1524         svg/SVGFEDistantLightElement.cpp \
1525         svg/SVGFEFloodElement.cpp \
1526         svg/SVGFEFuncAElement.cpp \
1527         svg/SVGFEFuncBElement.cpp \
1528         svg/SVGFEFuncGElement.cpp \
1529         svg/SVGFEFuncRElement.cpp \
1530         svg/SVGFEGaussianBlurElement.cpp \
1531         svg/SVGFEImageElement.cpp \
1532         svg/SVGFELightElement.cpp \
1533         svg/SVGFEMergeElement.cpp \
1534         svg/SVGFEMergeNodeElement.cpp \
1535         svg/SVGFEOffsetElement.cpp \
1536         svg/SVGFEPointLightElement.cpp \
1537         svg/SVGFESpecularLightingElement.cpp \
1538         svg/SVGFESpotLightElement.cpp \
1539         svg/SVGFETileElement.cpp \
1540         svg/SVGFETurbulenceElement.cpp \
1541         svg/SVGFilterElement.cpp \
1542         svg/SVGFilterPrimitiveStandardAttributes.cpp \
1543         svg/SVGFitToViewBox.cpp \
1544         svg/SVGFont.cpp \
1545         svg/SVGFontData.cpp \
1546         svg/SVGFontElement.cpp \
1547         svg/SVGFontFaceElement.cpp \
1548         svg/SVGFontFaceFormatElement.cpp \
1549         svg/SVGFontFaceNameElement.cpp \
1550         svg/SVGFontFaceSrcElement.cpp \
1551         svg/SVGFontFaceUriElement.cpp \
1552         svg/SVGForeignObjectElement.cpp \
1553         svg/SVGGElement.cpp \
1554         svg/SVGGlyphElement.cpp \
1555         svg/SVGGradientElement.cpp \
1556         svg/SVGImageElement.cpp \
1557         svg/SVGLangSpace.cpp \
1558         svg/SVGLength.cpp \
1559         svg/SVGLengthList.cpp \
1560         svg/SVGLinearGradientElement.cpp \
1561         svg/SVGLineElement.cpp \
1562         svg/SVGLocatable.cpp \
1563         svg/SVGMarkerElement.cpp \
1564         svg/SVGMaskElement.cpp \
1565         svg/SVGMetadataElement.cpp \
1566         svg/SVGMissingGlyphElement.cpp \
1567         svg/SVGMPathElement.cpp \
1568         svg/SVGNumberList.cpp \
1569         svg/SVGPaint.cpp \
1570         svg/SVGParserUtilities.cpp \
1571         svg/SVGPathElement.cpp \
1572         svg/SVGPathSegArc.cpp \
1573         svg/SVGPathSegClosePath.cpp \
1574         svg/SVGPathSegCurvetoCubic.cpp \
1575         svg/SVGPathSegCurvetoCubicSmooth.cpp \
1576         svg/SVGPathSegCurvetoQuadratic.cpp \
1577         svg/SVGPathSegCurvetoQuadraticSmooth.cpp \
1578         svg/SVGPathSegLineto.cpp \
1579         svg/SVGPathSegLinetoHorizontal.cpp \
1580         svg/SVGPathSegLinetoVertical.cpp \
1581         svg/SVGPathSegList.cpp \
1582         svg/SVGPathSegMoveto.cpp \
1583         svg/SVGPatternElement.cpp \
1584         svg/SVGPointList.cpp \
1585         svg/SVGPolyElement.cpp \
1586         svg/SVGPolygonElement.cpp \
1587         svg/SVGPolylineElement.cpp \
1588         svg/SVGPreserveAspectRatio.cpp \
1589         svg/SVGRadialGradientElement.cpp \
1590         svg/SVGRectElement.cpp \
1591         svg/SVGScriptElement.cpp \
1592         svg/SVGSetElement.cpp \
1593         svg/SVGStopElement.cpp \
1594         svg/SVGStringList.cpp \
1595         svg/SVGStylable.cpp \
1596         svg/SVGStyledElement.cpp \
1597         svg/SVGStyledLocatableElement.cpp \
1598         svg/SVGStyledTransformableElement.cpp \
1599         svg/SVGStyleElement.cpp \
1600         svg/SVGSVGElement.cpp \
1601         svg/SVGSwitchElement.cpp \
1602         svg/SVGSymbolElement.cpp \
1603         svg/SVGTests.cpp \
1604         svg/SVGTextContentElement.cpp \
1605         svg/SVGTextElement.cpp \
1606         svg/SVGTextPathElement.cpp \
1607         svg/SVGTextPositioningElement.cpp \
1608         svg/SVGTitleElement.cpp \
1609         svg/SVGTransformable.cpp \
1610         svg/SVGTransform.cpp \
1611         svg/SVGTransformDistance.cpp \
1612         svg/SVGTransformList.cpp \
1613         svg/SVGTRefElement.cpp \
1614         svg/SVGTSpanElement.cpp \
1615         svg/SVGURIReference.cpp \
1616         svg/SVGUseElement.cpp \
1617         svg/SVGViewElement.cpp \
1618         svg/SVGViewSpec.cpp \
1619         svg/SVGZoomAndPan.cpp \
1620         svg/animation/SMILTime.cpp \
1621         svg/animation/SMILTimeContainer.cpp \
1622         svg/animation/SVGSMILElement.cpp \
1623         platform/graphics/filters/FEBlend.cpp \
1624         platform/graphics/filters/FEColorMatrix.cpp \
1625         platform/graphics/filters/FEComponentTransfer.cpp \
1626         platform/graphics/filters/FEComposite.cpp \
1627         svg/graphics/filters/SVGFEConvolveMatrix.cpp \
1628         svg/graphics/filters/SVGFEDiffuseLighting.cpp \
1629         svg/graphics/filters/SVGFEDisplacementMap.cpp \
1630         svg/graphics/filters/SVGFEFlood.cpp \
1631         svg/graphics/filters/SVGFEGaussianBlur.cpp \
1632         svg/graphics/filters/SVGFEImage.cpp \
1633         svg/graphics/filters/SVGFEMerge.cpp \
1634         svg/graphics/filters/SVGFEMorphology.cpp \
1635         svg/graphics/filters/SVGFEOffset.cpp \
1636         svg/graphics/filters/SVGFESpecularLighting.cpp \
1637         svg/graphics/filters/SVGFETile.cpp \
1638         svg/graphics/filters/SVGFETurbulence.cpp \
1639         svg/graphics/filters/SVGFilterEffect.cpp \
1640         svg/graphics/filters/SVGLightSource.cpp \
1641         svg/graphics/SVGImage.cpp \
1642         svg/graphics/SVGPaintServer.cpp \
1643         svg/graphics/SVGPaintServerGradient.cpp \
1644         svg/graphics/SVGPaintServerLinearGradient.cpp \
1645         svg/graphics/SVGPaintServerPattern.cpp \
1646         svg/graphics/SVGPaintServerRadialGradient.cpp \
1647         svg/graphics/SVGPaintServerSolid.cpp \
1648         svg/graphics/SVGResourceClipper.cpp \
1649         svg/graphics/SVGResource.cpp \
1650         svg/graphics/SVGResourceFilter.cpp \
1651         svg/graphics/SVGResourceMarker.cpp \
1652         svg/graphics/SVGResourceMasker.cpp \
1653         rendering/RenderForeignObject.cpp \
1654         rendering/RenderPath.cpp \
1655         rendering/RenderSVGBlock.cpp \
1656         rendering/RenderSVGContainer.cpp \
1657         rendering/RenderSVGGradientStop.cpp \
1658         rendering/RenderSVGHiddenContainer.cpp \
1659         rendering/RenderSVGImage.cpp \
1660         rendering/RenderSVGInline.cpp \
1661         rendering/RenderSVGInlineText.cpp \
1662         rendering/RenderSVGRoot.cpp \
1663         rendering/RenderSVGText.cpp \
1664         rendering/RenderSVGTextPath.cpp \
1665         rendering/RenderSVGTransformableContainer.cpp \
1666         rendering/RenderSVGTSpan.cpp \
1667         rendering/RenderSVGViewportContainer.cpp \
1668         rendering/SVGCharacterLayoutInfo.cpp \
1669         rendering/SVGInlineFlowBox.cpp \
1670         rendering/SVGInlineTextBox.cpp \
1671         rendering/SVGRenderSupport.cpp \
1672         rendering/SVGRootInlineBox.cpp
1673
1674 SOURCES += \
1675         svg/graphics/qt/RenderPathQt.cpp \
1676         svg/graphics/qt/SVGPaintServerGradientQt.cpp \
1677         svg/graphics/qt/SVGPaintServerLinearGradientQt.cpp \
1678         svg/graphics/qt/SVGPaintServerPatternQt.cpp \
1679         svg/graphics/qt/SVGPaintServerQt.cpp \
1680         svg/graphics/qt/SVGPaintServerRadialGradientQt.cpp \
1681         svg/graphics/qt/SVGPaintServerSolidQt.cpp \
1682         svg/graphics/qt/SVGResourceClipperQt.cpp \
1683         svg/graphics/qt/SVGResourceFilterQt.cpp \
1684         svg/graphics/qt/SVGResourceMaskerQt.cpp
1685
1686
1687         # GENERATOR 5-C:
1688         svgnames_a.output = $$GENERATED_SOURCES_DIR/SVGNames.cpp
1689         svgnames_a.commands = perl -I$$PWD/bindings/scripts $$PWD/dom/make_names.pl --tags $$PWD/svg/svgtags.in --attrs $$PWD/svg/svgattrs.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\" --factory --wrapperFactory --outputDir $$GENERATED_SOURCES_DIR
1690         svgnames_a.input = SVG_NAMES
1691         svgnames_a.dependency_type = TYPE_C
1692         svgnames_a.CONFIG = target_predeps
1693         svgnames_a.variable_out = GENERATED_SOURCES
1694         addExtraCompilerWithHeader(svgnames_a)
1695         svgnames_b.output = $$GENERATED_SOURCES_DIR/SVGElementFactory.cpp
1696         svgnames_b.commands = @echo -n ''
1697         svgnames_b.input = SVG_NAMES
1698         svgnames_b.depends = $$GENERATED_SOURCES_DIR/SVGNames.cpp
1699         svgnames_b.CONFIG = target_predeps
1700         svgnames_b.variable_out = GENERATED_SOURCES
1701         addExtraCompilerWithHeader(svgnames_b)
1702         svgelementwrapper.output = $$GENERATED_SOURCES_DIR/JSSVGElementWrapperFactory.cpp
1703         svgelementwrapper.commands = @echo -n ''
1704         svgelementwrapper.input = SVG_NAMES
1705         svgelementwrapper.depends = $$GENERATED_SOURCES_DIR/SVGNames.cpp
1706         svgelementwrapper.CONFIG = target_predeps
1707         svgelementwrapper.variable_out = GENERATED_SOURCES
1708         addExtraCompiler(svgelementwrapper)
1709         svgelementwrapper_header.output = $$GENERATED_SOURCES_DIR/JSSVGElementWrapperFactory.h
1710         svgelementwrapper_header.commands = @echo -n ''
1711         svgelementwrapper_header.input = SVG_NAMES
1712         svgelementwrapper_header.depends = $$GENERATED_SOURCES_DIR/SVGNames.cpp
1713         svgelementwrapper_header.CONFIG = target_predeps
1714         svgelementwrapper_header.variable_out = GENERATED_FILES
1715         addExtraCompiler(svgelementwrapper_header)
1716
1717         # GENERATOR 5-D:
1718         xlinknames.output = $$GENERATED_SOURCES_DIR/XLinkNames.cpp
1719         xlinknames.commands = perl -I$$PWD/bindings/scripts $$PWD/dom/make_names.pl --attrs $$PWD/svg/xlinkattrs.in --preprocessor \"$${QMAKE_MOC} -E\" --outputDir $$GENERATED_SOURCES_DIR
1720         xlinknames.input = XLINK_NAMES
1721         xlinknames.dependency_type = TYPE_C
1722         xlinknames.CONFIG = target_predeps
1723         xlinknames.variable_out = GENERATED_SOURCES
1724         addExtraCompilerWithHeader(xlinknames)
1725
1726     # GENERATOR 6-A:
1727     cssprops.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.cpp
1728     cssprops.input = WALDOCSSPROPS
1729     cssprops.commands = perl -ne \"print lc\" ${QMAKE_FILE_NAME} $$DASHBOARDSUPPORTCSSPROPERTIES $$SVGCSSPROPERTIES > $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.in && cd $$GENERATED_SOURCES_DIR && perl $$PWD/css/makeprop.pl && $(DEL_FILE) ${QMAKE_FILE_BASE}.strip ${QMAKE_FILE_BASE}.in ${QMAKE_FILE_BASE}.gperf
1730     cssprops.CONFIG = target_predeps no_link
1731     cssprops.depend = ${QMAKE_FILE_NAME} DASHBOARDSUPPORTCSSPROPERTIES SVGCSSPROPERTIES
1732     addExtraCompilerWithHeader(cssprops)
1733
1734     # GENERATOR 6-B:
1735     cssvalues.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.c
1736     cssvalues.input = WALDOCSSVALUES
1737     cssvalues.commands = perl -ne \"print lc\" ${QMAKE_FILE_NAME} $$SVGCSSVALUES > $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.in && cd $$GENERATED_SOURCES_DIR && perl $$PWD/css/makevalues.pl && $(DEL_FILE) ${QMAKE_FILE_BASE}.in ${QMAKE_FILE_BASE}.strip ${QMAKE_FILE_BASE}.gperf
1738     cssvalues.CONFIG = target_predeps no_link
1739     cssvalues.depend = ${QMAKE_FILE_NAME} SVGCSSVALUES
1740     addExtraCompilerWithHeader(cssvalues)
1741 } else {
1742     # GENERATOR 6-A:
1743     cssprops.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.c
1744     cssprops.input = WALDOCSSPROPS
1745     cssprops.commands = perl -ne \"print lc\" ${QMAKE_FILE_NAME} $$DASHBOARDSUPPORTCSSPROPERTIES > $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.in && cd $$GENERATED_SOURCES_DIR && perl $$PWD/css/makeprop.pl && $(DEL_FILE) ${QMAKE_FILE_BASE}.strip ${QMAKE_FILE_BASE}.in ${QMAKE_FILE_BASE}.gperf
1746     cssprops.CONFIG = target_predeps no_link
1747     cssprops.depend = ${QMAKE_FILE_NAME} DASHBOARDSUPPORTCSSPROPERTIES
1748     addExtraCompilerWithHeader(cssprops)
1749
1750     # GENERATOR 6-B:
1751     cssvalues.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.c
1752     cssvalues.input = WALDOCSSVALUES
1753     cssvalues.commands = $(COPY_FILE) ${QMAKE_FILE_NAME} $$GENERATED_SOURCES_DIR && cd $$GENERATED_SOURCES_DIR && perl $$PWD/css/makevalues.pl && $(DEL_FILE) ${QMAKE_FILE_BASE}.in ${QMAKE_FILE_BASE}.strip ${QMAKE_FILE_BASE}.gperf
1754     cssvalues.CONFIG = target_predeps no_link
1755     cssvalues.clean = ${QMAKE_FILE_OUT} ${QMAKE_VAR_GENERATED_SOURCES_DIR_SLASH}${QMAKE_FILE_BASE}.h
1756     addExtraCompiler(cssvalues)
1757 }
1758
1759
1760 # GENERATOR 1: IDL compiler
1761 idl.output = $$GENERATED_SOURCES_DIR/JS${QMAKE_FILE_BASE}.cpp
1762 idl.variable_out = GENERATED_SOURCES
1763 idl.input = IDL_BINDINGS
1764 idl.commands = perl -I$$PWD/bindings/scripts $$PWD/bindings/scripts/generate-bindings.pl --defines \"$${FEATURE_DEFINES_JAVASCRIPT}\" --generator JS --include $$PWD/dom --include $$PWD/html --include $$PWD/xml --include $$PWD/svg --outputDir $$GENERATED_SOURCES_DIR --preprocessor \"$${QMAKE_MOC} -E\" ${QMAKE_FILE_NAME}
1765 idl.CONFIG += target_predeps
1766 addExtraCompilerWithHeader(idl)
1767
1768 # GENERATOR 2-A: LUT creator
1769 lut.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.lut.h
1770 lut.commands = perl $$PWD/../JavaScriptCore/create_hash_table ${QMAKE_FILE_NAME} -n WebCore > ${QMAKE_FILE_OUT}
1771 lut.depend = ${QMAKE_FILE_NAME}
1772 lut.input = LUT_FILES
1773 lut.CONFIG += no_link
1774 addExtraCompiler(lut)
1775
1776 # GENERATOR 2-B: like JavaScriptCore/LUT Generator, but rename output
1777 luttable.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}Table.cpp
1778 luttable.commands = perl $$PWD/../JavaScriptCore/create_hash_table ${QMAKE_FILE_NAME} -n WebCore > ${QMAKE_FILE_OUT}
1779 luttable.depend = ${QMAKE_FILE_NAME}
1780 luttable.input = LUT_TABLE_FILES
1781 luttable.CONFIG += no_link
1782 luttable.dependency_type = TYPE_C
1783 addExtraCompiler(luttable)
1784
1785 # GENERATOR 3: tokenizer (flex)
1786 tokenizer.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.cpp
1787 tokenizer.commands = flex -t < ${QMAKE_FILE_NAME} | perl $$PWD/css/maketokenizer > ${QMAKE_FILE_OUT}
1788 tokenizer.dependency_type = TYPE_C
1789 tokenizer.input = TOKENIZER
1790 tokenizer.CONFIG += target_predeps no_link
1791 addExtraCompiler(tokenizer)
1792
1793 # GENERATOR 4: CSS grammar
1794 cssbison.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.cpp
1795 cssbison.commands = perl $$PWD/css/makegrammar.pl ${QMAKE_FILE_NAME} $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}
1796 cssbison.depend = ${QMAKE_FILE_NAME}
1797 cssbison.input = CSSBISON
1798 cssbison.CONFIG = target_predeps
1799 cssbison.dependency_type = TYPE_C
1800 cssbison.variable_out = GENERATED_SOURCES
1801 addExtraCompilerWithHeader(cssbison)
1802
1803 # GENERATOR 5-A:
1804 htmlnames.output = $$GENERATED_SOURCES_DIR/HTMLNames.cpp
1805 htmlnames.commands = perl -I$$PWD/bindings/scripts $$PWD/dom/make_names.pl --tags $$PWD/html/HTMLTagNames.in --attrs $$PWD/html/HTMLAttributeNames.in --extraDefines \"$${DEFINES}\" --preprocessor \"$${QMAKE_MOC} -E\"  --wrapperFactory --outputDir $$GENERATED_SOURCES_DIR
1806 htmlnames.input = HTML_NAMES
1807 htmlnames.dependency_type = TYPE_C
1808 htmlnames.CONFIG = target_predeps
1809 htmlnames.variable_out = GENERATED_SOURCES
1810 addExtraCompilerWithHeader(htmlnames)
1811
1812 elementwrapperfactory.output = $$GENERATED_SOURCES_DIR/JSHTMLElementWrapperFactory.cpp
1813 elementwrapperfactory.commands = @echo -n ''
1814 elementwrapperfactory.input = HTML_NAMES
1815 elementwrapperfactory.depends = $$GENERATED_SOURCES_DIR/HTMLNames.cpp
1816 elementwrapperfactory.CONFIG = target_predeps
1817 elementwrapperfactory.variable_out = GENERATED_SOURCES
1818 elementwrapperfactory.clean += ${QMAKE_FILE_OUT}
1819 addExtraCompilerWithHeader(elementwrapperfactory)
1820
1821 # GENERATOR 5-B:
1822 xmlnames.output = $$GENERATED_SOURCES_DIR/XMLNames.cpp
1823 xmlnames.commands = perl -I$$PWD/bindings/scripts $$PWD/dom/make_names.pl --attrs $$PWD/xml/xmlattrs.in --preprocessor \"$${QMAKE_MOC} -E\" --outputDir $$GENERATED_SOURCES_DIR
1824 xmlnames.input = XML_NAMES
1825 xmlnames.dependency_type = TYPE_C
1826 xmlnames.CONFIG = target_predeps
1827 xmlnames.variable_out = GENERATED_SOURCES
1828 addExtraCompilerWithHeader(xmlnames)
1829
1830 # GENERATOR 8-A:
1831 entities.output = $$GENERATED_SOURCES_DIR/HTMLEntityNames.c
1832 entities.commands = gperf -a -L ANSI-C -C -G -c -o -t --key-positions="*" -N findEntity -D -s 2 < $$PWD/html/HTMLEntityNames.gperf > $$GENERATED_SOURCES_DIR/HTMLEntityNames.c
1833 entities.input = ENTITIES_GPERF
1834 entities.dependency_type = TYPE_C
1835 entities.CONFIG = target_predeps no_link
1836 entities.clean = ${QMAKE_FILE_OUT}
1837 addExtraCompiler(entities)
1838
1839 # GENERATOR 8-B:
1840 doctypestrings.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.cpp
1841 doctypestrings.input = DOCTYPESTRINGS
1842 doctypestrings.commands = perl -e \"print \'$${LITERAL_HASH}include <string.h>\';\" > ${QMAKE_FILE_OUT} && echo // bogus >> ${QMAKE_FILE_OUT} && gperf -CEot -L ANSI-C --key-positions="*" -N findDoctypeEntry -F ,PubIDInfo::eAlmostStandards,PubIDInfo::eAlmostStandards < ${QMAKE_FILE_NAME} >> ${QMAKE_FILE_OUT}
1843 doctypestrings.dependency_type = TYPE_C
1844 doctypestrings.CONFIG += target_predeps no_link
1845 doctypestrings.clean = ${QMAKE_FILE_OUT}
1846 addExtraCompiler(doctypestrings)
1847
1848 # GENERATOR 8-C:
1849 colordata.output = $$GENERATED_SOURCES_DIR/ColorData.c
1850 colordata.commands = perl -e \"print \'$${LITERAL_HASH}include <string.h>\';\" > ${QMAKE_FILE_OUT} && echo // bogus >> ${QMAKE_FILE_OUT} && gperf -CDEot -L ANSI-C --key-positions="*" -N findColor -D -s 2 < ${QMAKE_FILE_NAME} >> ${QMAKE_FILE_OUT}
1851 colordata.input = COLORDAT_GPERF
1852 colordata.CONFIG = target_predeps no_link
1853 addExtraCompiler(colordata)
1854
1855 # GENERATOR 9:
1856 stylesheets.output = $$GENERATED_SOURCES_DIR/UserAgentStyleSheetsData.cpp
1857 stylesheets.commands = perl $$PWD/css/make-css-file-arrays.pl --preprocessor \"$${QMAKE_MOC} -E\" $$GENERATED_SOURCES_DIR/UserAgentStyleSheets.h $$GENERATED_SOURCES_DIR/UserAgentStyleSheetsData.cpp $$PWD/css/html4.css $$PWD/css/quirks.css $$PWD/css/svg.css $$PWD/css/view-source.css
1858 stylesheets.input = STYLESHEETS_EMBED
1859 stylesheets.CONFIG = target_predeps
1860 stylesheets.variable_out = GENERATED_SOURCES
1861 stylesheets.clean = ${QMAKE_FILE_OUT} ${QMAKE_VAR_GENERATED_SOURCES_DIR_SLASH}UserAgentStyleSheets.h
1862 addExtraCompilerWithHeader(stylesheets, $$GENERATED_SOURCES_DIR/UserAgentStyleSheets.h)
1863
1864 # GENERATOR 10: XPATH grammar
1865 xpathbison.output = $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.cpp
1866 xpathbison.commands = bison -d -p xpathyy ${QMAKE_FILE_NAME} -o ${QMAKE_FILE_BASE}.tab.c && $(MOVE) ${QMAKE_FILE_BASE}.tab.c $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.cpp && $(MOVE) ${QMAKE_FILE_BASE}.tab.h $$GENERATED_SOURCES_DIR/${QMAKE_FILE_BASE}.h
1867 xpathbison.depend = ${QMAKE_FILE_NAME}
1868 xpathbison.input = XPATHBISON
1869 xpathbison.CONFIG = target_predeps
1870 xpathbison.dependency_type = TYPE_C
1871 xpathbison.variable_out = GENERATED_SOURCES
1872 addExtraCompilerWithHeader(xpathbison)
1873
1874 !CONFIG(QTDIR_build) {
1875     target.path = $$[QT_INSTALL_LIBS]
1876     include($$PWD/../WebKit/qt/Api/headers.pri)
1877     headers.files = $$WEBKIT_API_HEADERS
1878     headers.path = $$[QT_INSTALL_HEADERS]/QtWebKit
1879     prf.files = $$PWD/../WebKit/qt/Api/qtwebkit.prf
1880     prf.path = $$[QT_INSTALL_PREFIX]/mkspecs/features
1881
1882     VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}
1883
1884     win32-* {
1885         DLLDESTDIR = $$OUTPUT_DIR/bin
1886
1887         dlltarget.commands = $(COPY_FILE) $(DESTDIR)$(TARGET) $$[QT_INSTALL_BINS]
1888         dlltarget.CONFIG = no_path
1889         INSTALLS += dlltarget
1890     }
1891
1892
1893     INSTALLS += target headers prf
1894
1895     unix {
1896         CONFIG += create_pc create_prl
1897         QMAKE_PKGCONFIG_LIBDIR = $$target.path
1898         QMAKE_PKGCONFIG_INCDIR = $$headers.path
1899         QMAKE_PKGCONFIG_DESTDIR = pkgconfig
1900         lib_replace.match = $$DESTDIR
1901         lib_replace.replace = $$[QT_INSTALL_LIBS]
1902         QMAKE_PKGCONFIG_INSTALL_REPLACE += lib_replace
1903     }
1904 }
1905