Page 1 of 1

Load CADEditorx into QT

Posted: 12 Jan 2024, 10:09
by 徐亦珂辰
Hello everyone:
I'm asking this question here because I don't see documentation on the CADEditorX forums or in the help manual on loading CADEditorX into QT.I saw a forum post called <Totally Lost on CADEditorX> and found that in the following explanation, there is a control called SgCADEditor Object in the list of registered COM components on the computer, and I found that in my QT compiler QAxWidget control, when setting the ActiveX component, there is also a component of SgCADEditor Object,but it is gray and unusable.I downloaded the installation package, unzipped to get setupen.exe, by clicking to follow the installation instructions step by step to complete the installation. Finally, me get a folder with the file name, CADEditor X 15,I don't know if it's a bug in my installation that prevents the SgWidget Object from being used in QAxWidget, please be able to explain or provide a simple demonstration.


pay tribute
xiao ke

Re: Load CADEditorx into QT

Posted: 15 Jan 2024, 15:57
by support
Hello,

We have a demo which should implement your task.
Please use the next link to download it: https://cadsofttools.com/download/clien ... essXML.zip

Kind regards,
Suraya

Re: Load CADEditorx into QT

Posted: 18 Jan 2024, 11:34
by 徐亦珂辰
It's a pleasureTo be able to hear back from you,Suraya,
I downloaded the file you sent me, but I get this error when opening the build with my QT 5.15.2:: error: No rule to make target 'E:/QAxWidget_ProcessXML/QAxWidget_ProcessXML/lib/libQt5AxContainerd. a', needed by 'debug/cadeditor.exe' . Stop。 I loaded CADEditorX using the way I added the widget directly in QAxWidget. Thanks for the demo though. However, I have a new problem, I plan to see the following CADEditorX interface appear when the program starts, the menu bar and toolbar of CADEditorX do not appear, I use CADEditorX by calling the API through the control I wrote in QT, but I don't know how to call CADEditorX's API in QT, I didn't find the relevant information in the CADEditorX help document, how to call CADEditorX in QT API to do this?


Kind regards
xiaoke

Re: Load CADEditorx into QT

Posted: 22 Jan 2024, 16:35
by support
徐亦珂辰 wrote:
18 Jan 2024, 11:34
It's a pleasureTo be able to hear back from you,Suraya,
I downloaded the file you sent me, but I get this error when opening the build with my QT 5.15.2:: error: No rule to make target 'E:/QAxWidget_ProcessXML/QAxWidget_ProcessXML/lib/libQt5AxContainerd. a', needed by 'debug/cadeditor.exe' . Stop。 I loaded CADEditorX using the way I added the widget directly in QAxWidget. Thanks for the demo though. However, I have a new problem, I plan to see the following CADEditorX interface appear when the program starts, the menu bar and toolbar of CADEditorX do not appear, I use CADEditorX by calling the API through the control I wrote in QT, but I don't know how to call CADEditorX's API in QT, I didn't find the relevant information in the CADEditorX help document, how to call CADEditorX in QT API to do this?


Kind regards
xiaoke
Hello xiaoke,
As far as I'm concerned, my colleague Maria has already helped you out with this question. Did her reply help you?
Best regards,
Catherine.

Re: Load CADEditorx into QT

Posted: 25 Jan 2024, 10:14
by 徐亦珂辰
Yes, I have completed the steps to load CADEditorX in QT, thank you guys for your help.


Kind regards

Re: Load CADEditorx into QT

Posted: 25 Jan 2024, 12:03
by support
徐亦珂辰 wrote:
25 Jan 2024, 10:14
Yes, I have completed the steps to load CADEditorX in QT, thank you guys for your help.


Kind regards
Thank you for letting us know that the issue is resolved.

Best wishes,
Catherine.