<?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>37716</bug_id>
          
          <creation_ts>2010-04-16 11:12:20 -0700</creation_ts>
          <short_desc>WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.h does not compile with minimal cofigured Qt</short_desc>
          <delta_ts>2010-04-19 06:40:26 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>S60 3rd edition</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>37442</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chang Shu">cshu</reporter>
          <assigned_to name="Chang Shu">cshu</assigned_to>
          <cc>laszlo.gombos</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>213307</commentid>
    <comment_count>0</comment_count>
    <who name="Chang Shu">cshu</who>
    <bug_when>2010-04-16 11:12:20 -0700</bug_when>
    <thetext>NotificationPresenterClientQt.h refers QSystemTrayIcon in qsystemtrayicon.h.
But QSystemTrayIcon is not declared with QT_NO_SYSTEMTRAYICON defined, which is true in minimal and small config of Qt.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213318</commentid>
    <comment_count>1</comment_count>
      <attachid>53544</attachid>
    <who name="Chang Shu">cshu</who>
    <bug_when>2010-04-16 11:26:24 -0700</bug_when>
    <thetext>Created attachment 53544
fix patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213902</commentid>
    <comment_count>2</comment_count>
      <attachid>53544</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2010-04-18 21:32:59 -0700</bug_when>
    <thetext>Comment on attachment 53544
fix patch

This patch would be more future-proof and would work in more build setups if test would check if QT_NO_SYSTEMTRAYICON is defined.

I would also prefer to guard &quot;DEFINES += ENABLE_NOTIFICATIONS=1&quot; statement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213903</commentid>
    <comment_count>3</comment_count>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2010-04-18 21:33:39 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 37442 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>214004</commentid>
    <comment_count>4</comment_count>
    <who name="Chang Shu">cshu</who>
    <bug_when>2010-04-19 06:40:26 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 53544 [details])
&gt; This patch would be more future-proof and would work in more build setups if
&gt; test would check if QT_NO_SYSTEMTRAYICON is defined.
&gt; 
&gt; I would also prefer to guard &quot;DEFINES += ENABLE_NOTIFICATIONS=1&quot; statement.

I don&apos;t think the pri file is able to detect if QT_NO_SYSTEMTRAYICON is defined.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>53544</attachid>
            <date>2010-04-16 11:26:24 -0700</date>
            <delta_ts>2010-04-18 21:32:59 -0700</delta_ts>
            <desc>fix patch</desc>
            <filename>bug37716_1.patch</filename>
            <type>text/plain</type>
            <size>1260</size>
            <attacher name="Chang Shu">cshu</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KL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Fj
b250YWlucyhERUZJTkVTLCBFTkFCTEVfTk9USUZJQ0FUSU9OUz0uKTogREVGSU5FUyArPSBFTkFC
TEVfTk9USUZJQ0FUSU9OUz0xCiAKKyMgU2hvdWxkIG5vdCBlbmFibGUgTk9USUZJQ0FUSU9OUyBp
ZiBRdCBkaXNhYmxlcyBTWVNURU1UUkFZSUNPTgorQ09ORklHKG1pbmltYWwtY29uZmlnKSB8fCBD
T05GSUcoc21hbGwtY29uZmlnKTogREVGSU5FUyAtPSBFTkFCTEVfTk9USUZJQ0FUSU9OUz0xCisK
IGdyZWF0ZXJUaGFuKFFUX01JTk9SX1ZFUlNJT04sIDUpIHsKICAgICAhY29udGFpbnMoREVGSU5F
UywgRU5BQkxFXzNEX1JFTkRFUklORz0uKTogREVGSU5FUyArPSBFTkFCTEVfM0RfUkVOREVSSU5H
PTEKIH0K
</data>
<flag name="review"
          id="37303"
          type_id="1"
          status="-"
          setter="laszlo.gombos"
    />
          </attachment>
      

    </bug>

</bugzilla>