summaryrefslogtreecommitdiffstats
path: root/WebKit.pro
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit.pro')
-rw-r--r--WebKit.pro20
1 files changed, 20 insertions, 0 deletions
diff --git a/WebKit.pro b/WebKit.pro
new file mode 100644
index 000000000..375d4d77b
--- /dev/null
+++ b/WebKit.pro
@@ -0,0 +1,20 @@
+load(functions)
+
+TEMPLATE = subdirs
+CONFIG += ordered
+PROJECTS_DIR = Tools/qmake/projects
+
+isPlatformSupported() {
+ QT_FOR_CONFIG += gui-private
+ !qtConfig(system-png):qtConfig(png):exists($$QTBASE_DIR): \
+ SUBDIRS += $$PROJECTS_DIR/qtpng
+
+ !qtConfig(system-jpeg):exists($$QTBASE_DIR): \
+ SUBDIRS += $$PROJECTS_DIR/qtjpeg
+
+ SUBDIRS += \
+ $$PROJECTS_DIR/generate_cmake_toolchain_file.pro \
+ $$PROJECTS_DIR/run_cmake.pro
+} else {
+ !build_pass: log("$${EOL}The WebKit build was disabled for the following reasons: $$skipBuildReason $${EOL}$${EOL}")
+}