<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>45163</bug_id>
          
          <creation_ts>2010-09-02 21:09:08 -0700</creation_ts>
          <short_desc>[Qt] [Symbian] Streamline QtWebKit binary deployment on Symbian</short_desc>
          <delta_ts>2010-12-02 06:56:40 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>S60 3rd edition</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laszlo Gombos">laszlo.gombos</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>david.leong</cc>
    
    <cc>hausmann</cc>
    
    <cc>koshuin</cc>
    
    <cc>yael</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>273775</commentid>
    <comment_count>0</comment_count>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2010-09-02 21:09:08 -0700</bug_when>
    <thetext>Improve the build system so that the &quot;R&amp;D = default&quot; configuration makes it easy to try build output on a production device (even if the device already includes QtWebKit).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>273777</commentid>
    <comment_count>1</comment_count>
      <attachid>66468</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2010-09-02 21:18:40 -0700</bug_when>
    <thetext>Created attachment 66468
proposed patch

Rename the default binary target to QtWebKitDev.dll for Symbian.
Set the full upgrade flag for production configuration. -- see http://library.forum.nokia.com/index.jsp?topic=/S60_5th_Edition_Cpp_Developers_Library/GUID-35228542-8C95-4849-A73F-2B4F082F0C44/sdk/doc_source/ToolsAndUtilities94/Installing/HowToUpgradeOSComponents.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>273836</commentid>
    <comment_count>2</comment_count>
    <who name="Janne Koskinen">koshuin</who>
    <bug_when>2010-09-03 02:08:42 -0700</bug_when>
    <thetext>+        QT_LIBINFIX = Dev
libinfix is meant for whole Qt that you you can pass as a parameter when running configure. Your suggestion breaks that functionality for QtWebkit and even further QtWebkitDev would try to link against e.g QtCoreDev which doesn&apos;t exist. plus will break the new QML plugin. plus all the apps would try linking against the non-infixed targets.
This won&apos;t link on clean platform.

To achieve what you are after here is to do configure -qtlibinfix dev

Second issue:
+        TARGET.UID3 = 0x200267C2,TYPE=SA,RU

This is not package definition but to define UID3 in MMP file. I am really surprised that this didn&apos;t crash at qmake or how did it go through makmake.
To replace flags in pkg files you need to use PKG_RULES.

Third issue after the flags are in correct place:

TYPE=SA,RU
There is no R(OM) U(pdate)able Qt on any of the current targets. They sit on UDA with NR flag set/unset depending on installation. Not sure about future s^4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>273844</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-09-03 02:30:03 -0700</bug_when>
    <thetext>I agree with Janne on all points.

IMHO the suffix should come from the Qt configuration, and the TARGET.UID3 changes break the non-sbs/abld build system.

I think we need to find a solution on the Qt level for TYPE=SA,RU

On S4 Qt is in the ROM. But I&apos;ve used TYPE=SA,RU successfully for replacing Qt in UDA.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>273909</commentid>
    <comment_count>4</comment_count>
      <attachid>66468</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2010-09-03 06:46:52 -0700</bug_when>
    <thetext>Comment on attachment 66468
proposed patch

Thanks for the feedbakc/help. I will give myself an r- as the patch is obviously no good. 

However I&apos;d like to see a solution where I can just build my own QtWebKit(Dev) for Symbian without rebuilding Qt (e.g. running configure). So let&apos;s try to find a solution that works for the whole Qt build system and also works just for QtWebKit.

I will take a second stab at it.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>66468</attachid>
            <date>2010-09-02 21:18:40 -0700</date>
            <delta_ts>2010-09-03 06:46:52 -0700</delta_ts>
            <desc>proposed patch</desc>
            <filename>45163.patch</filename>
            <type>text/plain</type>
            <size>1755</size>
            <attacher name="Laszlo Gombos">laszlo.gombos</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA2NjcwOSkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMjAgQEAKKzIwMTAtMDktMDIgIExhc3psbyBHb21ib3MgIDxsYXN6bG8uMS5nb21i
b3NAbm9raWEuY29tPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisg
ICAgICAgIFtRdF0gW1N5bWJpYW5dIFN0cmVhbWxpbmUgUXRXZWJLaXQgYmluYXJ5IGRlcGxveW1l
bnQgb24gU3ltYmlhbgorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5j
Z2k/aWQ9NDUxNjMKKworICAgICAgICBJbXByb3ZlIHRoZSBidWlsZCBzeXN0ZW0gc28gdGhhdCB0
aGUgIlImRCA9IGRlZmF1bHQiIGNvbmZpZ3VyYXRpb24KKyAg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s
bCAtVGNiCisgICAgICAgIFRBUkdFVC5VSUQzID0gMHgyMDAyNjdDMixUWVBFPVNBLFJVCiAgICAg
fSBlbHNlIHsKICAgICAgICAgVEFSR0VULkNBUEFCSUxJVFkgPSBBbGwgLVRjYiAtRFJNIC1BbGxG
aWxlcwotICAgIH0KLSAgICBpc0VtcHR5KFFUX0xJQklORklYKSB7Ci0gICAgICAgIFRBUkdFVC5V
SUQzID0gMHgyMDAyNjdDMgotICAgIH0gZWxzZSB7CiAgICAgICAgIFRBUkdFVC5VSUQzID0gMHhF
MDAyNjdDMgorICAgICAgICBRVF9MSUJJTkZJWCA9IERldgogICAgIH0KKwogICAgIHdlYmtpdGxp
YnMuc291cmNlcyA9IFF0V2ViS2l0JCR7UVRfTElCSU5GSVh9LmRsbAogICAgIENPTkZJRyhRVERJ
Ul9idWlsZCk6IHdlYmtpdGxpYnMuc291cmNlcyA9ICQkUU1BS0VfTElCRElSX1FULyQkd2Via2l0
bGlicy5zb3VyY2VzCiAgICAgd2Via2l0bGlicy5wYXRoID0gL3N5cy9iaW4K
</data>
<flag name="review"
          id="55502"
          type_id="1"
          status="-"
          setter="laszlo.gombos"
    />
          </attachment>
      

    </bug>

</bugzilla>