• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            JonsenElizee

            Software Developing Blog

            "An idea is fragile . It can be killed by a scornful smile or a yawn .It can be mound down by irony and scared to death by a cold look."
            "Most cultures throughout human history have not liked creative individuals .They ignore them or kill them.It is a very efficient way of stopping creativity."

            ------Advertising boss Charles Browe and Howard Gardner ,professor at Harvard

               :: 首頁 :: 新隨筆 ::  ::  :: 管理 ::
            Tonight I got a try for QT4 SDK. It's a nice tool. But there is a error on building the demo project.
            First, let's solve this error: Nokia QT4 SDK Beginner s Error FcFree TypeQuery Face.
            Here is the way to solve this error for QT newbie, as me.


            Now I will show how to build QT project with out this error.

            Precondition:
            my system is RHEL5.5
            and my QT SDK is qt-sdk-linux-x86-opensource-2010.04.bin

            Error:
            FcFree TypeQuery Face

            Solution:
            download fontconfig-2.4.2.tar.gz
            tar zxvf it and configure and make, but do not make install it.
            here is the configure cmd string:
            ./configure --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man

            my QT SDK is intalled here:
            /opt/ins/qt4/qtsdk-2010.04/lib
            ________________________________________________________________________________
            lrwxrwxrwx 1 root root  17 Aug 18 23:53 libQtGui.so.4 -> libQtGui.so.4.7.0
            -rwxr-xr-x 1 root root 13M Jun 21 05:01 libQtGui.so.4.7.0
            [root@localhost lib]#

            red line shows that libQtGui.so.4 requires libfontconfig.so.1:
            [root@localhost lib]# ldd libQtGui.so.4
                    linux-gate.so.1 =>  (0x00390000)
                    libQtCore.so.4 => /opt/ins/qt4/qtsdk-2010.04/lib/./libQtCore.so.4 (0x00ed2000)
                    libpthread.so.0 => /lib/libpthread.so.0 (0x00110000)
                    libgthread-2.0.so.0 => /lib/libgthread-2.0.so.0 (0x00128000)
                    librt.so.1 => /lib/librt.so.1 (0x0012d000)
                    libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x00184000)
                    libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x002ae000)
                    libgobject-2.0.so.0 => /lib/libgobject-2.0.so.0 (0x00136000)
                    libSM.so.6 => /usr/lib/libSM.so.6 (0x00175000)
                    libICE.so.6 => /usr/lib/libICE.so.6 (0x00222000)
                    libXrender.so.1 => /usr/lib/libXrender.so.1 (0x0023c000)
                    libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00245000)
                    libz.so.1 => /usr/lib/libz.so.1 (0x0026f000)
                    libXext.so.6 => /usr/lib/libXext.so.6 (0x0036f000)
                    libX11.so.6 => /usr/lib/libX11.so.6 (0x03fe7000)
                    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0671b000)
                    libm.so.6 => /lib/libm.so.6 (0x0032e000)
                    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00282000)
                    libc.so.6 => /lib/libc.so.6 (0x01c1f000)
                    libdl.so.2 => /lib/libdl.so.2 (0x0017e000)
                    /lib/ld-linux.so.2 (0x00292000)
                    libexpat.so.0 => /lib/libexpat.so.0 (0x050b5000)
                    libXau.so.6 => /usr/lib/libXau.so.6 (0x0028e000)
                    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00355000)
            [root@localhost lib]#

            but the libfontconfig.so.1 in my system is out of date and not valid for QT SDK.
            so, I download the newer one and make it.

            no need to uninstall previous older one.
            just backup it and link the newer one to /usr/lib

            /usr/lib
            ________________________________________________________________________________
            lrwxrwxrwx 1 root root   22 Aug 15 04:13 libfontconfig.so -> libfontconfig.so.1.1.0
            lrwxrwxrwx 1 root root   69 Aug 19 00:51 libfontconfig.so.1 -> /opt/pro/uti/fontconfig/fontconfig-2.4.2/src/.libs/libfontconfig.so.1
            -rwxr-xr-x 1 root root 190K Aug 24  2007 libfontconfig.so.1.1.0
            lrwxrwxrwx 1 root root   22 Aug 15 04:08 libfontconfig.so.1.bak -> libfontconfig.so.1.1.0
            [root@localhost lib]#


            here is the cmd:
            cd /usr/lib
            mv libfontconfig.so.1 libfontconfig.so.1.bak
            ln -s /opt/pro/uti/fontconfig/fontconfig-2.4.2/src/.libs/libfontconfig.so.1 /usr/lib/libfontconfig.so.1

            after "make" of fontconfig, the so files are here:
            /opt/pro/uti/fontconfig/fontconfig-2.4.2/src/.libs/libfontconfig.so.1
            and you need to link it to /usr/lib/libfontconfig.so.1

            close QT SDK and reboot it to build your project. that's okay.

            If you really want to update rpm, just download fontconfig-2.4.2-3.fc7.i386.rpm
            and fontconfig-devel-2.4.2-3.fc7.i386.rpm.
            install them without dependence check:

            rpm -Uvh --nodeps fontconfig-2.4.2-3.fc7.i386.rpm
            rpm -Uvh --nodeps fontconfig-devel-2.4.2-3.fc7.i386.rpm

            that's all.

            Good luck.











            Second, How to integrate QT SDK into Eclipse



            Just download qtjambi-eclipse-integration-linux32-4.5.2_01.tar.gz
            cd into your eclipse dir and tar xvf it under dropins as me.

            /opt/ins/cpp/eclipse/dropins
            ________________________________________________________________________________
            total 4.0K
            drwxr-xr-x 4 root root 4.0K Jan  7  2010 qt-eclipse-integration-linux.x86-1.6.1
            [root@localhost dropins]#

            run eclipse with option -clean
            /opt/ins/cpp/eclipse/eclipse -clean

            Good luck.





            posted on 2010-08-19 01:18 JonsenElizee 閱讀(1563) 評論(0)  編輯 收藏 引用 所屬分類: Linux.QT
            By JonsenElizee
            久久久久久综合网天天| 国产午夜精品理论片久久影视| 精品久久久久久国产三级| 久久精品这里只有精99品| 一日本道伊人久久综合影| 国产精品99久久久精品无码| 国产精品99久久精品| 久久精品国产一区二区三区不卡| 久久精品国产免费观看三人同眠| 久久精品成人免费网站| 亚洲精品国产第一综合99久久| 久久久一本精品99久久精品88| 久久精品国产黑森林| www久久久天天com| 国产精品久久新婚兰兰| 精品久久久久久久久久中文字幕| 久久亚洲精品成人AV| 日本久久久久久久久久| 69久久夜色精品国产69| 国产激情久久久久久熟女老人| 狠狠久久综合伊人不卡| 久久91综合国产91久久精品| 久久中文字幕人妻熟av女| 久久99久久成人免费播放| 狠狠色丁香婷综合久久| 久久久无码精品亚洲日韩蜜臀浪潮| 欧美与黑人午夜性猛交久久久| 国产精品久久永久免费| 久久精品人人做人人妻人人玩| 久久亚洲AV无码精品色午夜| 欧美亚洲另类久久综合婷婷| 无码8090精品久久一区| 久久精品国产精品亜洲毛片| 久久精品视屏| 久久久久久国产精品免费免费| 久久se精品一区二区影院| 久久精品成人| 久久国产AVJUST麻豆| 久久九九兔免费精品6| 欧美精品九九99久久在观看| 免费无码国产欧美久久18|