<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>享受生活 － Enjoy Life! &#187; 技术</title>
	<atom:link href="http://www.qiliang.net/blog/category/technology/feed" rel="self" type="application/rss+xml" />
	<link>http://www.qiliang.net/blog</link>
	<description>Just so so.</description>
	<lastBuildDate>Wed, 28 Jul 2010 07:12:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>体会了一下Snow Leopard的一个开发bug</title>
		<link>http://www.qiliang.net/blog/2010/07/%e4%bd%93%e4%bc%9a%e4%ba%86%e4%b8%80%e4%b8%8bsnow-leopard%e7%9a%84%e4%b8%80%e4%b8%aa%e5%bc%80%e5%8f%91bug.html</link>
		<comments>http://www.qiliang.net/blog/2010/07/%e4%bd%93%e4%bc%9a%e4%ba%86%e4%b8%80%e4%b8%8bsnow-leopard%e7%9a%84%e4%b8%80%e4%b8%aa%e5%bc%80%e5%8f%91bug.html#comments</comments>
		<pubDate>Tue, 13 Jul 2010 14:19:32 +0000</pubDate>
		<dc:creator>Cavendish</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Qt]]></category>

		<guid isPermaLink="false">http://www.qiliang.net/blog/?p=10684</guid>
		<description><![CDATA[终于在公司搞到了一台旧的iMac 5.1, Intel Core 2 Duo 2.0 GHz/ 2G DDR2 667 MHz。
装上了Snow Leopard和官方发布的Qt 4.7.0 Beta 2和Qt Creator 2.1快照版，想debug进Qt库，竟然不成，咨询了公司内外的Mac开发朋友，原来我遇到了Apple的bug。
DYLD_IMAGE_SUFFIX=_debug makes application crash on Mac OS X &#8211; Snow Leopard
DYLD_IMAGE_SUFFIX causing havoc on Mac OS X Snow Leopard
而且变态的Apple自己的bug tracker还是封闭的，只有号码，看不到具体情况。
最后的解决办法是：

cd /usr/lib
sudo mv libSystem.B_debug.dylib libSystem.B_debug.dylib.bak
sudo mv libmx.A_debug.dylib libmx.A_debug.dylib.bak

之前还以为/Developers/SDKs/MacOSX10.6.sdk/usr/lib的有效呢。
BTW，学习了OS X下的ldd就是otool。
其它参考文档：
Technical Note TN2124: Mac OS X Debugging Magic
]]></description>
			<content:encoded><![CDATA[<p>终于在公司搞到了一台旧的<a href="http://guides.macrumors.com/iMac_(Intel)#Rev._B">iMac 5.1</a>, Intel Core 2 Duo 2.0 GHz/ 2G DDR2 667 MHz。</p>
<p>装上了<a href="http://www.apple.com/macosx/">Snow Leopard</a>和官方发布的<a href="http://qt.nokia.com/developer/qt-qtcreator-prerelease">Qt 4.7.0 Beta 2</a>和<a href="http://qt.nokia.com/developer/qt-qtcreator-prerelease">Qt Creator 2.1快照版</a>，想debug进Qt库，竟然不成，咨询了公司内外的Mac开发朋友，原来我遇到了Apple的bug。</p>
<p><a href="http://bugreports.qt.nokia.com/browse/QTBUG-4962">DYLD_IMAGE_SUFFIX=_debug makes application crash on Mac OS X &#8211; Snow Leopard</a><br />
<a href="http://wimleers.com/blog/dyld-image-suffix-causing-havoc-on-mac-os-x-snow-leopard">DYLD_IMAGE_SUFFIX causing havoc on Mac OS X Snow Leopard</a></p>
<p>而且变态的Apple自己的bug tracker还是封闭的，只有号码，看不到具体情况。</p>
<p>最后的解决办法是：<br />
<code><br />
cd /usr/lib<br />
sudo mv libSystem.B_debug.dylib libSystem.B_debug.dylib.bak<br />
sudo mv libmx.A_debug.dylib libmx.A_debug.dylib.bak<br />
</code></p>
<p>之前还以为/Developers/SDKs/MacOSX10.6.sdk/usr/lib的有效呢。</p>
<p>BTW，学习了OS X下的ldd就是<a href="http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/otool.1.html">otool</a>。</p>
<p>其它参考文档：<br />
<a href="http://developer.apple.com/mac/library/technotes/tn2004/tn2124.html">Technical Note TN2124: Mac OS X Debugging Magic</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qiliang.net/blog/2010/07/%e4%bd%93%e4%bc%9a%e4%ba%86%e4%b8%80%e4%b8%8bsnow-leopard%e7%9a%84%e4%b8%80%e4%b8%aa%e5%bc%80%e5%8f%91bug.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows 7 Home Basic的一些知识</title>
		<link>http://www.qiliang.net/blog/2010/07/windows-7-home-basic%e7%9a%84%e4%b8%80%e4%ba%9b%e7%9f%a5%e8%af%86.html</link>
		<comments>http://www.qiliang.net/blog/2010/07/windows-7-home-basic%e7%9a%84%e4%b8%80%e4%ba%9b%e7%9f%a5%e8%af%86.html#comments</comments>
		<pubDate>Mon, 05 Jul 2010 21:49:14 +0000</pubDate>
		<dc:creator>Cavendish</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.qiliang.net/blog/?p=10682</guid>
		<description><![CDATA[今天才发现Windows 7 Home Basic这东西有激活地域限制并且没有64位版本。
Win7 Home Basic没有提供64位安装盘
并且只在Emerging Markets销售，通俗的说可以理解为像DVD一样有中国区和欧美区之分。
看来想在挪威使用国内的Windows 7 Home Basic是不太现实了。
]]></description>
			<content:encoded><![CDATA[<p>今天才发现Windows 7 Home Basic这东西有激活地域限制并且没有64位版本。</p>
<p><a href="http://en.wikipedia.org/wiki/Windows_7_editions">Win7 Home Basic没有提供64位安装盘</a></p>
<p>并且只在<a href="http://en.wikipedia.org/wiki/Emerging_markets">Emerging Markets</a>销售，通俗的说可以理解为像DVD一样有中国区和欧美区之分。</p>
<p>看来想在挪威使用国内的Windows 7 Home Basic是不太现实了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qiliang.net/blog/2010/07/windows-7-home-basic%e7%9a%84%e4%b8%80%e4%ba%9b%e7%9f%a5%e8%af%86.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to support your own type in QVariant</title>
		<link>http://www.qiliang.net/blog/2010/05/how-to-support-your-own-type-in-qvariant.html</link>
		<comments>http://www.qiliang.net/blog/2010/05/how-to-support-your-own-type-in-qvariant.html#comments</comments>
		<pubDate>Thu, 06 May 2010 16:38:42 +0000</pubDate>
		<dc:creator>Cavendish</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Qt]]></category>

		<guid isPermaLink="false">http://www.qiliang.net/blog/?p=10666</guid>
		<description><![CDATA[
#include &#60;QCoreApplication&#62;
#include &#60;QVariant&#62;
#include &#60;QString&#62;

struct MyStruct
{
    int a;
    double b;
    QString c;
};

struct MyPowerStruct
{
    int a;
    double b;
    MyStruct c;
};

Q_DECLARE_METATYPE(MyStruct)
Q_DECLARE_METATYPE(MyPowerStruct)

int main(int argc, char *argv[])
{
    QCoreApplication app(argc, argv);
    MyStruct v01 = { 1, 5.0, [...]]]></description>
			<content:encoded><![CDATA[<pre>
#include &lt;QCoreApplication&gt;
#include &lt;QVariant&gt;
#include &lt;QString&gt;

struct MyStruct
{
    int a;
    double b;
    QString c;
};

struct MyPowerStruct
{
    int a;
    double b;
    MyStruct c;
};

Q_DECLARE_METATYPE(MyStruct)
Q_DECLARE_METATYPE(MyPowerStruct)

int main(int argc, char *argv[])
{
    QCoreApplication app(argc, argv);
    MyStruct v01 = { 1, 5.0, QString("Nokia Qt") };
    QVariant var0;
    var0.setValue(v01);
    MyStruct v02 = var0.value<MyStruct>();
    MyPowerStruct v11 = { 10, 0.5, {1, 5.0, QString("Nokia Qt") } };
    QVariant var1;
    var1.setValue(v11);
    MyPowerStruct v12 = var1.value<MyPowerStruct>();
    return 0;
}
</pre>
<p>Reference:<br />
<a href="http://doc.trolltech.com/4.6/qmetatype.html#Q_DECLARE_METATYPE">Qt 4.6 Documentation: Q_DECLARE_METATYPE</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qiliang.net/blog/2010/05/how-to-support-your-own-type-in-qvariant.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git中创建空白branch的方法</title>
		<link>http://www.qiliang.net/blog/2010/04/git%e4%b8%ad%e5%88%9b%e5%bb%ba%e7%a9%ba%e7%99%bdbranch%e7%9a%84%e6%96%b9%e6%b3%95.html</link>
		<comments>http://www.qiliang.net/blog/2010/04/git%e4%b8%ad%e5%88%9b%e5%bb%ba%e7%a9%ba%e7%99%bdbranch%e7%9a%84%e6%96%b9%e6%b3%95.html#comments</comments>
		<pubDate>Fri, 30 Apr 2010 15:39:20 +0000</pubDate>
		<dc:creator>Cavendish</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[Git]]></category>

		<guid isPermaLink="false">http://www.qiliang.net/blog/?p=10660</guid>
		<description><![CDATA[因为工作需要，要在一个git repo中创建一个空白的branch，就是和其它branch以及revision没有任何关系的branch，公司的git master（一共就两个）帮我搜了搜找到了答案：
Git Community Book: Creating New Empty Branches

git symbolic-ref HEAD refs/heads/newbranch
rm .git/index                    # windows: del .git\index
git clean -fdx
#do work#
git add your files
git commit -m 'Initial commit'

]]></description>
			<content:encoded><![CDATA[<p>因为工作需要，要在一个git repo中创建一个空白的branch，就是和其它branch以及revision没有任何关系的branch，公司的git master（一共就两个）帮我搜了搜找到了答案：</p>
<p><a href="http://book.git-scm.com/5_creating_new_empty_branches.html">Git Community Book: Creating New Empty Branches</a></p>
<p><code><br />
git symbolic-ref HEAD refs/heads/newbranch<br />
rm .git/index                    # windows: del .git\index<br />
git clean -fdx<br />
#do work#<br />
git add your files<br />
git commit -m 'Initial commit'<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qiliang.net/blog/2010/04/git%e4%b8%ad%e5%88%9b%e5%bb%ba%e7%a9%ba%e7%99%bdbranch%e7%9a%84%e6%96%b9%e6%b3%95.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Build Qt with S60 5.0 Public SDK(2nd version)</title>
		<link>http://www.qiliang.net/blog/2009/09/build-qt-with-s60-5-0-public-sdk2nd-version.html</link>
		<comments>http://www.qiliang.net/blog/2009/09/build-qt-with-s60-5-0-public-sdk2nd-version.html#comments</comments>
		<pubDate>Tue, 15 Sep 2009 08:58:15 +0000</pubDate>
		<dc:creator>Cavendish</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[SYMBIAN]]></category>

		<guid isPermaLink="false">http://www.qiliang.net/blog/?p=10608</guid>
		<description><![CDATA[Build Qt with S60 5.0 Public SDK(2nd version)
Platform: Windows XP with SP3(now we only support Qt/S60 on it.)
1. SYMBIAN Development Environment
For downloading the packages, you need to register an account in the forum of Nokia,
http://www.forum.nokia.com/main/registration/registration.html
1-1. Carbide.C++
http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/IDEs/Carbide.c++/
http://sw.nokia.com/id/7710eba7-4da7-4ddc-a52a-53b506cadb4a/Carbide_cpp_v2_0_en.exe
Carbide.C++ 2.0
Carbide_cpp_v2_0_en.exe 203MB
1-2. S60 Platform SDKs for Symbian OS, for C++
http://www.forum.nokia.com/info/sw.nokia.com/id/ec866fab-4b76-49f6-b5a5-af0631419e9c/S60_All_in_One_SDKs.html
http://sw.nokia.com/id/577ad48d-290c-4bb5-8bdf-779ea8a5bc6c/S60_5th_Edition_SDK_v1_0_en.zip
S60 Platform SDKs for Symbian OS, for C++, 5th Edition
S60_5th_Edition_SDK_v1_0_en.zip [...]]]></description>
			<content:encoded><![CDATA[<p>Build Qt with S60 5.0 Public SDK(2nd version)</p>
<p>Platform: Windows XP with SP3(now we only support Qt/S60 on it.)</p>
<p>1. SYMBIAN Development Environment</p>
<p>For downloading the packages, you need to register an account in the forum of Nokia,<br />
<a href="http://www.forum.nokia.com/main/registration/registration.html">http://www.forum.nokia.com/main/registration/registration.html</a></p>
<p>1-1. Carbide.C++<br />
<a href="http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/IDEs/Carbide.c++/">http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/IDEs/Carbide.c++/</a><br />
<a href="http://sw.nokia.com/id/7710eba7-4da7-4ddc-a52a-53b506cadb4a/Carbide_cpp_v2_0_en.exe">http://sw.nokia.com/id/7710eba7-4da7-4ddc-a52a-53b506cadb4a/Carbide_cpp_v2_0_en.exe</a></p>
<p>Carbide.C++ 2.0<br />
Carbide_cpp_v2_0_en.exe 203MB</p>
<p>1-2. S60 Platform SDKs for Symbian OS, for C++<br />
<a href="http://www.forum.nokia.com/info/sw.nokia.com/id/ec866fab-4b76-49f6-b5a5-af0631419e9c/S60_All_in_One_SDKs.html">http://www.forum.nokia.com/info/sw.nokia.com/id/ec866fab-4b76-49f6-b5a5-af0631419e9c/S60_All_in_One_SDKs.html</a><br />
<a href="http://sw.nokia.com/id/577ad48d-290c-4bb5-8bdf-779ea8a5bc6c/S60_5th_Edition_SDK_v1_0_en.zip">http://sw.nokia.com/id/577ad48d-290c-4bb5-8bdf-779ea8a5bc6c/S60_5th_Edition_SDK_v1_0_en.zip</a></p>
<p>S60 Platform SDKs for Symbian OS, for C++, 5th Edition<br />
S60_5th_Edition_SDK_v1_0_en.zip 622MB</p>
<p>1-3. Open C/C++ Plug-in<br />
<a href="http://www.forum.nokia.com/info/sw.nokia.com/id/91d89929-fb8c-4d66-bea0-227e42df9053/Open_C_SDK_Plug-In.html">http://www.forum.nokia.com/info/sw.nokia.com/id/91d89929-fb8c-4d66-bea0-227e42df9053/Open_C_SDK_Plug-In.html</a><br />
<a href="http://sw.nokia.com/id/fbe59b85-a621-404b-94d7-94ca818e576a/s60_open_c_cpp_plug_in_v1_6_en.zip">http://sw.nokia.com/id/fbe59b85-a621-404b-94d7-94ca818e576a/s60_open_c_cpp_plug_in_v1_6_en.zip</a></p>
<p>Open C/C++ Plug-in 1.6<br />
s60_open_c_cpp_plug_in_v1_6_en.zip 34MB</p>
<p>2. Installation<br />
Please install following packages as default path.</p>
<p>Install <a href="http://downloads.activestate.com/ActivePerl/Windows/5.6/ActivePerl-5.6.1.638-MSWin32-x86.msi">ActivePerl-5.6.1.638-MSWin32-x86.msi</a>.<br />
Install Java SE Development Kit (JDK), JDK 6 Update 16, <a href="http://java.sun.com/javase/downloads/index.jsp">jdk-6u16-windows-i586.exe</a><br />
Install Carbide.C++.<br />
After installed Carbide.C++, please download <a href="http://pepper.troll.no/s60prereleases/patches/x86Tools_3.2.5_Symbian_b482_qt.zip">x86Tools_3.2.5_Symbian_b482_qt.zip</a>. Please extract all files in it, and copy or move them to overwrite this folder, C:\Program Files\Nokia\Carbide.c++ v2.0\x86Build.<br />
Please run this, Start-&gt;Carbide.c++ v2.0-&gt;Configure environment for WINSCW command line.<br />
And you also need to use <a href="http://git-scm.org/">Git</a> to get <a href="http://www.qtsoftware.com/">Qt</a> from <a href="http://qt.gitorious.org/qt/qt">Qt Git Repo</a>, better to download <a href="http://msysgit.googlecode.com/files/Git-1.6.4-preview20090730.exe">this version of Git</a>.</p>
<p>Please also make sure the path of our perl(default: C:\Perl\bin) should be before the perl in git(default: C:\Program Files\Git\bin) in PATH.</p>
<p>For Host Tools:<br />
For <a href="http://www.mingw.org/">MinGW</a> user, please download <a href="http://sourceforge.net/projects/mingw/files/">MinGW-5.1.4.exe</a>(Note: here the 5.1.4 is the version of installer, the compiler version is 3.4.5.), use it install g++ and make at least. And please add the env for MinGW, C:\MinGW\bin, at the beginning of the PATH.<br />
For <a href="http://www.microsoft.com/express/download/default.aspx#webInstall">Microsoft Visual C++ Express Edition</a> user, please download the vcsetup.exe and install 2008 with SP1.</p>
<p>For Device:<br />
You need to install <a href="http://www.arm.com/support/downloads/rvds22.html">RVCT 2.2</a>, we are using &#8220;Build 683&#8243;. You can use RVCT to build Qt libraries and applications which could running on S60 devices.<br />
You can also install the &#8220;CSL Arm Toolchain&#8221;, if you forgot it, you can find it in Start-&gt;S60 Developer Tools-&gt;5th Edition SDK-&gt;v1.0-&gt;Tools-&gt;CSL Toolchain (GCCE) Install. You can use GCCE to build Qt applications with pre-build Qt libraries, and run your Qt applications on devices.</p>
<p>3. Build Qt with S60 5.0 Public SDK</p>
<p>For MinGW user, just open a Windows Command Prompt.<br />
For VC2008EE user, please open Visual Studio 2008 Command Prompt.</p>
<p>C:<br />
mkdir git<br />
cd C:\git<br />
git clone -n git://gitorious.org/qt/qt.git<br />
cd qt<br />
git checkout -b 4.6 origin/4.6<br />
set PATH=C:\git\qt-s60\bin;%PATH%</p>
<p>For MinGW user:<br />
configure -platform win32-g++ -xplatform symbian-abld -qt-sql-sqlite -system-sqlite -no-script</p>
<p>For VC2008EE user:<br />
configure -platform win32-msvc2008 -xplatform symbian-abld -qt-sql-sqlite -system-sqlite -no-script</p>
<p>make debug-winscw // for emulator<br />
make release-armv5 // for devices arvm5</p>
<p>4. Build Examples</p>
<p>cd C:\git\qt\examples\widgets\analogclock<br />
qmake<br />
make debug-winscw // for emulator<br />
make release-armv5 // for devices arvm5<br />
make release-gcce // for devices gcce</p>
<p>5. Run</p>
<p>In Emulator:<br />
C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\winscw\udeb\epoc.exe<br />
&#8220;Menu&#8221;(or click the middle one of the 3 buttons)-&gt;QtExamples-&gt;analogclock</p>
<p>In Device:<br />
createpackage C:\git\qt\src\s60installs\Qt_for_S60_template.pkg release-armv5 // create Qt install package, it locates in C:\git\qt\src\s60installs\qt_for_s60_release-armv5.sis<br />
createpackage C:\git\qt\examples\widgets\analogclock\analogclock_template.pkg release-armv5 // create analogclock armv5 install package, it locates in C:\git\qt\examples\widgets\analogclock\analogclock_release-armv5.sis<br />
createpackage C:\git\qt\examples\widgets\analogclock\analogclock_template.pkg release-gcce // create analogclock gcce install package, it locates in C:\git\qt\examples\widgets\analogclock\analogclock_release-gcce.sis</p>
<p>Before you install Qt install package, you should also insall following packages:<br />
pips_s60_1_6_SS.sis<br />
openc_ssl_s60_1_6_SS.sis<br />
STDCPP_s60_1_6_SS.sis</p>
<p>You can find them in C:\S60\devices\S60_5th_Edition_SDK_v1.0\nokia_plugin\openc\s60opencsis and C:\S60\devices\S60_5th_Edition_SDK_v1.0\nokia_plugin\opencpp\s60opencppsis.</p>
<p>NOTE: If you are using virtual machine, please do not use Windows Remote Desktop to connect it. The default audio driver for it will cause S60 Emulator crash.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qiliang.net/blog/2009/09/build-qt-with-s60-5-0-public-sdk2nd-version.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Specify a Script to Run on Startup Shutdown Logon Logoff on Windows</title>
		<link>http://www.qiliang.net/blog/2009/09/specify-a-script-to-run-on-startup-shutdown-logon-logoff-on-windows.html</link>
		<comments>http://www.qiliang.net/blog/2009/09/specify-a-script-to-run-on-startup-shutdown-logon-logoff-on-windows.html#comments</comments>
		<pubDate>Mon, 07 Sep 2009 12:26:02 +0000</pubDate>
		<dc:creator>Cavendish</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.qiliang.net/blog/?p=10603</guid>
		<description><![CDATA[It&#8217;s very easy to do it on Unix/Linux, cron is a very powerful tool for it.
But how to do it on Windows?
Run->&#8221;gpedit.msc&#8221;->&#8221;Computer Configuration\Windows Settings&#8221; for Startup/Shutdown or &#8220;User Configuration\Windows Settings&#8221; for Logon/Logoff.
Reference:
How to: Add startup and shutdown scripts in Windows &#8211; Online Training and Tutorials
Specify a Script to Run on Startup Shutdown Logon Logoff
]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s very easy to do it on Unix/Linux, <a href="http://en.wikipedia.org/wiki/Cron">cron</a> is a very powerful tool for it.</p>
<p>But how to do it on Windows?</p>
<p>Run->&#8221;gpedit.msc&#8221;->&#8221;Computer Configuration\Windows Settings&#8221; for Startup/Shutdown or &#8220;User Configuration\Windows Settings&#8221; for Logon/Logoff.</p>
<p>Reference:<br />
<a href="http://www.tutorial5.com/content/view/157/47/">How to: Add startup and shutdown scripts in Windows &#8211; Online Training and Tutorials</a><br />
<a href="http://techsupt.winbatch.com/ts/T000001048F90.html">Specify a Script to Run on Startup Shutdown Logon Logoff</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qiliang.net/blog/2009/09/specify-a-script-to-run-on-startup-shutdown-logon-logoff-on-windows.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Build Qt with S60 5.0 Public SDK</title>
		<link>http://www.qiliang.net/blog/2009/05/build-qt-with-s60-5-0-public-sdk.html</link>
		<comments>http://www.qiliang.net/blog/2009/05/build-qt-with-s60-5-0-public-sdk.html#comments</comments>
		<pubDate>Tue, 26 May 2009 21:02:00 +0000</pubDate>
		<dc:creator>Cavendish</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[SYMBIAN]]></category>

		<guid isPermaLink="false">http://www.qiliang.net/blog/?p=190</guid>
		<description><![CDATA[Build Qt with S60 5.0 Public SDK
Platform: Windows XP with SP3(now we only support Qt/S60 on it.)
1. SYMBIAN Development Environment
For downloading the packages, you need to register an account in the forum of Nokia,
http://www.forum.nokia.com/main/registration/registration.html
1-1. Carbide.C++
http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/IDEs/Carbide.c++/
http://sw.nokia.com/id/7710eba7-4da7-4ddc-a52a-53b506cadb4a/Carbide_cpp_v2_0_en.exe
Carbide.C++ 2.0
Carbide_cpp_v2_0_en.exe 203MB
1-2. S60 Platform SDKs for Symbian OS, for C++
http://www.forum.nokia.com/info/sw.nokia.com/id/ec866fab-4b76-49f6-b5a5-af0631419e9c/S60_All_in_One_SDKs.html
http://sw.nokia.com/id/577ad48d-290c-4bb5-8bdf-779ea8a5bc6c/S60_5th_Edition_SDK_v1_0_en.zip
S60 Platform SDKs for Symbian OS, for C++, 5th Edition
S60_5th_Edition_SDK_v1_0_en.zip 622MB
2. [...]]]></description>
			<content:encoded><![CDATA[<p>Build Qt with S60 5.0 Public SDK</p>
<p>Platform: Windows XP with SP3(now we only support Qt/S60 on it.)</p>
<p>1. SYMBIAN Development Environment</p>
<p>For downloading the packages, you need to register an account in the forum of Nokia,<br />
<a href="http://www.forum.nokia.com/main/registration/registration.html">http://www.forum.nokia.com/main/registration/registration.html</a></p>
<p>1-1. Carbide.C++<br />
<a href="http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/IDEs/Carbide.c++/">http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/IDEs/Carbide.c++/</a><br />
<a href="http://sw.nokia.com/id/7710eba7-4da7-4ddc-a52a-53b506cadb4a/Carbide_cpp_v2_0_en.exe">http://sw.nokia.com/id/7710eba7-4da7-4ddc-a52a-53b506cadb4a/Carbide_cpp_v2_0_en.exe</a></p>
<p>Carbide.C++ 2.0<br />
Carbide_cpp_v2_0_en.exe 203MB</p>
<p>1-2. S60 Platform SDKs for Symbian OS, for C++<br />
<a href="http://www.forum.nokia.com/info/sw.nokia.com/id/ec866fab-4b76-49f6-b5a5-af0631419e9c/S60_All_in_One_SDKs.html">http://www.forum.nokia.com/info/sw.nokia.com/id/ec866fab-4b76-49f6-b5a5-af0631419e9c/S60_All_in_One_SDKs.html</a><br />
<a href="http://sw.nokia.com/id/577ad48d-290c-4bb5-8bdf-779ea8a5bc6c/S60_5th_Edition_SDK_v1_0_en.zip">http://sw.nokia.com/id/577ad48d-290c-4bb5-8bdf-779ea8a5bc6c/S60_5th_Edition_SDK_v1_0_en.zip</a></p>
<p>S60 Platform SDKs for Symbian OS, for C++, 5th Edition<br />
S60_5th_Edition_SDK_v1_0_en.zip 622MB</p>
<p>2. Installation</p>
<p>Please install above 2 packages as default path.</p>
<p>Installation order: Carbide.C++, S60 SDK.</p>
<p>After Carbide.C++, you may need to install ActivePerl-5.6.1.638-MSWin32-x86.msi:</p>
<p><a href="http://downloads.activestate.com/ActivePerl/Windows/5.6/ActivePerl-5.6.1.638-MSWin32-x86.msi">http://downloads.activestate.com/ActivePerl/Windows/5.6/ActivePerl-5.6.1.638-MSWin32-x86.msi</a></p>
<p>And you also need to use <a href="http://git-scm.org/">Git</a> to get <a href="http://www.qtsoftware.com/">Qt</a> from <a href="http://gitorious.org/+qt-s60-developers/qt/qt-s60">Qt S60 Git Repo</a>, better to download <a href="http://msysgit.googlecode.com/files/Git-1.6.3-preview20090507-2.exe">this version of Git</a>.</p>
<p>Please also make sure the path of our perl(default: C:\Perl\bin) should be before the perl in git(default: C:\Program Files\Git\bin) in PATH.</p>
<p>Please run this, Start-&gt;Carbide.c++ v2.0-&gt;Configure environment for WINSCW command line.</p>
<p>3. Build Qt with S60 5.0 Public SDK</p>
<p>cd C:\git<br />
git clone git://gitorious.org/+qt-s60-developers/qt/qt-s60.git<br />
cd qt-s60<br />
set PATH=C:\git\qt-s60\bin;%PATH%<br />
configure -platform win32-mwc -xplatform symbian-abld -openssl-linked -qt-sql-sqlite -system-sqlite<br />
make debug-winscw</p>
<p>4. Build Examples</p>
<p>cd C:\git\qt-s60\examples\widgets\analogclock<br />
qmake<br />
make debug-winscw<br />
C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\winscw\udeb\epoc.exe<br />
&#8220;Menu&#8221;(or click the middle one of the 3 buttons)-&gt;QtExamples-&gt;analogclock</p>
<p>You got it!<br />
<a href="http://1.bp.blogspot.com/_Z5wTRcfzptM/Shxgek7sfiI/AAAAAAAAAS8/AIaQCUgueAU/s1600-h/analogclock_qts60.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5340249336580963874" style="display: block; margin: 0px auto 10px; text-align: center; cursor: hand; width: 182px; height: 320px;" src="http://1.bp.blogspot.com/_Z5wTRcfzptM/Shxgek7sfiI/AAAAAAAAAS8/AIaQCUgueAU/s320/analogclock_qts60.png" border="0" alt="" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.qiliang.net/blog/2009/05/build-qt-with-s60-5-0-public-sdk.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qt/S60代码仓库也开放了</title>
		<link>http://www.qiliang.net/blog/2009/05/qts60%e4%bb%a3%e7%a0%81%e4%bb%93%e5%ba%93%e4%b9%9f%e5%bc%80%e6%94%be%e4%ba%86.html</link>
		<comments>http://www.qiliang.net/blog/2009/05/qts60%e4%bb%a3%e7%a0%81%e4%bb%93%e5%ba%93%e4%b9%9f%e5%bc%80%e6%94%be%e4%ba%86.html#comments</comments>
		<pubDate>Tue, 26 May 2009 10:10:00 +0000</pubDate>
		<dc:creator>Cavendish</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[SYMBIAN]]></category>

		<guid isPermaLink="false">http://www.qiliang.net/blog/?p=189</guid>
		<description><![CDATA[Trolltech Labs Blog: Qt for S60 repository going public
Qt S60 Git Repo
注意：Qt/S60在S60 5.0 Public SDK中需要最新版的Open C，估计会在近期发布。大家可以先尝试3.2和3.1。同样因为编译器的原因，大家不能编译用于手机硬件的Qt库，这个需要商业版的RCVT。
]]></description>
			<content:encoded><![CDATA[<p><a href="http://labs.trolltech.com/blogs/2009/05/26/qt-for-s60-repository-going-public/">Trolltech Labs Blog: Qt for S60 repository going public</a><br />
<a href="http://gitorious.org/+qt-s60-developers/qt/qt-s60">Qt S60 Git Repo</a></p>
<p>注意：Qt/S60在S60 5.0 Public SDK中需要最新版的Open C，估计会在近期发布。大家可以先尝试3.2和3.1。同样因为编译器的原因，大家不能编译用于手机硬件的Qt库，这个需要商业版的RCVT。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qiliang.net/blog/2009/05/qts60%e4%bb%a3%e7%a0%81%e4%bb%93%e5%ba%93%e4%b9%9f%e5%bc%80%e6%94%be%e4%ba%86.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qt代码仓库对公众开放了</title>
		<link>http://www.qiliang.net/blog/2009/05/qt%e4%bb%a3%e7%a0%81%e4%bb%93%e5%ba%93%e5%af%b9%e5%85%ac%e4%bc%97%e5%bc%80%e6%94%be%e4%ba%86.html</link>
		<comments>http://www.qiliang.net/blog/2009/05/qt%e4%bb%a3%e7%a0%81%e4%bb%93%e5%ba%93%e5%af%b9%e5%85%ac%e4%bc%97%e5%bc%80%e6%94%be%e4%ba%86.html#comments</comments>
		<pubDate>Mon, 11 May 2009 11:53:00 +0000</pubDate>
		<dc:creator>Cavendish</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Qt]]></category>

		<guid isPermaLink="false">http://www.qiliang.net/blog/?p=188</guid>
		<description><![CDATA[经历了一段时间的准备，Qt代码仓库对公众开放了！
Qt Software
最新新闻稿等待中。
]]></description>
			<content:encoded><![CDATA[<p>经历了一段时间的准备，Qt代码仓库对公众开放了！</p>
<p><a href="http://qt.gitorious.org/">Qt Software</a></p>
<p>最新新闻稿等待中。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qiliang.net/blog/2009/05/qt%e4%bb%a3%e7%a0%81%e4%bb%93%e5%ba%93%e5%af%b9%e5%85%ac%e4%bc%97%e5%bc%80%e6%94%be%e4%ba%86.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qt 4.5发布了</title>
		<link>http://www.qiliang.net/blog/2009/03/qt-4-5%e5%8f%91%e5%b8%83%e4%ba%86.html</link>
		<comments>http://www.qiliang.net/blog/2009/03/qt-4-5%e5%8f%91%e5%b8%83%e4%ba%86.html#comments</comments>
		<pubDate>Tue, 03 Mar 2009 11:05:00 +0000</pubDate>
		<dc:creator>Cavendish</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[生活]]></category>
		<category><![CDATA[Myself]]></category>
		<category><![CDATA[Qt]]></category>

		<guid isPermaLink="false">http://www.qiliang.net/blog/?p=184</guid>
		<description><![CDATA[Trolltech Labs Blogs, Jason McDonald: Qt 4.5 hits the (virtual) shelves

大家能在里面找到我么？hoho
]]></description>
			<content:encoded><![CDATA[<p><a href="http://labs.trolltech.com/blogs/2009/03/03/qt-45-hits-the-virtual-shelves/">Trolltech Labs Blogs, Jason McDonald: Qt 4.5 hits the (virtual) shelves</a></p>
<p><a href="http://3.bp.blogspot.com/_Z5wTRcfzptM/Sa0PzuJh59I/AAAAAAAAAR4/4dyd-ME9qLs/s1600-h/oslo_groupphoto.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5308916916975429586" style="display: block; margin: 0px auto 10px; text-align: center; cursor: hand; width: 320px; height: 155px;" src="http://3.bp.blogspot.com/_Z5wTRcfzptM/Sa0PzuJh59I/AAAAAAAAAR4/4dyd-ME9qLs/s320/oslo_groupphoto.jpg" border="0" alt="" /></a></p>
<p>大家能在里面找到我么？hoho</p>
]]></content:encoded>
			<wfw:commentRss>http://www.qiliang.net/blog/2009/03/qt-4-5%e5%8f%91%e5%b8%83%e4%ba%86.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
