Raspberry Pi 4B 安装QT5和qtCreator

https://blog.csdn.net/coekjin/article/details/52049273

sudo apt-get install qt5-default
sudo apt-get install qtcreator

由于Qt Creator不能自动识别树莓派上的工具链,因此需要手动添加。点击Tools -> Options打开配置对话框,在Build & Run -> Kits选项卡中点击Add。Compiler设置为/usr/bin/gcc,Debugger可设置为/usr/bin/gdb,Devices type选择Desktop,Device选择local,qt version选择/usr/bin/qmake。

猜你喜欢

转载自www.cnblogs.com/bodom/p/11737251.html