How to use Qmltermwidget

自作多情 提交于 2019-12-08 07:21:12

问题


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???


回答1:


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)


来源:https://stackoverflow.com/questions/42731833/how-to-use-qmltermwidget

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!