QT5创建者“/usr/bin/g++&quot” Qmake使用,但“/usr/bin/g+ -9”在套件中配置

发布于 2025-01-25 19:43:22 字数 224 浏览 2 评论 0原文

在QT5 Creator中,我更改了项目套件中的编译器版本,但是现在抛出了上述错误(请注意:在此上下文中,'g ++'是指版本10,QT5与之不兼容)。我发现了一些有关使用终端命令与Qmake更改某些内容的一些信息,但是有人知道我如何解决这个问题吗?

编辑:要澄清,这个项目用于此项目的套件(这是我更改的内容),我将该项目从QT4迁移到QT5。这是在Ubuntu上安装的,这里没有多个QT版本(从Ubuntu存储库安装)

In QT5 Creator, I changed the compiler version in the project kit, but it's throwing the above error now(note: 'g++' in this context refers to version 10, which QT5 isn't compatible with). I found some information on using terminal commands to change some stuff with qmake, but does anyone know how I can fix this?

Edit: To clarify, a kit different from the default kit is being used for this project(that's what I changed), and I'm migrating this project from QT4 to QT5. This is installed on Ubuntu, and there aren't multiple versions of QT on here(installed from Ubuntu repositories)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文