Important: Please read the Qt Code of Conduct -

Qt 5.1.1 x64 opengl desktop has problem with windows 8.1 x64 ?

  • I am running into a weird problem while running release exe file in windows 8.1


    I am using 2 qglviewer for rendering things . It should be 2 viewers each of them is 512x512 pixel side by side above button. As you can see ... one viewer is disappear , another one move to lower and get smaller ... I checked in debug mode.... size was changed after another window show() was called.
    I dont have any problem running same execute file on windows 7 or windows 8 but when running in windows 8.1 problem occured

  • Moderators


    QGLViewer is a 3rd-party library. Have you checked with its creators that it's compatible with Qt 5.1.1 on Windows 8.1 x64? What versions of OpenGL does it support?

    What graphics card do you have?

    Are your graphics drivers up-to-date? What versions of OpenGL does it support?

    Can you show us your code?

  • Hi,
    I will not be at my working place until next week, I will try answer at best as I can now.

    1. The creator of qglviewer does not say anything about compatible at all since begining.
      I think qglviewer is a class that wrap qopengl module to more ease to use with user input and viewer interact. I don't think they directly call OS's API function in their implementation.
    2. Nvidia GT620 (mobile version), i think
    3. Lastest WHQL nvidia driver i think 331

  • Moderators

    Your graphics card seems fine.

    I'm using Qt 5.1.1 for Windows 64-bit (VS 2012, OpenGL, 522 MB) on Windows 8.1, with an AMD Radeon HD 7700. My Qt Quick projects work without any problems (Qt Quick uses OpenGL for rendering)

    Your big window doesn't look like it uses layouts. Put all your widgets (including the QGLViewers) in a layout and see what happens.

    I suggest asking the QGLViewer creators to see if they have any ideas.

    In the meantime, maybe you can try the ANGLE package (Qt 5.1.1 for Windows 64-bit (VS 2012, 525 MB)) instead of the OpenGL package. ANGLE translates OpenGL calls into DirectX calls.

  • I dont know it is bug from my code or some library yet.
    I found out that when I create and show modaless dialog in constructor of my main windows (that has qglviewer), the problem occurs. The problem is randomly found (Around 50%) on VS 2012 debug and release mode IDE environmet . But 100% when execute from outside.

    But if I show modaless outside contructor, the problem will not occur.

    So, I fixed the problem by call show() of modaless dialog at showevent of mainwindow.

Log in to reply