银河麒麟如何部署QtMqtt,make时一直出现错误。
松山湖社区运营 2024-07-17 14:51:13
佬们,银河麒麟如何部署QtMqtt,make时一直出现错误。类似于In file included from qmqttclient_p.h:49,
from qmqttclient.cpp:31:
/usr/include/x86_64-linux-gnu/qt5/private/qobject_p.h:1:10: fatal error: ../../../../../src/corelib/kernel/qobject_p.h: 没有那个文件或目录
1 | #include "../../../../../src/corelib/kernel/qobject_p.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:592:.obj/qmqttclient.o] 错误 1
make[2]: 离开目录“/usr/include/x86_64-linux-gnu/qt5/QtMqtt/src/mqtt”
make[1]: *** [Makefile:47:sub-mqtt-make_first] 错误 2
make[1]: 离开目录“/usr/include/x86_64-linux-gnu/qt5/QtMqtt/src”
make: *** [Makefile:49:sub-src-make_first] 错误 2,解决了一个就会出现另一个,各种方法都试过了,解决不了,请大佬指点迷津!