我已经找到了一个链接,我在Qt上找到了一个QtTreePropertyBrowser小部件。不过,我不知道怎么建它。工作流程是什么?我正在使用Qt,它已经从Synaptic,Ubuntu (预置)中构建。我是否应该首先从源代码编译Qt,以便构建我刚刚找到的QtTreePropertyBrowser包?
提前谢谢。
发布于 2014-01-27 14:19:02
我从未尝试过构建组件并将其集成到Qt-Designer中,因此以下只是猜测,但我希望我能为您指明正确的方向:您不需要编译Qt-Creator,您所需要的是编译该组件,它是Qt设计器的一个插件。我可以推荐两份文件:
在您找到的源代码中有一个INSTALL.TXT,它试图回答您提出的一些问题。以下是头条新闻:
INSTALLATION INSTRUCTIONS
Unpacking and installation
1. Unpacking the archive (if you have not done so already).
2. Configuring the package.
3. Building the component and examples (when required).
4. Building the Qt Designer plugin (optional).
Using a component in your project
在Qt的文档中有一个名为为Qt设计器创建自定义小部件的页面。
https://stackoverflow.com/questions/21377531
复制相似问题