From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,fd0bfdd62007ee88,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!22g2000yqr.googlegroups.com!not-for-mail From: Alexis Newsgroups: comp.lang.ada Subject: OpenGL and QtAda 3.1 Date: Wed, 13 Jan 2010 12:39:22 -0800 (PST) Organization: http://groups.google.com Message-ID: <00c4a314-09f8-4cc1-b785-5abc4701e969@22g2000yqr.googlegroups.com> NNTP-Posting-Host: 212.166.221.198 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1263415162 15100 127.0.0.1 (13 Jan 2010 20:39:22 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 13 Jan 2010 20:39:22 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 22g2000yqr.googlegroups.com; posting-host=212.166.221.198; posting-account=fqT3AgoAAACuynC33fo8vJMqk6Lnw_it User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8734 Date: 2010-01-13T12:39:22-08:00 List-Id: Hello, I'm interested in using OpenGL with QtAda on Windows and GNAT 2009. So far I have managed to subclass a Q_GL_Widget, but OpenGL support seems to be lacking, thus I cannot call any glXXX functions like glClearColor. In the past I have managed to use OpenGL with Ada using the Win32 bindings in Win32Ada, but I'd like to do it in a "proper" and portable way for Qt. From checking the MSVC version it seems that Qt in Windows falls back to whatever native OpenGL implementation it can find on the machine. I guess this is what we should do in QtAda? Or is it just that I've missed something on the way? Many thanks and best regards, Alexis.