[Webkit-unassigned] [Bug 27158] Add WebKit version API to Qt.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 10 15:26:56 PDT 2009


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


robert <robert at roberthogan.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #32583|                            |review?
               Flag|                            |




--- Comment #2 from robert <robert at roberthogan.net>  2009-07-10 15:26:55 PDT ---
Created an attachment (id=32583)
 --> (https://bugs.webkit.org/attachment.cgi?id=32583)
Initial Patch

The approach is to treat WebCore/Configurations/Version.xcconfig as the
definitive place for version information. If parsing that file fails, Qt will
default to a version number hardcode in WebKit.pri, and failing that a version
hardcoded in qwebkitversion.cpp.

Things I'm not sure about yet:

- Choice of hard-coded version number if parsing Version.xcconfig fails -
currently 531.3.
- Have only tested the following qmake macro on Linux. It should work on all
other platforms, but not 100% certain.

+MAJOR_VERSION = $$system(perl WebKitTools/Scripts/get-webkit-version --major \
+                         WebCore/Configurations/Version.xcconfig)

-- 
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