Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure Qt with opengl dekstop option?

Just installed Qt 5.0.2 (qt-windows-opensource-5.0.2-mingw47_32-x86-offline; here I'll say "wow" for the cool interface of the IDE) and faced one warning and one error when tried to 'Run' the 'boxes' example:

Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c

This example requires Qt to be configured with -opengl desktop

Searched in their wiki but didn't find what should I do to fix it :(

Anyone wanna throw some more light about that?

like image 483
1000Gbps Avatar asked Apr 22 '13 22:04

1000Gbps


1 Answers

This example requires Qt to be configured with -opengl desktop

This refers to the -opengl desktop configuration option that can be passed to Qt's build system when configuring the library build. You did install a precompiled version of Qt and can't change much about its build options. You'll have to download the Qt sources and build them to your configuration needs.

like image 67
datenwolf Avatar answered Nov 06 '22 12:11

datenwolf