一些QT的例子不工作

Some of QT examples are not working

本文关键字:工作 QT 一些      更新时间:2023-10-16

在我的Visual Studio 2010上构建QT之后,我发现大部分演示都不起作用。当我打开qtdemo.exe并尝试Launch其中的一些(例如Demonstrations->Browser, Demonstrations->Media Player, Qt Declarative Examples->TV Tennis,…)相同的错误信息"Could not launch the example. Ensure that it has been built."我得到。

如果您从这里遵循这些配置标志,那么显然不是所有示例都可以工作。这些是一个极简的Qt构建:

configure.exe -release -no-webkit -no-phonon -no-phonon-backend -no-script -no-scripttools -no-qt3support -no-multimedia -no-ltcg

如果你想让所有的例子都工作(除了webkit),然后使用这个:

configure.exe -release -no-webkit -no-ltcg

如果你想要构建所有内容(需要大约17 GB的HDD空间和半天):

configure.exe