简体   繁体   English

QT 版本好像比安装的要旧

[英]QT version seems to be older than installed

I'm new to QT and QML, I found a cool KDE Plasma addon on the inte.net and wanted to edit it, but flushMode property, which I want to use, was introduced in QT 5.13.我是 QT 和 QML 的新手,我在 inte.net 上找到了一个很酷的 KDE Plasma 插件并想对其进行编辑,但是我想使用的flushMode属性是在 QT 5.13 中引入的。 I have installed QT 5.15 (to be exact, 5.15.3), rebooted and got file:///filename.qml:58:2: "VideoOutput.flushMode" is not available in QtMultimedia 5.8.我已经安装了 QT 5.15(准确地说是 5.15.3),重新启动并得到了file:///filename.qml:58:2: "VideoOutput.flushMode" is not available in QtMultimedia 5.8. I also checked that qt5-multimedia is 5.15.3+kde+r0-1 (latest from arch linux repository), checked the QT version in system settings, everything says it's 5.15, but in the logs it acts like it's 5.8.我还检查了 qt5-multimedia 是5.15.3+kde+r0-1 (来自 arch linux 存储库的最新版本),检查了系统设置中的 QT 版本,一切都说它是 5.15,但在日志中它的行为就像是 5.8。 Is it possible that I have 2 different qt5 installations, or why does this happen?是否有可能我有 2 个不同的 qt5 安装,或者为什么会发生这种情况?

Yes, you very likely have two Qt installed.是的,您很可能安装了两个 Qt。 You got system Qt package that comes with desktop environment, I believe it does not include development files (headers), to obtain them you installed qt-something-dev package that installed another Qt as dependency.你有桌面环境附带的系统 Qt package,我相信它不包括开发文件(头文件),为了获得它们你安装了qt-something-dev package 安装了另一个 Qt 作为依赖。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Qt Creator 2.6.2和Qt 4.8.4:未正确安装Qt版本 - Qt Creator 2.6.2 and Qt 4.8.4: Qt version is not properly installed Qt 5.2 版本未在 Mac 上正确安装 - Qt 5.2 version is not properly installed on Mac 如何将Linux中安装的Qt从一个版本升级到更高版本 - How to upgrade Qt installed in linux from one version to higher QT版本安装不正确,请运行make install - QT version is not properly installed, please run make install 如何在Mac OS X上检查已安装的Qt版本 - How to check the installed Qt version on Mac OS X 如何在Qt 4.8中阻止/忽略/丢弃早于特定超时的用户输入事件 - How to block/ignore/discard user input events that are older than a certain timeout in Qt 4.8 Qt 6.2.4 for QNX710 on Ubuntu 20.04 - Qt 版本未正确安装 - Qt 6.2.4 for QNX710 on Ubuntu 20.04 - Qt version is not properly installed 用qmake安装Pyside2:“需要QT版本5.7+”,但我安装了版本5.11 - Installing Pyside2 with qmake: “QT version 5.7+ required”, but I have version 5.11 installed 强制Qt“ Hello World”应用程序构建32位-比看起来更难 - Forcing a Qt “Hello World” app to build 32 bit - harder than it seems 如果我安装了Qt的Carbon或Cocoa版本,我如何在Mac OS X上讲述? - How do I tell on Mac OS X if I have the Carbon or Cocoa version of Qt installed?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM