Error when building MQTT for Android
-
I'm building MQTT for Android using Qt6.5.0
When I run cmake, I get an error "Conan install failed='1' CMakeLists.txt:12 (conan_install)" , but I already install conan via Python, maybe line 12's configuration is wrong?
I ignore this error, and start to build, this time I get another error "No target architecture defined in json file." , but there does exist " "target-architecture": "arm64-v8a"," which makes me confused
Can anyone tell me the right way to build MQTT for Android using Qt6?
Maybe someone can try to build MQTT and check if the errors would happen again? -
I'm building MQTT for Android using Qt6.5.0
When I run cmake, I get an error "Conan install failed='1' CMakeLists.txt:12 (conan_install)" , but I already install conan via Python, maybe line 12's configuration is wrong?
I ignore this error, and start to build, this time I get another error "No target architecture defined in json file." , but there does exist " "target-architecture": "arm64-v8a"," which makes me confused
Can anyone tell me the right way to build MQTT for Android using Qt6?
Maybe someone can try to build MQTT and check if the errors would happen again? -
@RoachLin https://doc.qt.io/qtcreator/creator-project-conan.html
To enable the experimental Conan plugin, select Help > About Plugins > Utilities > Conan. Then select Restart Now to restart Qt Creator and load the plugin.
@JoeCFD I enable the plugin, and it also failed
I also read and try the steps in these links, but it doesn't make sense
https://doc.qt.io/qtcreator/creator-build-settings-conan.html#conan-build-steps
https://doc.qt.io/qtcreator/creator-build-settings-cmake.html#using-cmake-with-conan
By the way, Could you tell me the right way to build QtMqtt on Windows using Qt6? I follow the Chinese tutorials but it failed with ERROR ":-1: error: ERROR: Error loading conanfile at 'C:\Users\Lin\Desktop\624qtmqtt\qtmqtt\conanfile.py': Unable to load conanfile in C:\Users\Lin\Desktop\624qtmqtt\qtmqtt\conanfile.py
ERROR: Error loading conanfile at 'C:\Users\Lin\Desktop\624qtmqtt\qtmqtt\conanfile.py': Unable to load conanfile in C:\Users\Lin\Desktop\624qtmqtt\qtmqtt\conanfile.py
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\Users\Lin\Desktop\624qtmqtt\qtmqtt\conanfile.py", line 29, in <module>
from conans import ConanFile" -
@JoeCFD I enable the plugin, and it also failed
I also read and try the steps in these links, but it doesn't make sense
https://doc.qt.io/qtcreator/creator-build-settings-conan.html#conan-build-steps
https://doc.qt.io/qtcreator/creator-build-settings-cmake.html#using-cmake-with-conan
By the way, Could you tell me the right way to build QtMqtt on Windows using Qt6? I follow the Chinese tutorials but it failed with ERROR ":-1: error: ERROR: Error loading conanfile at 'C:\Users\Lin\Desktop\624qtmqtt\qtmqtt\conanfile.py': Unable to load conanfile in C:\Users\Lin\Desktop\624qtmqtt\qtmqtt\conanfile.py
ERROR: Error loading conanfile at 'C:\Users\Lin\Desktop\624qtmqtt\qtmqtt\conanfile.py': Unable to load conanfile in C:\Users\Lin\Desktop\624qtmqtt\qtmqtt\conanfile.py
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\Users\Lin\Desktop\624qtmqtt\qtmqtt\conanfile.py", line 29, in <module>
from conans import ConanFile" -