QT_解决的问题

QT_解决的问题

linux下

Ubuntu22.04打开QT5只显示pro文件(Ubuntu安装QT)

sudo apt install gcc
sudo apt install g++

sudo apt install clang
sudo apt install clang+

sudo apt install make
sudo snap install cmake --classic

#安装Qt5的组件
sudo apt-get install build-essential

#安装Qt的开发工具
sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools

#安装qtcreator
sudo apt-get install qtcreator

#安装qt
sudo apt-get install qt5*

error: ‘QtSerialPort/QSerialPortInfo’ file not found

error: ‘QtSerialPort/QSerialPort’ file not found

error: Project ERROR: Unknown module(s) in QT: serialport

sudo apt-get install libqt5serialport5
sudo apt-get install libqt5serialport5-dev

fatal error: bits/c++config.h: No such file or directory

sudo apt-get install gcc-multilib g++-multilib

Error while building/deploying project…When executing step “qmake”

项目构建目录是红色,目录有问题
windows下

Error while building/deploying project Serial_communication (kit: Desktop Qt 5.14.2 MinGW 64-bit)

When executing step “qmake”

项目在中文路径下;

应用无法正常启动(0xc000007b)。

D:\app\qt5.14.2\5.14.2\5.14.2\mingw73_64\bin

将对应的编译器打开复制bin路径,添加环境变量

xxx dose not name a type

两个头文件互相包含对方;
  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Three笔记

有用的话赏点吧

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值