标题:qt creator 安装后,运行自带的例子,总是通不过,请问什么原因?
只看楼主
vx0532
Rank: 1
等 级:新手上路
帖 子:13
专家分:0
注 册:2012-8-22
结帖率:0
 问题点数:0 回复次数:0 
qt creator 安装后,运行自带的例子,总是通不过,请问什么原因?
先安装了的qt library,然后对qt library进行了设置,编译等操作,并且将其bin目录设置为环境变量了
然后安装qt creator,安装完成后,运行它自带的一些例子,配置时出现如下提示:
D:/Program/Qt_Creator/Examples/Qt-5.3/quick/demos/maroon/maroon.pro(4): 'qtHaveModule' is not a recognized test function.

Project MESSAGE: Warning: unknown QT: qml

Project MESSAGE: Warning: unknown QT: quick

D:/Program/Qt_Creator/Examples/Qt-5.3/quick/demos/maroon/maroon.pro(4): 'qtHaveModule' is not a recognized test function.

Project MESSAGE: Warning: unknown QT: qml

Project MESSAGE: Warning: unknown QT: quick

D:/Program/Qt_Creator/Examples/Qt-5.3/quick/demos/maroon/maroon.pro(4): 'qtHaveModule' is not a recognized test function.

Project MESSAGE: Warning: unknown QT: qml

Project MESSAGE: Warning: unknown QT: quick

D:/Program/Qt_Creator/Examples/Qt-5.3/quick/demos/maroon/maroon.pro(4): 'qtHaveModule' is not a recognized test function.

Project MESSAGE: Warning: unknown QT: qml

Project MESSAGE: Warning: unknown QT: quick
运行时,出现错误提示:
d:\Program\Qt_Creator\Examples\Qt-5.3\quick\demos\maroon\maroon.pro:4: error: Unknown test function: qtHaveModule
d:\Program\Qt_Creator\Examples\Qt-5.3\quick\demos\maroon\maroon.pro:4: error: Unknown test function: qtHaveModule
d:\Program\Qt_Creator\Examples\Qt-5.3\quick\demos\maroon\maroon.pro:4: error: Unknown test function: qtHaveModule
D:\Program\Qt_Creator\Examples\Qt-5.3\quick\demos\maroon\main.cpp:40: In file included from ..\maroon\main.cpp:40:0:
D:\Program\Qt_Creator\Examples\Qt-5.3\quick\shared\shared.h:41: error: QGuiApplication: N
搜索更多相关主题的帖子: recognized library maroon 
2014-07-31 21:49



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-434597-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.371821 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved