Closed STILSIK99 closed 2 months ago
@STILSIK99 do you want to prepare deb package for plugin only (and create dependency to app) or for all your App include this plugin ?
@EndrII , I want to prepare deb package of my app, that use plugin qtsqlmysql.
Okay its easy just run cqtdeployer with two option deb and -extraPlugin
cqtdeployer ... -extraPlugin path/to/plugin/bin/dir deb
or
cqtdeployer ... -extraPlugin path/to/libqsqlmysql.so deb
So where ... - is other required options like -bin or -qmake
The cqtdeployer prepare an independent Debian package for your application.
If you want to create a custom Debian package just prepare DEBIAN template dir and pass it to deb option of cqtdeployer
cqtdeployer ... -extraPlugin path/to/libqsqlmysql.so -deb path/to/template/dir/DEBIAN
You can see example here
Thanks, next step. I have some truble with addition my DEBIAN configurations. CQtDeployer print "Use custom template", but metadata of deb package include standard template (not my).
I suppose my configuration for build have some errors, if check it by "lintian" tool. So CQtDeployer don't want to use my configuration. But no more infomation about it in output.
Yes its documentation mistake, the help for deb option have bad documentation, so I updated it. @STILSIK99 please check new version and leave your feedback. see #816
I build custom plugin (libqsqlmysql.so) for my application guided by same instruction: "https://stackoverflow.com/questions/6483523/qt-how-to-getcompile-mysql-driver".
When i finished my application, i need build deb package for that. There are many dependencies among which mysql plugin, i don't understand how install it.