惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

有赞技术团队
有赞技术团队
美团技术团队
博客园 - 司徒正美
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
阮一峰的网络日志
阮一峰的网络日志
S
SegmentFault 最新的问题
博客园_首页
雷峰网
雷峰网
V
V2EX
The Cloudflare Blog
博客园 - 三生石上(FineUI控件)
量子位
Last Week in AI
Last Week in AI
人人都是产品经理
人人都是产品经理
爱范儿
爱范儿
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 聂微东
V
Visual Studio Blog
Hugging Face - Blog
Hugging Face - Blog
博客园 - 【当耐特】
Jina AI
Jina AI
月光博客
月光博客
L
LangChain Blog

博客园 - zhaocundang

MLX90640迷你热像仪管道测温电路维修酒店巡检科研实验数据采集 树莓派4b 安装ubuntu18.04 server glibc2.27 打包分发qt软件 树莓派4b qt打包软件 海曼HTPA80X64红外热成像 测温采集记录仪 多点实时温度分析 海曼HTPA32X32红外热成像 测温采集记录仪 多点实时温度分析 在Ubuntu上的QT创建工程并打包项目 MLX90640热像仪测温采集 科研实验 非接触测温 FLIR LEPTON3.5 热像仪wifi 科研实验测温采集仪 STM32H750 DMA 串口2 D CACHE缓存问题 热像仪报警器MLX90640 qt c语言双三次线性插值 qt RGB565 转rgb Qt MacOS 打包dmg MLX90640 热成像 热像仪 OV2640 双光融合 seafile配置 安装基于Ubuntu20.04 Desktop的Raid1。 lvgl qt RGB 转RGB565 生成提供单片机LCD显示 STM32F411CE VCAP 电容不稳定导致死机
树莓派4b ubuntu24.04安装qt配置软件源
zhaocundang · 2026-01-23 · via 博客园 - zhaocundang

https://mirror.tuna.tsinghua.edu.cn/help/ubuntu-ports/
传统格式(/etc/apt/sources.list)
Ubuntu 版本
Ubuntu 24.04 LTS
启用源码源
启用 proposed
强制安全更新使用镜像
``

默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble main restricted universe multiverse

deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble-updates main restricted universe multiverse

deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble-updates main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble-backports main restricted universe multiverse

deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble-backports main restricted universe multiverse

以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换

deb http://ports.ubuntu.com/ubuntu-ports/ noble-security main restricted universe multiverse

deb-src http://ports.ubuntu.com/ubuntu-ports/ noble-security main restricted universe multiverse

预发布软件源,不建议启用

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble-proposed main restricted universe multiverse

# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ noble-proposed main restricted universe multiverse

``

更新系统软件包列表:

bash
sudo apt update
sudo apt upgrade
安装必要的构建工具和基础库:

bash
sudo apt install build-essential libgl1-mesa-dev
这一步安装了编译Qt应用程序所需的基础工具和OpenGL库。

安装Qt核心开发库和工具:

bash
sudo apt install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
qtbase5-dev 是Qt 5的核心开发库,qt5-qmake 是项目构建工具。

(可选)安装Qt Creator集成开发环境:

bash
sudo apt install qtcreator
安装后,你可以在应用程序菜单中找到它。

(可选)安装额外模块:
根据你的项目需要,可以选择安装其他模块,例如:

bash

如果需要开发图形界面应用

sudo apt install qtdeclarative5-dev

如果需要串口通信功能

sudo apt install libqt5serialport5-dev