<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: XServer-less webpage screenshot &#8211; C++</title>
	<atom:link href="http://www.insecure.ws/2009/04/02/xserver-less-webpage-screenshot-c/feed" rel="self" type="application/rss+xml" />
	<link>http://www.insecure.ws/2009/04/02/xserver-less-webpage-screenshot-c</link>
	<description></description>
	<lastBuildDate>Wed, 25 Aug 2010 08:27:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: mariuz</title>
		<link>http://www.insecure.ws/2009/04/02/xserver-less-webpage-screenshot-c/comment-page-1#comment-857</link>
		<dc:creator>mariuz</dc:creator>
		<pubDate>Mon, 23 Nov 2009 19:00:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.insecure.ws/?p=128#comment-857</guid>
		<description>I have added the project in gitorious 
http://gitorious.org/wkthumb</description>
		<content:encoded><![CDATA[<p>I have added the project in gitorious<br />
<a href="http://gitorious.org/wkthumb" rel="nofollow">http://gitorious.org/wkthumb</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mariuz</title>
		<link>http://www.insecure.ws/2009/04/02/xserver-less-webpage-screenshot-c/comment-page-1#comment-856</link>
		<dc:creator>mariuz</dc:creator>
		<pubDate>Mon, 23 Nov 2009 18:20:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.insecure.ws/?p=128#comment-856</guid>
		<description>I have added view-&gt;page()-&gt;settings()-&gt;setAttribute(QWebSettings::PluginsEnabled,true);

but still no luck even with gnash 

even if seems that is opened if you trace it with strace 


stat(&quot;/usr/lib/gnash/libgnashplugin.so&quot;, {st_mode=S_IFREG&#124;0644, st_size=57592, ...}) = 0
open(&quot;/usr/lib/gnash/libgnashplugin.so&quot;, O_RDONLY) = 12</description>
		<content:encoded><![CDATA[<p>I have added view-&gt;page()-&gt;settings()-&gt;setAttribute(QWebSettings::PluginsEnabled,true);</p>
<p>but still no luck even with gnash </p>
<p>even if seems that is opened if you trace it with strace </p>
<p>stat(&#8220;/usr/lib/gnash/libgnashplugin.so&#8221;, {st_mode=S_IFREG|0644, st_size=57592, &#8230;}) = 0<br />
open(&#8220;/usr/lib/gnash/libgnashplugin.so&#8221;, O_RDONLY) = 12</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mariuz</title>
		<link>http://www.insecure.ws/2009/04/02/xserver-less-webpage-screenshot-c/comment-page-1#comment-855</link>
		<dc:creator>mariuz</dc:creator>
		<pubDate>Mon, 23 Nov 2009 16:58:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.insecure.ws/?p=128#comment-855</guid>
		<description>I have modified the #include this way (add the greater and less then signs)
#include Qt
#include QtGui
#include QWebView
#include QWebFrame

and in wkthumb.pro i have added

QT += network script webkit
CONFIG += qt

all worked ok
the only issue i have now is with flash loading</description>
		<content:encoded><![CDATA[<p>I have modified the #include this way (add the greater and less then signs)<br />
#include Qt<br />
#include QtGui<br />
#include QWebView<br />
#include QWebFrame</p>
<p>and in wkthumb.pro i have added</p>
<p>QT += network script webkit<br />
CONFIG += qt</p>
<p>all worked ok<br />
the only issue i have now is with flash loading</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kang</title>
		<link>http://www.insecure.ws/2009/04/02/xserver-less-webpage-screenshot-c/comment-page-1#comment-767</link>
		<dc:creator>kang</dc:creator>
		<pubDate>Thu, 06 Aug 2009 21:06:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.insecure.ws/?p=128#comment-767</guid>
		<description>You need xvfb! not a full blown Xserver.
For the compilation, qmake is able to regenerate the configuration so you shouldn&#039;t need to do anything by hand either, if you have all the libs. Well in theory. Maybe a problem in your distribution/installation, i don&#039;t know.

For the includes, wordpress strip em out so i don&#039;t know either which ones are involved ;) maybe you use a different version of QT.

Finally about Flash, i don&#039;t know either if that works. if it renders through QT somehow, that should work out. Using an open source flash plugin probably works (you only need the still image anyway)
Good luck</description>
		<content:encoded><![CDATA[<p>You need xvfb! not a full blown Xserver.<br />
For the compilation, qmake is able to regenerate the configuration so you shouldn&#8217;t need to do anything by hand either, if you have all the libs. Well in theory. Maybe a problem in your distribution/installation, i don&#8217;t know.</p>
<p>For the includes, wordpress strip em out so i don&#8217;t know either which ones are involved <img src='http://insecure.ws/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  maybe you use a different version of QT.</p>
<p>Finally about Flash, i don&#8217;t know either if that works. if it renders through QT somehow, that should work out. Using an open source flash plugin probably works (you only need the still image anyway)<br />
Good luck</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piotr Gabryjeluk</title>
		<link>http://www.insecure.ws/2009/04/02/xserver-less-webpage-screenshot-c/comment-page-1#comment-766</link>
		<dc:creator>Piotr Gabryjeluk</dc:creator>
		<pubDate>Thu, 06 Aug 2009 20:07:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.insecure.ws/?p=128#comment-766</guid>
		<description>And when running this app, you still need X server:

./wkthumb http://google.com google.png
wkthumb: cannot connect to X server</description>
		<content:encoded><![CDATA[<p>And when running this app, you still need X server:</p>
<p>./wkthumb <a href="http://google.com" rel="nofollow">http://google.com</a> google.png<br />
wkthumb: cannot connect to X server</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piotr Gabryjeluk</title>
		<link>http://www.insecure.ws/2009/04/02/xserver-less-webpage-screenshot-c/comment-page-1#comment-765</link>
		<dc:creator>Piotr Gabryjeluk</dc:creator>
		<pubDate>Thu, 06 Aug 2009 20:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.insecure.ws/?p=128#comment-765</guid>
		<description>After 5 minutes of trying to compile this, I came into the following:

 * change each #include  to #include 
 * replace #include  with these includes:

#include 
#include 
#include 

 * compile the program with the following command:

g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtWebKit -I. -I. -I. -o wkthumb.o wkthumb.cpp

 * link the program with the following command:

g++ -Wl,-O1 -o wkthumb wkthumb.o    -L/usr/lib -lQtGui -lQtCore -lQtWebKit  -lpthread

I&#039;m not sure how to port these compile&amp;link instructions to qmake (probably some changes to wkthumb.pro are needed).</description>
		<content:encoded><![CDATA[<p>After 5 minutes of trying to compile this, I came into the following:</p>
<p> * change each #include  to #include<br />
 * replace #include  with these includes:</p>
<p>#include<br />
#include<br />
#include </p>
<p> * compile the program with the following command:</p>
<p>g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtWebKit -I. -I. -I. -o wkthumb.o wkthumb.cpp</p>
<p> * link the program with the following command:</p>
<p>g++ -Wl,-O1 -o wkthumb wkthumb.o    -L/usr/lib -lQtGui -lQtCore -lQtWebKit  -lpthread</p>
<p>I&#8217;m not sure how to port these compile&amp;link instructions to qmake (probably some changes to wkthumb.pro are needed).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piotr Gabryjeluk</title>
		<link>http://www.insecure.ws/2009/04/02/xserver-less-webpage-screenshot-c/comment-page-1#comment-764</link>
		<dc:creator>Piotr Gabryjeluk</dc:creator>
		<pubDate>Thu, 06 Aug 2009 19:44:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.insecure.ws/?p=128#comment-764</guid>
		<description>Quick (damn short!) and elegant. Moreover, exactly what I need right now. I&#039;ve used webscreenie with mentioned Xfvb, but this was not elegant.</description>
		<content:encoded><![CDATA[<p>Quick (damn short!) and elegant. Moreover, exactly what I need right now. I&#8217;ve used webscreenie with mentioned Xfvb, but this was not elegant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Nelson</title>
		<link>http://www.insecure.ws/2009/04/02/xserver-less-webpage-screenshot-c/comment-page-1#comment-763</link>
		<dc:creator>Adam Nelson</dc:creator>
		<pubDate>Thu, 06 Aug 2009 18:21:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.insecure.ws/?p=128#comment-763</guid>
		<description>Will this script render external objects like Flash?  It seems that the only way to get screenshots with Flash is to use a full blown XServer.  Has anybody been able to do this without the XServer on Linux (or even better, Ubuntu 9.04)?</description>
		<content:encoded><![CDATA[<p>Will this script render external objects like Flash?  It seems that the only way to get screenshots with Flash is to use a full blown XServer.  Has anybody been able to do this without the XServer on Linux (or even better, Ubuntu 9.04)?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
