[Interest] Problems with OpenGL in Windows and Qt5
Carlos
aarkham2k3 at yahoo.com
Fri Mar 21 14:06:52 CET 2014
Hello Sean
I'm attaching a Qt project that has this problem. If you run it with Qt 4 it shows a black screen with two small rectangles but if you run it with Qt 5 the screen is displaced and only one of the rectangles can be seen.
Thanks for your help
Carlos
On Thursday, March 20, 2014 5:41 PM, Sean Harmer <sean.harmer at kdab.com> wrote:
Hi,
On Thursday 20 March 2014 07:04:14 Carlos wrote:
> Hello
>
> I've done a game that uses OpenGL. For Symbian, Meego and desktop I use Qt
> for the device initialization and then I use raw OpenGL calls. I am using
> Qt4 with no problems and now I have converted it to Qt5. The problem is
> that in Windows the rendering is displaced. A small rectangle with the
> upper left corner of the game appears at the low right corner of the
> Window. If I maximize the window then the rectangle may be about one
> quarter of the screen.
>
> In Linux the display is perfect in Qt4 and Qt5. Also the game runs with pure
> OpenGL ES in Android, iOS and BB10 without problems.
>
> I've tried Qt 5.2 MSVC2010 32bit OpenGL and Qt 5.2 MinGW 32 bit and it fails
> in both. In Qt4 the OpenGL version is 4.3.0 and in Qt5 is 2.1.2, in both
> cases the vendor is NVIDIA Corporation and the renderer is GeForce GTX 560
> Ti/PCIe/SSE2.
>
> What can I do to fix it?
Can you provide a minimal compilable example that reproduces the issue please?
We don't have enough information to know yet.
Kind regards,
Sean
--
Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140321/594ad7ea/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Qt5BUG.zip
Type: application/zip
Size: 329016 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140321/594ad7ea/attachment.zip>
More information about the Interest
mailing list