Title: [125544] trunk
Revision
125544
Author
commit-qu...@webkit.org
Date
2012-08-14 04:42:04 -0700 (Tue, 14 Aug 2012)

Log Message

[Qt] QtWebKit linking fails for QNX cross build
https://bugs.webkit.org/show_bug.cgi?id=93460

Patch by Milian Wolff <milian.wo...@kdab.com> on 2012-08-14
Reviewed by Simon Hausmann.

The GCC 4.4.2 used by the QNX BBNDK 2.0.1 fails to link QtWebKit.
Apparently it does not properly support the linker invokation using
-Wl,-whole-archive -l... -Wl,-no-whole-archive
yielding a "cc: no files to process" error. This patch works around
this issue by adding an empty dummy file (and thus object file) to
the linking stage.

* Source/api.pri:

Modified Paths

Diff

Modified: trunk/ChangeLog (125543 => 125544)


--- trunk/ChangeLog	2012-08-14 11:39:28 UTC (rev 125543)
+++ trunk/ChangeLog	2012-08-14 11:42:04 UTC (rev 125544)
@@ -1,3 +1,19 @@
+2012-08-14  Milian Wolff  <milian.wo...@kdab.com>
+
+        [Qt] QtWebKit linking fails for QNX cross build
+        https://bugs.webkit.org/show_bug.cgi?id=93460
+
+        Reviewed by Simon Hausmann.
+
+        The GCC 4.4.2 used by the QNX BBNDK 2.0.1 fails to link QtWebKit.
+        Apparently it does not properly support the linker invokation using
+        -Wl,-whole-archive -l... -Wl,-no-whole-archive
+        yielding a "cc: no files to process" error. This patch works around
+        this issue by adding an empty dummy file (and thus object file) to
+        the linking stage.
+
+        * Source/api.pri:
+
 2012-08-14  Keishi Hattori  <kei...@webkit.org>
 
         Move page popup resources to separate directory

Modified: trunk/Source/api.pri (125543 => 125544)


--- trunk/Source/api.pri	2012-08-14 11:39:28 UTC (rev 125543)
+++ trunk/Source/api.pri	2012-08-14 11:42:04 UTC (rev 125544)
@@ -84,3 +84,14 @@
 }
 
 !no_webkit1: WEBKIT += webkit1
+
+qnx {
+    # see: https://bugs.webkit.org/show_bug.cgi?id=93460
+    # the gcc 4.4.2 used in the qnx bbndk cannot cope with
+    # the linkage step of libQtWebKit, adding a dummy .cpp
+    # file fixes this though - so do this here
+    dummyfile.target = dummy.cpp
+    dummyfile.commands = touch $$dummyfile.target
+    QMAKE_EXTRA_TARGETS += dummyfile
+    GENERATED_SOURCES += $$dummyfile.target
+}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to