简体   繁体   English

了解 QtService 中的后端

[英]Understand backend in QtService

I wrote a daemon using Skycoder42/QtService .我使用Skycoder42/QtService编写了一个守护进程。 It works when run from QtCteator but on the server, I get the below error它在从 QtCteator 运行时有效,但在服务器上,我收到以下错误

qtservice: No backend found for the name "standard"

In the project document, I can't find anything在项目文档中,我找不到任何东西

what is the backend?什么是后端? How can I install the service and start it?如何安装并启动服务?

Finally, I find the solution:最后,我找到了解决方案:

We must copy the path/to/qt/gcc_64/plugins/servicebackends directory next to executable我们必须将path/to/qt/gcc_64/plugins/servicebackends目录复制到可执行文件旁边

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM