Monthly Archives: December 2009

XSLT support

Qt QXmlQuery class provides experimental support of XSLT (XSLT supported features).  Open source solution Xalan-C++ is no longer actively maintained. MSXML IXSLTemplate interface provides support for XSLT transform and seems to be the most mature solution on Windows Platform for … Continue reading

Posted in XML | 1 Comment

snmptrap.exe is missing on Windows XP

SNMP Trap Service is listed in sevices.msc, but its executable is missing: C:\WINDOWS\System32\snmptrap.exeThis is fixed by installing SNMP protocol.Add or Remove Programs > Add/Remove Windows Components > Management and Monitoring Tools > Simple Network Management ProtocolAdd or Remove Programs > … Continue reading

Posted in Computers and Internet | Leave a comment

build boost on ubuntu karmic

Download 7zip Then run unzip command: /usr/bin/p7zip -d boost_1_41_0.7z~/Downloads/boost_1_41_0/tools/jam/src$ chmod u+x build.sh~/Downloads/boost_1_41_0/tools/jam/src$ ./build.sh~/Downloads/boost_1_41_0$ tools/jam/src/bin.linuxx86/bjam  –without-mpi stage –build-type=complete  –layout=versioned boost_1_42 build instructionsInstall python3.1    python3.1-dbg    python3.1-minimal    python3.1-dev via "Synaptic Package Manager" add the following to boost_1_42_0/tools/build/v2/user-config.jam###########################################################using python    : 3.1                         # Version    : … Continue reading

Posted in Open Source | Leave a comment

Install latest GCC on ubuntu karmic

g++ is not found on ubuntu karmic, "apt-get install …" can’t find packages, and the following commands worked anyway. wget http://mirrors.163.com/ubuntu/pool/main/g/gcc-4.4/cpp-4.4_4.4.2-5ubuntu1_i386.debwget http://mirrors.163.com/ubuntu/pool/main/g/gcc-4.4/g++-4.4_4.4.2-5ubuntu1_i386.debwget http://mirrors.163.com/ubuntu/pool/main/g/gcc-4.4/gcc-4.4-base_4.4.2-5ubuntu1_i386.debwget http://mirrors.163.com/ubuntu/pool/main/g/gcc-4.4/gcc-4.4-doc_4.4.2-5ubuntu1_all.debwget http://mirrors.163.com/ubuntu/pool/main/g/gcc-4.4/gcc-4.4-multilib_4.4.2-5ubuntu1_i386.debwget http://mirrors.163.com/ubuntu/pool/main/g/gcc-4.4/gcc-4.4_4.4.2-5ubuntu1_i386.debwget http://mirrors.163.com/ubuntu/pool/main/g/gcc-4.4/libstdc++6_4.4.2-5ubuntu1_i386.debwget http://mirrors.163.com/ubuntu/pool/main/g/gcc-4.4/libstdc++6-4.4-dev_4.4.2-5ubuntu1_i386.debwget http://mirrors.163.com/ubuntu/pool/main/g/gcc-4.4/lib64gcc1_4.4.2-5ubuntu1_i386.debwget http://mirrors.163.com/ubuntu/pool/main/g/gcc-4.4/lib64gomp1_4.4.2-5ubuntu1_i386.debwget http://mirrors.163.com/ubuntu/pool/main/g/gcc-4.4/libgcc1_4.4.2-5ubuntu1_i386.debwget http://mirrors.163.com/ubuntu/pool/main/g/gcc-4.4/libgomp1_4.4.2-5ubuntu1_i386.deb wget http://mirrors.163.com/ubuntu/pool/main/e/eglibc/libc6-i686_2.10.2-2ubuntu2_i386.debwget http://mirrors.163.com/ubuntu/pool/main/e/eglibc/libc6-dev-amd64_2.10.2-2ubuntu2_i386.debwget http://mirrors.163.com/ubuntu/pool/main/e/eglibc/libc6-amd64_2.10.2-2ubuntu2_i386.debwget http://mirrors.163.com/ubuntu/pool/main/e/eglibc/libc6-dev_2.10.2-2ubuntu2_i386.debwget http://mirrors.163.com/ubuntu/pool/main/e/eglibc/libc6_2.10.2-2ubuntu2_i386.debwget http://mirrors.163.com/ubuntu/pool/main/e/eglibc/libc-bin_2.10.2-2ubuntu2_i386.debwget http://mirrors.163.com/ubuntu/pool/main/e/eglibc/libc-dev-bin_2.10.2-2ubuntu2_i386.debContinue reading

Posted in Computers and Internet | Leave a comment

ubuntu 9.10 (karmic) experience

Installed ubuntu 9.10 on laptop. The installation package is an iso file for CD-image, then I have to record it via InfraRecorder to write to DVD-R/W since a commercial software refused to write CD-image into DVD. The installation process is simple. … Continue reading

Posted in Computers and Internet | Leave a comment

Web Technologies in Desktop Application

Most desktop application are developed in single language like C++, or Java, but sometimes integrating with other languages like script and XML/XSL also has prominent advantages: Some tasks can be easily implemented in script language, but requires much more efforts … Continue reading

Posted in GUI | Leave a comment

Layout managers

Java Objective Toolkit Qt wxWidgets Alignment Layout Scale Layout BoxLayout QBoxLayout, QHBoxLayout QVBoxLayout wxBoxSizer wxStaticBoxSizer GridLayout Grid Layout QFormLayout wxGridSizer wxFLexGridSizer GridBagLayout GridBag Layout QGridLayout QSizePolicy::Expanding QWidget::setSizePolicy wxGridBagSizer Relatvie Layout BorderLayout CardLayout FlowLayout GroupLayout SpringLayout QStackedLayout MFC does not provide … Continue reading

Posted in GUI | Leave a comment