在Qt中使用AnyCAD三维建模控件

下载

Qt高速下载:http://pan.baidu.com/s/1bng1kwJ spa

AnyCAD C++ SDK高速下载:http://pan.baidu.com/s/1qWFS1tE debug

 

QtCreator配置

假如AnyCAD C++ SDK目录为 ${AnySDK} 3d

设置include路径:

INCLUDEPATH +=  ${AnySDK}/inc orm

设置lib和lib路径:

win32:CONFIG(release, debug|release): LIBS += -L${AnySDK}/lib/release/ -lAnyPlatformAPI
else:win32:CONFIG(debug, debug|release): LIBS += -L${AnySDK}/lib/debug/ -lAnyPlatformAPI 继承

win32:CONFIG(release, debug|release): LIBS += -L${AnySDK}/lib/release/ -lAnyPlatformQt
else:win32:CONFIG(debug, debug|release): LIBS += -L${AnySDK}/lib/debug/ -lAnyPlatformQt ci

使用AuWindow3d三维控件

包含头文件 get

#include “AnyPlatformAPI.h”
#include “AnyPlatformQtInclude.h”
#include “Widgets/AuWindow3d.h” form

AnyCAD::QtUi::AuWindow3d是从QWidget继承而来,能够像使用其余Widget同样使用它。 配置

具体参考附带示例。 下载

其余AnyCAD::API中的建模、显示等与MFC同样使用。

相关文章
相关标签/搜索