Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 4.8.0 Setting OpenGL to CoreProfile throws STATUS_STACK_BUFFER_OVERRUN encountered
Forum Updated to NodeBB v4.3 + New Features

Qt 4.8.0 Setting OpenGL to CoreProfile throws STATUS_STACK_BUFFER_OVERRUN encountered

Scheduled Pinned Locked Moved General and Desktop
7 Posts 3 Posters 4.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sasmaster
    wrote on 17 Oct 2011, 09:46 last edited by
    #1

    Hi all. After reading this "nice and fresh article":http://developer.qt.nokia.com/wiki/How_to_use_OpenGL_Core_Profile_with_Qt#0b79795d3efc95b9976c7c5b933afce2 on setting OpenGL 3.3 with Qt I tried doing it by myself.So I am getting frozen app with :

    STATUS_STACK_BUFFER_OVERRUN encountered

    Switching to QGLFormat::CompatibilityProfile solves the problem. Anybody is experiencing the same ?

    I am using MSVC2010 compiler as with MinGW glew lib doesn't work.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on 17 Oct 2011, 09:53 last edited by
      #2

      msvc and mingw libs are not compatible. You have to stay within one tool chain.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sasmaster
        wrote on 17 Oct 2011, 10:02 last edited by
        #3

        I got you but because the GLEW I have downloaded from the GLEW project website doesn't link when using MinGW I work with MSVC .And as I have said ,setting to the CoreProfile gives me STATUS_STACK_BUFFER_OVERRUN.Anybody can confirm that defining CoreProfile needs MinGW compiler ?

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          ZapB
          wrote on 22 Oct 2011, 08:56 last edited by
          #4

          Hmmm, I've not tried it on windows yet. I'll give it a shot shortly and let you know if I get the same results. Which card and driver version are you using?

          Nokia Certified Qt Specialist
          Interested in hearing about Qt related work

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sasmaster
            wrote on 22 Oct 2011, 10:55 last edited by
            #5

            I have got OpenGL 3.3 ,running Nvidia Gforce 8600 gt. I have no problem when doing the same with GLUT without Qt.In Qt running in Compatibility mode GL 3.3 works fine.
            Thanks !

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sasmaster
              wrote on 21 Feb 2012, 07:58 last edited by
              #6

              Anybody from Qt gurus can confirm if this issue is resolved in Qt 4.8?

              Thanks

              1 Reply Last reply
              0
              • Z Offline
                Z Offline
                ZapB
                wrote on 21 Feb 2012, 15:19 last edited by
                #7

                Yes I can. I am in the process of merging the fix into Qt 5 and 4.8. I need to resolve a build issue on the Mac first though. I will look at this tonight or tomorrow.

                The issue is "here":http://codereview.qt-project.org/#change,16794 if you are interested to watch it.

                Nokia Certified Qt Specialist
                Interested in hearing about Qt related work

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved