[Webkit-unassigned] [Bug 69931] New: [Qt] Missing XP_UNIX define with Qt5's qmake

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 12 08:13:14 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=69931

           Summary: [Qt] Missing XP_UNIX define with Qt5's qmake
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Linux
            Status: NEW
          Keywords: Qt, QtTriaged
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kbalazs at webkit.org
                CC: ossy at webkit.org


Qt5's qmake does not interpret Source/WebCore/features.pri correctly. It can be checked by adding the following:

diff --git a/Source/WebCore/features.pri b/Source/WebCore/features.pri
index 933069b..cd06215 100644
--- a/Source/WebCore/features.pri
+++ b/Source/WebCore/features.pri
@@ -92,6 +92,7 @@ isEmpty(HAVE_QRAWFONT) {
     unix|win32-*:!embedded:!wince*: {
         DEFINES += ENABLE_NETSCAPE_PLUGIN_API=1
     } else {
+        error(wrong_branch)
         DEFINES += ENABLE_NETSCAPE_PLUGIN_API=0
     }
 }

On Linux the then case of the branch should be active but that's not the case.
Strangely enough a small example with the same condition (unix|win32-*:!embedded:!wince*:) works correctly.
It should be fixed in qmake but maybe we need a workaround for the meantime.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list