Some of QT examples are not working

懵懂的女人 提交于 2019-12-13 05:32:41

问题


After building QT via my Visual Studio 2010 as described here I find out that most part of demos doesn't work. When I open qtdemo.exe and try to Launch some of them (for example Demonstrations->Browser, Demonstrations->Media Player, Qt Declarative Examples->TV Tennis, ...) the same error message "Could not launch the example. Ensure that it has been built." I get.


回答1:


If you followed these configure flags from here, then obviously not all examples will work. These are the ones for a minimalistic Qt build:

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

If you want all example to work (except webkit), then use this:

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

If you want the to build everything (takes something like 17 GB of HDD space and half a day):

configure.exe


来源:https://stackoverflow.com/questions/5742041/some-of-qt-examples-are-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!