找回密码
 立即注册
收起左侧

QT5.4 运行QML例子问题

2
回复
10406
查看
[复制链接]
累计签到:118 天
连续签到:2 天
来源: 2015-4-14 11:22:17 显示全部楼层 |阅读模式
2Qter豆
       我电脑是window  XP 32位的,以前用的是qt-opensource-windows-x86-mingw482_opengl-5.3.2这个版本,运行QML例子是会出现下面错误:
QML debugging is enabled. Only use this in a safe environment.
getProcAddress: Unable to resolve 'glBindFramebuffer'
getProcAddress: Unable to resolve 'glBindFramebufferOES'
getProcAddress: Unable to resolve 'glBindFramebufferARB'

在论坛里看到过亚飞老师说是安装QT5.4试试,按老师要求安装了qt-opensource-windows-x86-android-5.4.0这个版本,上面的问题没有了,可是在概要信息里出现以下问题:
    Could not find qmake configuration file default.
分析文件D:/QT/Examples/Qt-5.4/quick/demos/maroon/maroon.pro时发生错误,放弃中。
QML module does not contain information about components contained in plugins.

Module path: D:/QT/Tools/QtCreator/bin/qml/QtQuick/Dialogs/Private
See "Using QML Modules with Plugins" in the documentation.

Automatic type dump of QML module failed.
Errors:
"D:\QT\5.4\mingw491_32\bin\qmlplugindump.exe" returned exit code 3.
Arguments: -nonrelocatable QtQuick.Dialogs.Private 1.1 D:/QT/Tools/QtCreator/bin/qml
QQmlComponent: Component is not ready
file:///D:/QT/Tools/QtCreator/bin/qml/loadqtquick2.qml:1:1: plugin cannot be loaded for module "QtQuick": Cannot load library D:/QT/Tools/QtCreator/bin/qml/QtQuick.2/qtquick2plugin.dll: 找不到指定的程序。

          程序构建、运行都没问题,例子的界面也能显示出来,就是有上面问题,这样子有影响么?怎么解决?

最佳答案

查看完整内容

这个问题我倒是没有见过,现在用win7 64位,运行Qt 5.4没有问题。如果例子能编译过,可以运行,就不用理哪些提示信息。
回复

使用道具 举报

累计签到:1569 天
连续签到:1 天
2015-4-14 11:22:18 显示全部楼层
这个问题我倒是没有见过,现在用win7 64位,运行Qt 5.4没有问题。如果例子能编译过,可以运行,就不用理哪些提示信息。
回复

使用道具 举报

累计签到:118 天
连续签到:2 天
2015-4-15 09:12:25 显示全部楼层
我现在装的qt-opensource-windows-x86-mingw491_opengl-5.4.1这个版本,也会出现这种问题,应该是跟XP系统有关,不过还是万分感谢楼上老师的解答
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

公告
可以关注我们的微信公众号yafeilinux_friends获取最新动态,或者加入QQ会员群进行交流:190741849、186601429(已满) 我知道了