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???
Asked
Active
Viewed 888 times
1

Dravigon
- 73
- 1
- 8
-
i need to add that program to my program how to do it?? – Dravigon Mar 11 '17 at 05:48
1 Answers
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)

VonC
- 1,262,500
- 529
- 4,410
- 5,250
-
-
-
@dravigon OK. I have edited the answer to reference another project which is using qmltermwidget as a plugin – VonC Mar 11 '17 at 12:22
-
-
@dravigon http://doc.qt.io/qt-5/qtqml-modules-cppplugins.html could help. As well as http://doc.qt.io/qt-5/qtqml-qmlextensionplugins-example.html – VonC Mar 11 '17 at 20:50