title: new Date("YYYY-MM-DD") stopped working in Qt WebKit after removing MacPorts
body: <p>On my OS X 10.7.3 (Lion) laptop, I cannot parse JavaScript date strings with Qt WebKit using the Date constructor. Using either jasmine-headless-webkit or phantomJS, all calls like:</p>
  
  <pre><code>new Date("2012-04-10")
  </code></pre>
  
  <p>always return</p>
  
  <pre><code>"Invalid Date"
  </code></pre>
  
  <p>instead of a valid Date object. A few weeks back, everything was working fine, and I've checked this on half a dozen computers with a similar setup and cannot reproduce the problem anywhere else.</p>
  
  <p>I am fairly certain the problems started when I decided to clear out my old supposedly-unused MacPorts installation (I have long since switched to Homebrew and was doing some house cleaning). I suspect there is a dynamically linked library that has been removed from my system, which is used by Qt for date parsing.</p>
  
  <p>Does anyone have any idea what this date parsing library might be called? Any idea if I can install it with Homebrew or somehow manually repair the missing dependency? </p>
  
  <p>I have tried reinstalling Qt and many other libraries, but nothing has fixed the problem.</p>