欧美三区_成人在线免费观看视频_欧美极品少妇xxxxⅹ免费视频_a级毛片免费播放_鲁一鲁中文字幕久久_亚洲一级特黄

Use Qt in Debian for OpenCASCADE

系統(tǒng) 2295 0

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 + x? ./ 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( 1 ,? 3 );

????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.

Use Qt in Debian for OpenCASCADE


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯(lián)系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點(diǎn)擊下面給點(diǎn)支持吧,站長非常感激您!手機(jī)微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點(diǎn)擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發(fā)表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 亚洲色综合图区p | 日韩精品一区二区三区视频播放 | 色蜜桃网 | 99这里只有精品视频 | 亚洲国产精品a一区 | 艳妇荡乳豪妇荡淫 | 婷婷色综合久久 | 色网在线观看 | 亚洲第一国产 | 欧美日韩一区二区三区视频播 | 成人福利在线视频 | 欧美一级精品片在线看 | 天天操天天操天天 | 午夜影院18 | www.777色| 欧美视频在线一区 | 五月婷婷六月爱 | 日本一道一区二区免费看 | 欧美亚洲一区二区三区在线 | 久久国产一区 | 国产精品蜜臂在线观看 | 关键词 | 久久精品91久久久久久再现 | 亚洲欧美日韩三级 | 亚洲狠狠婷婷综合久久久久图片 | 亚洲午夜精品国产电影在线观看 | 日本不卡在线一区二区三区视频 | 国产97免费视频 | 国产真人做爰视频免费 | 91精品国产综合久久婷婷香蕉 | 新婚人妻不戴套国产精品 | 色综合色狠狠天天久久婷婷基地 | 久草视频在线播放 | 激情插插插 | 精品一区二区三区在线观看l | 亚洲精品第五页中文字幕 | 亚洲人和日本人jizz | 免费久久一级欧美特大黄 | 综合网视频| www.狠狠色| 免费一级大毛片a一观看不卡 |