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

            eryar

            PipeCAD - Plant Piping Design Software.
            RvmTranslator - Translate AVEVA RVM to OBJ, glTF, etc.
            posts - 603, comments - 590, trackbacks - 0, articles - 0

            Use Qt in Debian for OpenCASCADE

            Posted on 2015-05-21 22:10 eryar 閱讀(1998) 評論(0)  編輯 收藏 引用 所屬分類: 2.OpenCASCADE

            Use Qt in Debian for OpenCASCADE

            eryar@163.com

            Recently several OpenCASCADE enthusiasts want to build my simple Qt demo about OpenCASCADE on ubuntu system, but could not compile it successfully. Because I only compiled the occQt in Windows system, do not try it in Linux system. I try to build it on Debian system, also have the same errors as follows:

            wps_clip_image-9806

            Figure 1. Compile errors of Building occQt on Debian

            In order to use Qt5 in Debian7, you can input the following commands:

            1. Get Qt5 on Debian:

            sudo apt-get install qt5-default qt5-qmake qtbase5-dev-tools qtchooser

            2. Download the newest version of QtCreator from Qt website:

            http://www.qt.io/download-open-source/#section-6

            You can get the following file:

            qt-creator-opensource-linux-x86_64-3.4.0.run

            wps_clip_image-22633

            Figure 2. Download Qt Creator for Linux

            3. Install QtCreator manually:

            Install Qt Creator manually by the following commands:

            chmod u+./qt-creator-opensource-linux-x86_64-3.4.0.run

            ./qt-creator-opensource-linux-x86_64-3.4.0.run

            wps_clip_image-16257

            Figure 3. Qt Creator Setup

            wps_clip_image-3440

            Figure 4. Qt Creator Setup

            4. It is succeed When the Qt Creator Icon appears in the Applications.

            wps_clip_image-26540

            Figure 5. Qt Creator in Applications

            5. I tried the math_Vector, it runs correctly, the code list as follows:

            #include <math_Vector.hxx>

            void TestVector(void)
            {
                math_Vector aVector(
            13);

                aVector.Init(
            1.0);
                aVector.Dump(std::cout);

                aVector 
            = -aVector;
                aVector.Dump(std::cout);

                aVector 
            = aVector.Opposite();
                aVector.Dump(std::cout);

            }

            int main()
            {
                TestVector();

                
            return 0;
            }

            The configuration of the test project as follows:

            TEMPLATE = app

            CONFIG 
            += console

            CONFIG 
            -= app_bundle

            CONFIG 
            -= qt

            SOURCES 
            += main.cpp

            include(deployment
            .pri)

            qtcAddDeployment()

            INCLUDEPATH 
            += /home/eryar/opencascade-6.8.0/inc

            DEPENDPATH 
            += /home/eryar/opencascade-6.8.0

            LIBS 
            += -L/home/eryar/opencascade-6.8.0/lib/ -lTKernel -lTKMath

            The result shows:

            wps_clip_image-25550

            Figure 6. Test math_Vector in Qt on Debian

            It can compile and run correctly, the compile error in occQt do not appear in the test program. you can also debug the code in Qt Creator. So use Qt Creator to program on Linux is very convenient.

            久久亚洲AV无码精品色午夜 | av无码久久久久久不卡网站| 久久久www免费人成精品| 波多野结衣久久一区二区| 色综合久久中文字幕综合网| 欧美与黑人午夜性猛交久久久| 亚洲人成无码久久电影网站| 亚洲日韩中文无码久久| 久久青草国产手机看片福利盒子| 久久91这里精品国产2020| 国产A三级久久精品| 久久午夜无码鲁丝片午夜精品| 四虎影视久久久免费观看| 久久久噜噜噜久久熟女AA片 | 91精品国产91久久久久福利| 国产亚洲欧美成人久久片| 狠狠色丁香久久婷婷综合_中 | 久久se精品一区二区影院| 午夜精品久久久久久久久| 久久人人爽人人爽人人片AV麻豆 | 久久久一本精品99久久精品88| 久久综合综合久久97色| 久久婷婷色香五月综合激情| 久久精品国产久精国产| 亚洲国产成人精品无码久久久久久综合| 一本久久a久久精品亚洲| 狠狠久久综合| 九九久久99综合一区二区| 久久AV高潮AV无码AV| 天天影视色香欲综合久久| 国内精品久久久久久久影视麻豆| www久久久天天com| 7777久久亚洲中文字幕| 7777久久久国产精品消防器材| 91精品国产91久久久久久蜜臀| 久久大香香蕉国产| 思思久久99热只有频精品66| 欧美精品乱码99久久蜜桃| 久久夜色精品国产www| 国内精品久久久久久久久| 久久97久久97精品免视看秋霞|