本文介绍了如何使用Qmltermwidget的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何使用这个

比如我应该如何在qt程序中使用它,无论是
还是在.pro文件中包含libs = -qmltermwidget之类的东西,或者应该怎么做???

解决方案

您可以查看包含 qmltermwidget ,因为它基于它,如中可见。



它涉及通过文件(请参阅 file

  add_subdirectory(qmltermwidget)


I would like to know how to use this qmltermwidget GitHub
like how should I use it in a qt program whether I should
include something like libs=-qmltermwidget in the .pro file or what should I do???

解决方案

You can check how hawaii-desktop/hawaii-terminal includes qmltermwidget, since it is based on it, as seen in its sources.

It involves compiling the qmltermwidget sources through a plugin/qmltermwidget/qmltermwidget.pro file (See QT pro file Configuration Features)

Those sources are declared in the main project plugin/CMakeLists.txt file

add_subdirectory(qmltermwidget)

这篇关于如何使用Qmltermwidget的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 21:00