<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">

    
	<channel>

	<title>Qt DevNet forums: Qt WebKit</title>
	<link>http://qt-project.org/forums/viewforum/21/</link>
	<description>RSS feed for latest threads in Qt WebKit</description>
	<copyright>Copyright 2012 Qt Developer Network</copyright>
	<docs>http://www.rssboard.org/rss-specification</docs>
	<generator>ExpressionEngine v2.3.1 http://expressionengine.com/</generator>
	<lastBuildDate>Fri, 14 Jan 2011 17:29:35 GMT</lastBuildDate>
	<atom:link href="http://qt-project.org/feeds/forum/21" rel="self" type="application/rss+xml" />

    

	
        <item>
            <title>How to catch Plugin errors in QWebView</title>
            <link>http://qt-project.org/forums/viewthread/17447</link>
            <author>Ashish Mittal</author>
            <description><![CDATA[I am using QWebView to load websites which has adobe flash(e.g. youtube videos). so that QWebView interacts with Adobe flash player plugin already installed in my machine, but in case if there is any error occured  within plugin , then how to catch it in QWebView? so that at least I can display some error message to my user to take some further action.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17447</guid>
            <pubDate>Wed, 23 May 2012 13:15:16 GMT</pubDate>
        </item>
	
        <item>
            <title>Qt Webkit &#45; Browser Interaction issue [SOLVED]</title>
            <link>http://qt-project.org/forums/viewthread/17413</link>
            <author>s7777</author>
            <description><![CDATA[Hello everyone, I&#8217;m developing a Qt program that contains an OpenStreetMap application as a HTML page and this page is able to access a database (via submitting an ajax form that contains the start and end dates of queries) in order to retrieve and visualize queries on the map. I would like to move this querying process to Qt from the HTML/Javascript part. So far I managed to interact with the browser via Qt but I still have a problem that is below: (by the way, the database is a MySQL database on XAMPP and trying to fetch queries from the HTML window&#8217;s fetch button works &#45;although it also sometimes shows the POST failed message and then clicking again fetches and shows the queries correctly, I haven&#8217;t been able to figure that out either)

	1) The fetch queries button of Qt is clicked and an alert box is supposed to pop up saying that Ajax POST is failed (the database is not on my current laptop and I should be getting the error when I click either the HTML Browser window&#8217;s fetch queries button or the Qt&#8217;s fetch button)

	2) But also, whenever I click the Fetch queries button of the HTML Browser, it displays the POST warning but also displays extra POST warning alert boxes depending on how many times I have clicked the Qt&#8217;s Fetch queries button. (for example if I have clicked the Qt&#8217;s fetch queries button 5 times in a row and then clicked the HTML window&#8217;s fetch button once, I get 6 POST failed messages in a row, I just want the queries to be displayed when I click Qt&#8217;s fetch button instead of HTML&#8217;s fetch button)

	The HTML code is like the following:

	&amp;lt;form id=&amp;quot;ajaxForm&amp;quot; action=&amp;quot;index.php&amp;quot; method=&amp;quot;post&amp;quot;&amp;gt;
Start &amp;lt;input type=&amp;quot;text&amp;quot; name = &amp;quot;date1&amp;quot; id = &amp;quot;datepicker&amp;quot; value = &amp;quot;2011&#45;07&#45;13&amp;quot; &amp;gt;
&amp;lt;input type=&amp;quot;text&amp;quot; name = &amp;quot;time1&amp;quot; id = &amp;quot;timepicker1&amp;quot; value = &amp;quot;00:00&amp;quot; &amp;gt; 
&amp;nbsp;
End &amp;lt;input type=&amp;quot;text&amp;quot; name = &amp;quot;date2&amp;quot; id = &amp;quot;datepicker2&amp;quot; value = &amp;quot;2011&#45;07&#45;13&amp;quot; &amp;gt;
&amp;lt;input type=&amp;quot;text&amp;quot; name = &amp;quot;time2&amp;quot; id = &amp;quot;timepicker2&amp;quot; value = &amp;quot;00:01&amp;quot; &amp;gt;


	The post method of AJAX form is this:
$&#40;document&#41;.ready&#40;function&#40;&#41;&#123;
&amp;nbsp;
&amp;nbsp;// ajaxForm submit
&amp;nbsp;$&#40;&apos;#ajaxForm&apos;&#41;.submit&#40;function&#40;&#41; &#123;
&amp;nbsp; $.ajax&#40;&#123;
&amp;nbsp; &amp;nbsp;type: &apos;POST&apos;,
&amp;nbsp; &amp;nbsp;url: &apos;heatQuery.php&apos;,
&amp;nbsp; &amp;nbsp;data: $&#40;this&#41;.serialize&#40;&#41;,
&amp;nbsp; &amp;nbsp;dataType: &apos;json&apos;,
&amp;nbsp; &amp;nbsp;success: function&#40;response&#41;
&amp;nbsp; &amp;nbsp;&#123; &amp;nbsp; 
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// update the points for heatmap layer &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;updateHeatMap&#40;response&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp;&#125;,
&amp;nbsp; &amp;nbsp;error: function&#40;errorMsg&#41;
&amp;nbsp; &amp;nbsp;&#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;alert&#40;&apos;Error in Ajax POST&apos;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#125;
&amp;nbsp; &#125;&#41;;
&amp;nbsp;
&amp;nbsp; return false;
&amp;nbsp;&#125;&#41;;
&#125;&#41;;


	And the Qt code that calls the function is this:

	void MainWindow::onButtonClicked&#40;&#41; // clicking the button in order to POST 
&#123;
&amp;nbsp; &amp;nbsp; //the QString a is the same ajax post function as declared above
&amp;nbsp;
&amp;nbsp; &amp;nbsp; QString a = &amp;quot;$(document).ready(function()&#123;$(&apos;#ajaxForm&apos;).submit(function() &#123;$.ajax(&#123;type: &apos;POST&apos;,url: &apos;heatQuery.php&apos;,data: $(this).serialize(),dataType: &apos;json&apos;,success: function(response)&#123;updateHeatMap(response);&#125;,error: function(errorMsg)&#123;alert(&apos;Error in Ajax POST&apos;);&#125;&#125;);return false;&#125;);&#125;);&amp;quot;; 
&amp;nbsp;
&amp;nbsp; &amp;nbsp; this&#45;&amp;gt;view&#45;&amp;gt;page&#40;&#41;&#45;&amp;gt;mainFrame&#40;&#41;&#45;&amp;gt;evaluateJavaScript&#40;a&#41;;
&amp;nbsp;
&#125;


	Also, the heatQuery.php and theHeatmap.html files are in the D:/xampp/htdocs folder since server runs them. And finally, I have initialized the WebView as

	view&#45;&amp;gt;load&#40;QUrl&#40;&amp;quot;http://localhost/theHeatmap.html&amp;quot;&#41;&#41;;


	What is wrong here? Thanks.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17413</guid>
            <pubDate>Tue, 22 May 2012 14:09:58 GMT</pubDate>
        </item>
	
        <item>
            <title>When I write a Picasa application using Webkit + HTML + Javascript, the memory cost is always increasing!</title>
            <link>http://qt-project.org/forums/viewthread/17402</link>
            <author>qdhuxp</author>
            <description><![CDATA[I write a hybrid app to get the Picasa pictures using QT Webkit and HTML+Javascript. In my application, there are 2 html pages, one is Featured photos(I name it as A) to get pictures from Picasa, the other one(I name it as B) is a normal html page with no function. And I met a problem about the memory cost:
1. When I launch the app, A is showing, the memory size is 40M;
2. When I click an html tag to jump to B, the memory size is 38M;
3. When back to A from B, the memory size is 42M;
4. When back to B from A, the memory size is 40M;
5. When back to A from B, the memory size is 44M;

  It means when the A is showing, the memory size is added 2M. It seems like a memory leak of webkit?
  I searched a lot but has no solution. Please help!   
  Appreciate!!]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17402</guid>
            <pubDate>Tue, 22 May 2012 05:27:57 GMT</pubDate>
        </item>
	
        <item>
            <title>QtWebkit &#45; Strict HTML</title>
            <link>http://qt-project.org/forums/viewthread/17283</link>
            <author>CMGeorge</author>
            <description><![CDATA[Hi,

	I have a issue with the QtWebView. I&#8217;m using Qt 4.8.1, but also the same result i have with all latest builds (all from Qt SDK installer)
Is there any solution to make the browser to ignore and pass over the html errors?

	eg; having &amp;lt;h4&amp;gt;sdadasda&amp;lt;/h3&amp;gt; it render page until to this line, and after this the webview render the error message.

	Thank you in advanced.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17283</guid>
            <pubDate>Wed, 16 May 2012 20:50:29 GMT</pubDate>
        </item>
	
        <item>
            <title>Implement word selection under cursor on right mouse click</title>
            <link>http://qt-project.org/forums/viewthread/17268</link>
            <author>[vlz]Lion</author>
            <description><![CDATA[Before Qt 4.8 after right mouse click on web page the word or link under cursor was selected, but in version 4.8 this behaviour was removed from webkit, how can I implement such functionality in Qt application? May be java&#45;script can do this?]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17268</guid>
            <pubDate>Wed, 16 May 2012 13:20:49 GMT</pubDate>
        </item>
	
        <item>
            <title>Access to WebElements through WebKit2 Touch API</title>
            <link>http://qt-project.org/forums/viewthread/17244</link>
            <author>webkitresearch</author>
            <description><![CDATA[How can we get access in Webkit2 to all WebElements x/y coordinates for a given loaded HTML page. Our problem is that the information we want is in the DOM but the DOM does not seem accessible through the WebKit2 Touch API.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17244</guid>
            <pubDate>Tue, 15 May 2012 16:53:56 GMT</pubDate>
        </item>
	
        <item>
            <title>link error with static webkit 4.8.1</title>
            <link>http://qt-project.org/forums/viewthread/17226</link>
            <author>chr_charles</author>
            <description><![CDATA[Hi all,

	I&#8217;m stuck with a basic link error.

	I&#8217;m using Visual 2008 and the Qt pluging on Windows 7 &#215;64 and Qt 4.8.1

	I have a small class who inherits from QWebPage and I cannot link it with QWebkit.

	my class :

	class MyQWebPage: public QWebPage &#123;
&amp;nbsp;Q_OBJECT ;
private:
&amp;nbsp;ResourceObject &amp;amp; resource;
public:
&amp;nbsp;MyQWebPage&#40;ResourceObject &amp;amp; res&#41;;
&amp;nbsp;virtual void javaScriptAlert&#40;QWebFrame * frame, const QString &amp;amp; msg&#41;;
&amp;nbsp;virtual bool javaScriptConfirm&#40;QWebFrame * frame, const QString &amp;amp; msg&#41;;
&amp;nbsp;virtual bool javaScriptPrompt&#40;QWebFrame * frame, const QString &amp;amp; msg, const QString &amp;amp; defaultValue, QString * result&#41;;
&amp;nbsp;virtual void javaScriptConsoleMessage&#40;const QString &amp;amp; message, int lineNumber, const QString &amp;amp; sourceID&#41;;
public slots:
&amp;nbsp;bool shouldInterruptJavaScript&#40;&#41;;
&#125;;


	first error :
1&amp;gt;mywebclass.obj : error LNK2001: unresolved external symbol &#8220;public: static struct QMetaObject const QWebPage::staticMetaObject&#8221; (?staticMetaObject@QWebPage@@2UQMetaObject@@B)

	And I have 8 of them like this one.

	In the Qt project settings, QwebKit is included, on the project setting the lib file QtWebKitd4.lib is a dependencies.

	In the file there are other class like
class MyNetworkAccessManager: public QNetworkAccessManager &#123;
&amp;nbsp;Q_OBJECT
private:
&amp;nbsp;...
public:
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ...
signals:
&amp;nbsp;...
&#125;;

but those one does not produce link error.

	Can someone help me ?

	Thanks.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17226</guid>
            <pubDate>Tue, 15 May 2012 10:57:21 GMT</pubDate>
        </item>
	
        <item>
            <title>Printing a QWebView doesn&apos;t seem to honour page breaks?</title>
            <link>http://qt-project.org/forums/viewthread/17156</link>
            <author>vallidor</author>
            <description><![CDATA[I assume I&#8217;m doing something wrong here.  I wrote a simplified version of what I&#8217;m trying to do; load an HTML page into a QWebView, have a:

	&amp;lt;p style=&amp;quot;page&#45;break&#45;before:always;&amp;quot; /&amp;gt;


	&#8230;which, as I understand it, should create proper page breaks.

	This works as expected when using Chromium and Firefox, but from my little program I&#8217;m not having any luck:

	void WebkitPrintTest::loadPage&#40;&#41;
&#123;
&amp;nbsp; &amp;nbsp; ui&#45;&amp;gt;webView&#45;&amp;gt;load&#40;QUrl&#40;&amp;quot;qrc:///webkit_print_test.html&amp;quot;&#41;&#41;;
&#125;
&amp;nbsp;
void WebkitPrintTest::doPrint&#40;&#41;
&#123;
&amp;nbsp; &amp;nbsp; QPrinter *printer = new QPrinter&#40;&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; QPrintDialog printDialog&#40;printer, ui&#45;&amp;gt;webView&#41;;
&amp;nbsp; &amp;nbsp; printDialog.setWindowTitle&#40;&amp;quot;Printing Thing&amp;quot;&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; if&#40; printDialog.exec&#40;&#41; == QDialog::Accepted &#41;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ui&#45;&amp;gt;webView&#45;&amp;gt;print&#40;printer&#41;;
&#125;


	I&#8217;ve verified that the paragraph element is there, that the style includes the page&#45;break&#45;before: always attribute, and copying and pasting this into a file, loading in a browser, and printing, will properly insert page breaks.

	However, in my application, they are entirely ignored.  The paragraph break is inserted, but not a page break.  It prints fine besides this.

	I figure there&#8217;s just an option that I need to enable?  I&#8217;d rather not generate each page in a standalone QWebView if I can avoid it.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17156</guid>
            <pubDate>Fri, 11 May 2012 23:17:09 GMT</pubDate>
        </item>
	
        <item>
            <title>Problem with using more than one QWebInspector and QWebPage</title>
            <link>http://qt-project.org/forums/viewthread/17099</link>
            <author>jmnemonik</author>
            <description><![CDATA[There is QWebPage (#1) with the connected QWebInspector. I open one more QWebPage (#2) (also with the connected QWebInspector). In the code of #1 the operator &#8216;debugger&#8217; in js&#45;code is right after the operator &#8216;open a window&#8217;. Also there is the operator &#8216;debugger&#8217; in the beginning of a script&#45;tag. As result only one debugger was activated. If we have one debugger only either in #1 or #2 code than QWebInspector reacts adequately to both debuggers.
Perhaps the reason is we use one ScriptDebuggerServer for all WebInspectors?
Is there a way to set up a few QWebPage with QWebInspector connected to each QWebPag to work correctly?
I use 4.7.4 MSVC qt library and msvc IDE. Also I commented the code of ::hideEvent in QWebInspector for Inspector doesn&#8217;t disconnect from the scrypt.
class QBrowseWnd : public QWebView, protected QScriptable
&#123;
&amp;nbsp;Q_OBJECT
&amp;nbsp;QBrowseWnd&#40;QWidget* parent&#41; : QWebView&#40;parent&#41;
&amp;nbsp;&#123;
&amp;nbsp; Initialize&#40;&#41;;
&amp;nbsp;&#125;
&amp;nbsp;void Initialize&#40;&#41;
&amp;nbsp;&#123;
&amp;nbsp; QWebSettings::globalSettings&#40;&#41;&#45;&amp;gt;setAttribute&#40;QWebSettings::DeveloperExtrasEnabled, true&#41;;
&amp;nbsp; QMyWebPage* myWp = safe_new QMyWebPage&#40;this&#41;;
&amp;nbsp; setPage&#40;myWp&#41;;
&amp;nbsp; 
&amp;nbsp; QWebSettings::globalSettings&#40;&#41;&#45;&amp;gt;setAttribute&#40;QWebSettings::PluginsEnabled, true&#41;;
&amp;nbsp; QWidgetFactory* pMyFactory = safe_new QWidgetFactory&#40;this&#41;;
&amp;nbsp; page&#40;&#41;&#45;&amp;gt;setPluginFactory&#40;pMyFactory&#41;;
&amp;nbsp; 
&amp;nbsp; bool fres = QObject::connect&#40;page&#40;&#41;&#45;&amp;gt;mainFrame&#40;&#41;, SIGNAL&#40;javaScriptWindowObjectCleared&#40;&#41;&#41;, this, SLOT&#40;ReloadJSObject&#40;&#41;&#41;&#41;;
&amp;nbsp; page&#40;&#41;&#45;&amp;gt;mainFrame&#40;&#41;&#45;&amp;gt;addToJavaScriptWindowObject&#40;&amp;quot;external&amp;quot;, this&#41;;
&amp;nbsp;&#125;
&amp;nbsp;
&amp;nbsp;Q_INVOKABLE QVariant navigate&#40;QString sUrl&#41;
&amp;nbsp;&#123;
&amp;nbsp; m_sUrl = sUrl;
&amp;nbsp; bool res = QObject::connect&#40;this, SIGNAL&#40;LoadContent&#40;&#41;&#41;, this, SLOT&#40;AutoLoadQ&#40;&#41;&#41;, Qt::QueuedConnection&#41;;
&amp;nbsp; emit LoadContent&#40;&#41;;
&amp;nbsp;&#125;
&amp;nbsp;
&amp;nbsp;void AutoLoadQ&#40;&#41;
&amp;nbsp;&#123;
&amp;nbsp; ShowInspector&#40;&#41;;
&amp;nbsp; HideInspector&#40;&#41;;
&amp;nbsp; disconnect&#40;this, SLOT&#40;AutoLoadQ&#40;&#41;&#41;&#41;;
&amp;nbsp; load&#40;m_sUrl&#41;;
&amp;nbsp;&#125;
&amp;nbsp;
&amp;nbsp;void QBrowseWnd::ShowInspector&#40;&#41;
&amp;nbsp;&#123;
&amp;nbsp; QEventLoop el;
&amp;nbsp; while&#40;true&#41;
&amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp;bool fevent = el.processEvents&#40;&#41;;
&amp;nbsp; &amp;nbsp;if&#40;!fevent&#41; &amp;nbsp;break;
&amp;nbsp; &#125;
&amp;nbsp;
&amp;nbsp; QMyWebPage* p = dynamic_cast&amp;lt;QMyWebPage*&amp;gt;&#40;page&#40;&#41;&#41;;
&amp;nbsp; if&#40;p&#41; p&#45;&amp;gt;ShowInspector&#40;&#41;;
&amp;nbsp;
&amp;nbsp;
&amp;nbsp; while&#40;true&#41;
&amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp;bool fevent = el.processEvents&#40;&#41;;
&amp;nbsp; &amp;nbsp;if&#40;!fevent&#41; &amp;nbsp;break;
&amp;nbsp; &#125;
&amp;nbsp;&#125;
&amp;nbsp;
&amp;nbsp;void HideInspector&#40;&#41;
&amp;nbsp;&#123;
&amp;nbsp; QMyWebPage* p = dynamic_cast&amp;lt;QMyWebPage*&amp;gt;&#40;page&#40;&#41;&#41;;
&amp;nbsp; if&#40;p&#41; p&#45;&amp;gt;HideInspector&#40;&#41;;
&amp;nbsp;
&amp;nbsp; QEventLoop el;
&amp;nbsp; while&#40;true&#41;
&amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp;bool fevent = el.processEvents&#40;&#41;;
&amp;nbsp; &amp;nbsp;if&#40;!fevent&#41; &amp;nbsp;break;
&amp;nbsp; &#125;
&amp;nbsp;&#125;
&amp;nbsp;signals:
&amp;nbsp;void LoadContent&#40;&#41;;
&amp;nbsp;
&amp;nbsp;protected slots:
&amp;nbsp;void AutoLoadQ&#40;&#41;;
&#125;
&amp;nbsp;
class QMyWebPage : public QWebPage
&#123;
&amp;nbsp;Q_OBJECT
protected:
&amp;nbsp;typedef QSharedPointer&amp;lt;QWebInspector&amp;gt; TInspectorPtr;
&amp;nbsp;TInspectorPtr m_pInspector;
public:
&amp;nbsp;QMyWebPage::QMyWebPage&#40; QObject * parent /*= 0*/ &#41; : QWebPage&#40;parent&#41;
&amp;nbsp;&#123;
&amp;nbsp; m_pInspector = TInspectorPtr&#40;safe_new QWebInspector&#40;&#41;&#41;;
&amp;nbsp; m_pInspector&#45;&amp;gt;setPage&#40;this&#41;;
&amp;nbsp;&#125;
&amp;nbsp;
&amp;nbsp;void QMyWebPage::ShowInspector&#40;&#41;
&amp;nbsp;&#123;
&amp;nbsp; if&#40;!m_pInspector&#45;&amp;gt;isVisible&#40;&#41;&#41; m_pInspector&#45;&amp;gt;setVisible&#40;true&#41;;
&amp;nbsp; if&#40;!m_pInspector&#45;&amp;gt;isActiveWindow&#40;&#41;&#41; m_pInspector&#45;&amp;gt;activateWindow&#40;&#41;;
&amp;nbsp;&#125;
&amp;nbsp;
&amp;nbsp;void QMyWebPage::HideInspector&#40;&#41;
&amp;nbsp;&#123;
&amp;nbsp; m_pInspector&#45;&amp;gt;setVisible&#40;false&#41;;
&amp;nbsp;&#125;
&#125;]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17099</guid>
            <pubDate>Thu, 10 May 2012 11:18:03 GMT</pubDate>
        </item>
	
        <item>
            <title>QtWebkit Build Error</title>
            <link>http://qt-project.org/forums/viewthread/17089</link>
            <author>hari</author>
            <description><![CDATA[Hi, 

	I am trying to build QT5 QtWekbit. 
I was able to build QT5 other modules sucessfully. But when i am trying to build QtWebkit, I am getting : 
In file included from /home/user/qt5/qt&#45;everywhere&#45;opensource&#45;src&#45;5.0.0/qtwebkit/Source/WebKit2/UIProcess/API/qt/qwebiconimageprovider.cpp:21:0:
/home/user/qt5/qt&#45;everywhere&#45;opensource&#45;src&#45;5.0.0/qtwebkit/Source/WebKit2/UIProcess/API/qt/qwebiconimageprovider_p.h:24:51: fatal error: QtDeclarative/QDeclarativeImageProvider: No such file or directory
compilation terminated.
make&#91;2&#93;: *** &#91;obj/release/UIProcess/API/qt/qwebiconimageprovider.o&#93; Error 1


	Actually QDeclarativeImageProvider (as per my understanding its part of Qt4.X which is deprecated now) is present inside QtQuick1 .  

	Let me know anybody as pointers to resolve this. 

	Thanks]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17089</guid>
            <pubDate>Thu, 10 May 2012 08:30:03 GMT</pubDate>
        </item>
	
        <item>
            <title>Error in loading Webpage&#45;&gt;QFont::setPixelSize: Pixel size</title>
            <link>http://qt-project.org/forums/viewthread/17059</link>
            <author>Ashish Mittal</author>
            <description><![CDATA[Hi, 
I am trying to load one webage which has one flash video. But that video is not getting played and I am getting the below mention debugging message.
QFont::setPixelSize: Pixel size &amp;lt;= 0 (0)

	URL is :&#45; http://screen.yahoo.com/dark&#45;shadows&#45;featurette&#45;strange&#45;family&#45;29147710.html

	Note:&#45; I am using latest Qt 4.8.1
&amp;nbsp; webView = new QWebView&#40;&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp;webView&#45;&amp;gt;settings&#40;&#41;&#45;&amp;gt;setAttribute&#40;QWebSettings::PluginsEnabled, true&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp;webView&#45;&amp;gt;settings&#40;&#41;&#45;&amp;gt;setAttribute&#40;QWebSettings::JavascriptEnabled, true&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp;webView&#45;&amp;gt;settings&#40;&#41;&#45;&amp;gt;setAttribute&#40;QWebSettings::JavaEnabled, true&#41;;
&amp;nbsp; &amp;nbsp; &amp;nbsp;webView&#45;&amp;gt;settings&#40;&#41;&#45;&amp;gt;setAttribute&#40;QWebSettings::JavascriptCanOpenWindows, true&#41;;
webView&#45;&amp;gt;setUrl&#40;QUrl&#40;&amp;quot;http://screen.yahoo.com/dark&#45;shadows&#45;featurette&#45;strange&#45;family&#45;29147710.html&amp;quot;&#41;&#41;;
webView&#45;&amp;gt;setGeometry&#40;10,10,800,800&#41;;
webView&#45;&amp;gt;show&#40;&#41;;]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17059</guid>
            <pubDate>Wed, 09 May 2012 13:35:50 GMT</pubDate>
        </item>
	
        <item>
            <title>QT5 qtwebkit</title>
            <link>http://qt-project.org/forums/viewthread/17044</link>
            <author>hari</author>
            <description><![CDATA[Hi 
Anybody compiled with QTWebkit in QT5 alpha release?

	I was trying to cross compile QTWebkit for MIPS based platform. The plaform supports OpenGL ES2.0. Hence I configured with &#45;opengl es2
  

	While compiling qtwebkit, it gave error in graphics/qt/GraphicsContext3DQt.cpp 

	Error: &#8220;GL_READ_FRAMEBUFFER_EXT&#8221; is not declared. 

	This is supposed to Compile only if Desktop version (full) OpenGL is enabled. 

	I am not sure if I am missing some thing. Let me know if any body has any pointers on this issue.

	For full config details : 

	/configure &#45;opensource &#45;prefix /home/user/qt5/install &#45;arch mips &#45;xplatform linux&#45;nxs&#45;mipsel&#45;uclibc&#45;g++ &#45;opensource &#45;nomake tests &#45;no&#45;xcb &#45;eglfs &#45;no&#45;mips_dsp &#45;opengl es2 &#45;qt&#45;zlib &#45;qt&#45;libpng &#45;confirm&#45;license &#45;qt&#45;libjpeg &#45;qt&#45;pcre &#45;verbose]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/17044</guid>
            <pubDate>Wed, 09 May 2012 07:05:45 GMT</pubDate>
        </item>
	
        <item>
            <title>Displaying help through QtHelp using QWebView</title>
            <link>http://qt-project.org/forums/viewthread/16983</link>
            <author>Woody</author>
            <description><![CDATA[Hi all

	This is what i&#8217;m trying to achieve: I&#8217;ve made a helpcollection&#45;file with some html&#45;content files in it. I want to display this pages in a QWebView.
I can display the pages, but my images and css I added aren&#8217;t displayed.

	I used QWebInspector to see if my content is loaded, but i can&#8217;t really make sense out of it.

The example I used here, has to be a table with borders, but as you can see, no borders are shown (doc has to be the collectionfile I loaded, I think)

	Code behind it:
QString myHtmlContent = QString&#40;m_helpEngine&#45;&amp;gt;fileData&#40;url&#41;&#41;;
&amp;nbsp; &amp;nbsp; QUrl myBaseUrl = QUrl&#40;&amp;quot;qthelp://com.mynamespace/doc&amp;quot;&#41;;
&amp;nbsp; &amp;nbsp; if&#40;!myHtmlContent.isEmpty&#40;&#41;&#41;
&amp;nbsp; &amp;nbsp; &#123;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ui&#45;&amp;gt;webView&#45;&amp;gt;setHtml&#40;myHtmlContent, myBaseUrl&#41;;
&amp;nbsp; &amp;nbsp; &#125;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; ui&#45;&amp;gt;webView&#45;&amp;gt;page&#40;&#41;&#45;&amp;gt;settings&#40;&#41;&#45;&amp;gt;setAttribute&#40;QWebSettings::DeveloperExtrasEnabled, true&#41;;
&amp;nbsp; &amp;nbsp; QWebInspector *inspector = new QWebInspector&#40;ui&#45;&amp;gt;webView&#41;;
&amp;nbsp; &amp;nbsp; inspector&#45;&amp;gt;setPage&#40;ui&#45;&amp;gt;webView&#45;&amp;gt;page&#40;&#41;&#41;;
&amp;nbsp; &amp;nbsp; inspector&#45;&amp;gt;setFixedSize&#40;HelperWindow::width&#40;&#41;, 400&#41;;
&amp;nbsp; &amp;nbsp; inspector&#45;&amp;gt;setVisible&#40;true&#41;;


	Is there maybe anybody who knows more about this topic? And willing to help me achieve this thing.

	Thanks in Advance

	PS: If this topic isn&#8217;t in the right forum, please say so, thanks.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/16983</guid>
            <pubDate>Mon, 07 May 2012 10:08:20 GMT</pubDate>
        </item>
	
        <item>
            <title>Will an application using QtWebkit be fully cross platform?</title>
            <link>http://qt-project.org/forums/viewthread/16977</link>
            <author>jjk1</author>
            <description><![CDATA[Hi everyone,

	I would like to know if an Qt application using the QtWebkit component (browser view) will work across both 32&#45;bit and 64&#45;bit versions of Windows, Mac OSX, and Linux?

	Is the QtWebkit browser able to render modern web pages? What about HTML5 and AJAX and Javascript?

	Is it possible to use QtWebkit in a headless manner?

	Thank you.]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/16977</guid>
            <pubDate>Mon, 07 May 2012 08:01:00 GMT</pubDate>
        </item>
	
        <item>
            <title>[Problem] &#45; Import Webkit in a Qt Project</title>
            <link>http://qt-project.org/forums/viewthread/16973</link>
            <author>mistersunflower</author>
            <description><![CDATA[Hello :)

	I download the latest version of Webkit on their site, i built it but I can&#8217;t import it into my project!
If I add this code in my main.cpp, i get errors (if i don&#8217;t put this,  all works but i haven&#8217;t web window lol ) :

	QWebView *web = new QWebView&#40;&#41;;
web&#45;&amp;gt;load&#40;QUrl&#40;&amp;quot;http://www.google.com&amp;quot;&#41;&#41;;
web&#45;&amp;gt;show&#40;&#41;;


	I get the following errors:

	:&#45;1: avertissement : directory not found for option &apos;&#45;L/usr/local/pgsql/lib&apos;
:&#45;1: avertissement : directory not found for option &apos;&#45;L/tmp/qt&#45;stuff&#45;85167/source/qt&#45;everywhere&#45;opensource&#45;src&#45;4.8.1/Desktop/Qt/4.8.1/gcc/lib&apos;
:&#45;1: avertissement : directory not found for option &apos;&#45;F/tmp/qt&#45;stuff&#45;85167/source/qt&#45;everywhere&#45;opensource&#45;src&#45;4.8.1/Desktop/Qt/4.8.1/gcc/lib&apos;
:&#45;1: erreur : symbol&#40;s&#41; not found for architecture x86_64
:&#45;1: erreur : collect2: ld returned 1 exit status


	Here is my code :)

	The .pro file​​:

	TEMPLATE = app
&amp;nbsp;
WEBKITHOME = /Users/Etienne/WebKit
&amp;nbsp;
QT &#45;= webkit
debug: QMAKE_LIBDIR_FLAGS = &#45;L$$WEBKITHOME/WebKitBuild/Debug/lib
release: QMAKE_LIBDIR_FLAGS = &#45;L$$WEBKITHOME/WebKitBuild/Release/lib
&amp;nbsp;
LIBS = &#45;QtWebKit
&amp;nbsp;
INCLUDEPATH = $$WEBKITHOME/Source/WebKit/qt/Api $$INCLUDEPATH
release: QMAKE_RPATHDIR = $$WEBKITHOME/WebKitBuild/Release/lib $$QMAKE_RPATHDIR
debug: QMAKE_RPATHDIR = $$WEBKITHOME/WebKitBuild/Debug/lib $$QMAKE_RPATHDIR
&amp;nbsp;
SOURCES += \
&amp;nbsp; &amp;nbsp; main.cpp


	And my main.cpp:

	#include &amp;lt;QtGui/QApplication&amp;gt;
#include &amp;quot;qwebview.h&amp;quot; &amp;nbsp; &amp;nbsp; // Here we put qwebview.h, &amp;nbsp;not &amp;lt;QWebView&amp;gt; because we changed the directory of the webview in the .Pro
&amp;nbsp;
int main&#40;int argc, char *argv&#91;&#93;&#41;
&#123;
&amp;nbsp; &amp;nbsp; QApplication app&#40;argc, argv&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; QWebView *web = new QWebView&#40;&#41;;
&amp;nbsp; &amp;nbsp; web&#45;&amp;gt;load&#40;QUrl&#40;&amp;quot;http://www.google.com&amp;quot;&#41;&#41;;
&amp;nbsp; &amp;nbsp; web&#45;&amp;gt;show&#40;&#41;;
&amp;nbsp;
&amp;nbsp; &amp;nbsp; return app.exec&#40;&#41;;
&#125;


	Could you help me?

	Thank you in advance :)
Cordially]]></description>
            <guid isPermaLink="false">http://qt-project.org/forums/viewthread/16973</guid>
            <pubDate>Mon, 07 May 2012 02:34:18 GMT</pubDate>
        </item>
	

	</channel>
</rss>
