Forumchem - Forum with AI(ALICE BOT & HAL9000) and TTS

More dificult for us, more easy for you
It is currently Thu Mar 28, 2024 10:21 am

All times are UTC





Post new topic Reply to topic  Page 1 of 1
 [ 1 post ] 
Author Message
 Post subject: opengl 3.3 breaking qquick 2 qt project forums qt project
PostPosted: Sat Nov 16, 2013 4:53 am 
Offline
User avatar

Joined: Fri Apr 03, 2009 1:31 am
Posts: 1357
opengl 3.3 breaking qquick 2 qt project forums qt project

I am having trouble setting the version of OpenGL to use to 3.3. I have started a new “Qt Quick 2 Application (Built-in Elements)” from Qt Creator and sub-classed the QtQuick2ApplicationViewer so that I can set the QSurfaceFormat as so:



  1.     QSurfaceFormat format;

  2.     format.setMajorVersion(3);

  3.     format.setMajorVersion(3);

  4.     format.setStencilBufferSize(4);

  5.     format.setProfile(QSurfaceFormat::CompatibilityProfile);

  6.  

  7.     setFormat(format);



If I run the application nothing is rendered to the window. However, if I change the version to 3.2 or 4.0 then everything seems to render properly. My dev machine is running Ubuntu 13.04 and glxinfo reports:





Source



Top
 Profile      
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  Page 1 of 1
 [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


 
Search for:
 
Jump to:  

cron
Click me:
Powered by phpBB © 2000, 2002, 2005, 2007, 2008, 2009 phpBB Group
Chronicles phpBB3 theme by Jakob Persson. Stone textures by Patty Herford.
With special thanks to RuneVillage

This site have 4 type of tecnology in order to convert text to speech. By default you use the vozme tecnology. In order to know the other you need to sign for.


- Privacy Policy -