Title: [115826] trunk
- Revision
- 115826
- Author
- [email protected]
- Date
- 2012-05-02 07:09:49 -0700 (Wed, 02 May 2012)
Log Message
[Qt] Unreviewed prospective QtMobility build fix.
* Source/api.pri: The Qt 4 equivalent of QT += sensors should be handled by
WebCore.pri, but somehow it isn't.
Modified Paths
Diff
Modified: trunk/ChangeLog (115825 => 115826)
--- trunk/ChangeLog 2012-05-02 14:08:30 UTC (rev 115825)
+++ trunk/ChangeLog 2012-05-02 14:09:49 UTC (rev 115826)
@@ -1,3 +1,10 @@
+2012-05-02 Simon Hausmann <[email protected]>
+
+ [Qt] Unreviewed prospective QtMobility build fix.
+
+ * Source/api.pri: The Qt 4 equivalent of QT += sensors should be handled by
+ WebCore.pri, but somehow it isn't.
+
2012-05-02 Lars Knudsen <[email protected]>
[Qt] Make DeviceMotion and DeviceOrientation work with WebKit2
Modified: trunk/Source/api.pri (115825 => 115826)
--- trunk/Source/api.pri 2012-05-02 14:08:30 UTC (rev 115825)
+++ trunk/Source/api.pri 2012-05-02 14:09:49 UTC (rev 115826)
@@ -259,7 +259,12 @@
}
contains(DEFINES, ENABLE_DEVICE_ORIENTATION=1) || contains(DEFINES, ENABLE_ORIENTATION_EVENTS=1) {
- haveQt(5): QT += sensors
+ haveQt(5) {
+ QT += sensors
+ } else {
+ CONFIG *= mobility
+ MOBILITY *= sensors
+ }
}
contains(DEFINES, ENABLE_GEOLOCATION=1) {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes