• <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

               :: 首頁(yè) :: 新隨筆 ::  ::  :: 管理 ::
            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) 評(píng)論(0)  編輯 收藏 引用 所屬分類(lèi): Linux.QT

            只有注冊(cè)用戶(hù)登錄后才能發(fā)表評(píng)論。
            網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問(wèn)   Chat2DB   管理


            By JonsenElizee
            久久精品亚洲精品国产欧美| 久久99精品久久久久久野外| 伊人久久综合精品无码AV专区| 亚洲а∨天堂久久精品| 亚洲国产精品一区二区三区久久| 人人狠狠综合久久88成人| 精品精品国产自在久久高清| 精品久久久久久无码人妻热| 久久久久香蕉视频| 无码国内精品久久人妻| 国产亚洲美女精品久久久2020| 2021久久精品国产99国产精品 | 久久av高潮av无码av喷吹| 亚洲国产日韩综合久久精品| 日本久久久久久中文字幕| 色综合久久久久无码专区| 狠狠色丁香婷综合久久| 亚洲日本va午夜中文字幕久久 | 久久婷婷色香五月综合激情| 国产成人精品久久二区二区 | 国产亚洲欧美精品久久久 | 亚洲国产精品无码久久| 久久久久亚洲精品无码网址| 伊人久久免费视频| 91精品国产综合久久四虎久久无码一级| 久久久艹| 久久精品无码一区二区三区免费| 国产精品久久久久影院嫩草| 99久久99久久精品国产片果冻| 久久无码人妻精品一区二区三区 | 精品久久777| 久久精品九九亚洲精品| 久久99精品久久久久子伦| av色综合久久天堂av色综合在| 欧美精品福利视频一区二区三区久久久精品| 国产午夜免费高清久久影院| 久久综合噜噜激激的五月天| 亚洲国产精品无码久久98| 日韩精品久久无码人妻中文字幕| 精产国品久久一二三产区区别 | 国产免费福利体检区久久|