问题
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