如何在 SparxSystems Enterprise Architect 中集成 Qt 库
我想知道如何将 Qt 库集成到 Enterprise Architect 项目中。我不知道是否可能,但我尝试了部分成功:
我向我的项目添加了一个新包,尝试通过上下文菜单/代码工程/导入源目录导入qt,并从目录 src/corelib/kernel 开始。将相当多的 qt 预处理器宏添加到 EA 预处理器宏列表后,一些类已正确导入,但并非全部。例如,尽管我将 Q_SIGNALS 宏添加到了 EA 列表中,但我还是收到了错误。
这里有人尝试过成功吗?如果是的话,您能给我一些如何做到这一点的提示吗?
谢谢!
I like to know how one can integrate the Qt libraries into an Enterprise Architect project. I do not know if it is possible at all but I tried it with partial success:
I added a new package to my project tried to import qt through Context Menu / Code Engineering / Import Source Directory and started with the directory src/corelib/kernel. After adding quite a lot qt preprocessor macros to the EAs preprocessor macros list some classes were correctly imported but not all. E.g. I get errors on the Q_SIGNALS macro although I added it to EAs list.
Did anybody here tried that with success? And when yes can you give me some hints how to do that?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我转向 [email protected] ,他们的回答:
“谢谢您的查询。
不,不幸的是,目前还没有简单的方法将 Enterprise Architect 与 Qt 集成。
对于大多数框架,我们通常建议将框架逆向工程到 Enterprise Architect 中,从而允许您引用框架定义的类/接口。
听起来您提供的链接中的用户已经尝试过此操作,但由于此代码中使用了大量预处理器宏而遇到了困难。
抱歉,我们无法提供更多帮助。”
也许我可以得到您的进口包裹?
I turned to [email protected] , their answer:
"Thank you for your enquiry.
No, unfortunately there is no easy way to integrate Enterprise Architect with Qt at this time.
With most frameworks, we typically recommend reverse engineering the framework into Enterprise Architect, allowing you to reference the classes / interfaces defined by the framework.
It sounds like the user in the link that you provided has already attempted this, but had difficulties due to the large number of Preprocessor macros used in this code.
Sorry we could not be of more assistance."
Maybe I can get your import package ?