开发者

Some of QT examples are not working

开发者 https://www.devze.com 2023-02-28 08:23 出处:网络
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->Br

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.


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
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号