<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://cegui.org.uk/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Aleksandr</id>
		<title>CEGUI Wiki - Crazy Eddie's GUI System (Open Source) - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://cegui.org.uk/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Aleksandr"/>
		<link rel="alternate" type="text/html" href="http://cegui.org.uk/wiki/Special:Contributions/Aleksandr"/>
		<updated>2026-04-14T13:05:29Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>http://cegui.org.uk/wiki/index.php?title=QtImageCodec&amp;diff=3321</id>
		<title>QtImageCodec</title>
		<link rel="alternate" type="text/html" href="http://cegui.org.uk/wiki/index.php?title=QtImageCodec&amp;diff=3321"/>
				<updated>2009-10-03T14:23:06Z</updated>
		
		<summary type="html">&lt;p&gt;Aleksandr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
QtImageCodec - image codec for CEGUI, that loads images using [http://qt.nokia.com Qt]. &lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
== Compile image codec ==&lt;br /&gt;
&lt;br /&gt;
Download image codec [http://sasha_sinicyn.users.sourceforge.net/projects/ceguiqtimagecodec.tar.gz sources]. Extract it. In extracted directory open terminal and type:&lt;br /&gt;
&lt;br /&gt;
 qmake&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Put compiled '''&amp;quot;libCEGUIQtImageCodec-0.7.0.so&amp;quot;''' from '''&amp;quot;bin&amp;quot;''' to system directory for shared libraries. This can be '''&amp;quot;/usr/local/lib&amp;quot;''' for example. Then run '''&amp;quot;ldconfig&amp;quot;''' as administrator.&lt;br /&gt;
&lt;br /&gt;
== Compile Qt plugin for TGA support ==&lt;br /&gt;
&lt;br /&gt;
Qt does not support TGA image loading, but there is a plugin for it in [http://www.kde.org KDE] that supports doing that. To compile it download its source from the following locations:&lt;br /&gt;
&lt;br /&gt;
 http://websvn.kde.org/*checkout*/trunk/KDE/kdelibs/kimgio/tga.h&lt;br /&gt;
 http://websvn.kde.org/*checkout*/trunk/KDE/kdelibs/kimgio/tga.cpp&lt;br /&gt;
&lt;br /&gt;
Put it into a separate directory, for example '''&amp;quot;qtga&amp;quot;'''. In that directory open terminal and issue the following command:&lt;br /&gt;
&lt;br /&gt;
 qmake -project&lt;br /&gt;
	&lt;br /&gt;
Open generated project file ('''&amp;quot;qtga.pro&amp;quot;''') and make sure it contains the following statements:&lt;br /&gt;
&lt;br /&gt;
 TEMPLATE = lib&lt;br /&gt;
 CONFIG += plugin&lt;br /&gt;
	&lt;br /&gt;
Then in the terminal type:&lt;br /&gt;
&lt;br /&gt;
 qmake&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Put the built shared library ('''&amp;quot;libqtga.so&amp;quot;''') to '''&amp;quot;imageformats&amp;quot;''' subdirectory of qt plugin directory. For example this can be something like '''&amp;quot;/usr/lib64/qt4/plugins/imageformats&amp;quot;''' on 64 bit linux system.&lt;br /&gt;
&lt;br /&gt;
== Configure CEGUI library ==&lt;br /&gt;
&lt;br /&gt;
In order to make this codec the default image codec used by CEGUI before compiling CEGUI configure it with the following command:&lt;br /&gt;
&lt;br /&gt;
 ./configure --with-default-image-codec=QtImageCodec &lt;br /&gt;
	&lt;br /&gt;
Alternatively image codec used by CEGUI system can be changed in the source code of an application:&lt;br /&gt;
&lt;br /&gt;
 CEGUI::System::getSingleton ().setImageCodec (&amp;quot;QtImageCodec&amp;quot;);&lt;/div&gt;</summary>
		<author><name>Aleksandr</name></author>	</entry>

	<entry>
		<id>http://cegui.org.uk/wiki/index.php?title=QtImageCodec&amp;diff=3320</id>
		<title>QtImageCodec</title>
		<link rel="alternate" type="text/html" href="http://cegui.org.uk/wiki/index.php?title=QtImageCodec&amp;diff=3320"/>
				<updated>2009-10-03T14:19:52Z</updated>
		
		<summary type="html">&lt;p&gt;Aleksandr: Refined document&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
QtImageCodec - image codec for CEGUI, that loads images using [http://qt.nokia.com Qt]. &lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
== Compile image codec ==&lt;br /&gt;
&lt;br /&gt;
Download image codec [http://sasha_sinicyn.users.sourceforge.net/projects/ceguiqtimagecodec.tar.gz sources]. Extract it. In extracted directory open terminal and type:&lt;br /&gt;
&lt;br /&gt;
 qmake&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Put compiled '''&amp;quot;libCEGUIQtImageCodec-0.7.0.so&amp;quot;''' from '''&amp;quot;bin&amp;quot;''' to system directory for shared libraries. This can be '''&amp;quot;/usr/local/lib&amp;quot;''' for example. Then run '''&amp;quot;ldconfig&amp;quot;''' as administrator.&lt;br /&gt;
&lt;br /&gt;
== Compile qt plugin for TGA support ==&lt;br /&gt;
&lt;br /&gt;
Qt does not support TGA image loading, but there is a plugin for it in [http://www.kde.org KDE] that supports doing that. To compile it download its source from the following locations:&lt;br /&gt;
&lt;br /&gt;
 http://websvn.kde.org/*checkout*/trunk/KDE/kdelibs/kimgio/tga.h&lt;br /&gt;
 http://websvn.kde.org/*checkout*/trunk/KDE/kdelibs/kimgio/tga.cpp&lt;br /&gt;
&lt;br /&gt;
Put it into a separate directory, for example '''&amp;quot;qtga&amp;quot;'''. In that directory open terminal and issue the following command:&lt;br /&gt;
&lt;br /&gt;
 qmake -project&lt;br /&gt;
	&lt;br /&gt;
Open generated project file ('''&amp;quot;qtga.pro&amp;quot;''') and make sure it contains the following statements:&lt;br /&gt;
&lt;br /&gt;
 TEMPLATE = lib&lt;br /&gt;
 CONFIG += plugin&lt;br /&gt;
	&lt;br /&gt;
Then in the terminal type:&lt;br /&gt;
&lt;br /&gt;
 qmake&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Put the built shared library ('''&amp;quot;libqtga.so&amp;quot;''') to '''&amp;quot;imageformats&amp;quot;''' subdirectory of qt plugin directory. For example this can be something like '''&amp;quot;/usr/lib64/qt4/plugins/imageformats&amp;quot;''' on 64 bit linux system.&lt;br /&gt;
&lt;br /&gt;
== Configure CEGUI library ==&lt;br /&gt;
&lt;br /&gt;
In order to make this codec the default image codec used by CEGUI before compiling CEGUI configure it with the following command:&lt;br /&gt;
&lt;br /&gt;
 ./configure --with-default-image-codec=QtImageCodec &lt;br /&gt;
	&lt;br /&gt;
Alternatively image codec used by CEGUI system can be changed in the source code of an application:&lt;br /&gt;
&lt;br /&gt;
 CEGUI::System::getSingleton ().setImageCodec (&amp;quot;QtImageCodec&amp;quot;);&lt;/div&gt;</summary>
		<author><name>Aleksandr</name></author>	</entry>

	<entry>
		<id>http://cegui.org.uk/wiki/index.php?title=QtImageCodec&amp;diff=3319</id>
		<title>QtImageCodec</title>
		<link rel="alternate" type="text/html" href="http://cegui.org.uk/wiki/index.php?title=QtImageCodec&amp;diff=3319"/>
				<updated>2009-10-03T08:12:25Z</updated>
		
		<summary type="html">&lt;p&gt;Aleksandr: Draft version outlined.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
QtImageCodec - image codec for CEGUI, that loads images using Qt. &lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
== Compile image codec ==&lt;br /&gt;
&lt;br /&gt;
Download image codec sources. Extract it. In extracted directory open terminal and type:&lt;br /&gt;
&lt;br /&gt;
	qmake&lt;br /&gt;
	make&lt;br /&gt;
&lt;br /&gt;
Put compiled &amp;quot;libCEGUIQtImageCodec-0.7.0.so&amp;quot; from &amp;quot;bin&amp;quot; to system directory for shared libraries. This can be &amp;quot;/usr/local/lib&amp;quot; for example. Then run &amp;quot;ldconfig&amp;quot; as administrator.&lt;br /&gt;
&lt;br /&gt;
== Compile qt plugin for TGA support ==&lt;br /&gt;
&lt;br /&gt;
Qt does not support tga image loading, but there is a plugin for it in KDE that supports doing that. To compile it download its source from the following locations:&lt;br /&gt;
&lt;br /&gt;
	http://websvn.kde.org/*checkout*/trunk/KDE/kdelibs/kimgio/tga.h&lt;br /&gt;
	http://websvn.kde.org/*checkout*/trunk/KDE/kdelibs/kimgio/tga.cpp&lt;br /&gt;
&lt;br /&gt;
Put it into a separate directory, for example &amp;quot;qtga&amp;quot;. In that directory open terminal and issue the following command:&lt;br /&gt;
&lt;br /&gt;
	qmake -project&lt;br /&gt;
	&lt;br /&gt;
Open generated project file (&amp;quot;qtga.pro&amp;quot;) and make sure it contains the following statements:&lt;br /&gt;
&lt;br /&gt;
	TEMPLATE = lib&lt;br /&gt;
	CONFIG += plugin&lt;br /&gt;
	&lt;br /&gt;
Then in the terminal type:&lt;br /&gt;
&lt;br /&gt;
	qmake&lt;br /&gt;
	make&lt;br /&gt;
&lt;br /&gt;
Put the built shared library (&amp;quot;libqtga.so&amp;quot;) to &amp;quot;imageformats&amp;quot; subdirectory of qt plugin directory. For example this can be something like &amp;quot;/usr/lib64/qt4/plugins/imageformats&amp;quot; on 64 bit linux system.&lt;br /&gt;
&lt;br /&gt;
== Configure CEGUI library ==&lt;br /&gt;
&lt;br /&gt;
In order to make this codec the default image codec used by CEGUI before compiling CEGUI configure it with the following command:&lt;br /&gt;
&lt;br /&gt;
	./configure --with-default-image-codec=QtImageCodec &lt;br /&gt;
	&lt;br /&gt;
Alternatively image codec used by CEGUI system can be changed in the source code of an application:&lt;br /&gt;
&lt;br /&gt;
	CEGUI::System::getSingleton ().setImageCodec (&amp;quot;QtImageCodec&amp;quot;);&lt;/div&gt;</summary>
		<author><name>Aleksandr</name></author>	</entry>

	</feed>