Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Mac OS X and OpenGL showing garbage display

    General and Desktop
    2
    4
    2594
    Loading More Posts
    • 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.
    • B
      bromion last edited by

      Hi,
      I'm trying to compile and run on my 10.7 Mac a Qt app someone else created on Linux. I've tried a number of options for installing Qt (binaries, source) and compiled Qt with and without frameworks. I tried to compile it to use X11 instead of Cocoa, but that didn't see to work.

      The application grabs an image from a firewire camera and displays it in a Qt window with OpenGL rendering. Here's an example of what it looks like:

      !http://i1083.photobucket.com/albums/j398/bromion/qtgarbage.jpg(Screenshot)!

      Any ideas? Anyone encounter something like this before?

      Thanks,
      Jason

      1 Reply Last reply Reply Quote 0
      • R
        rcari last edited by

        Could you please provide the version of OpenGL running on your Mac? Run glxinfo on a command line and provide the "OpenGL version string" entry.
        Make sure the the application is coded against a compatible version of OpenGL and that any extension it uses is actually available on your Mac. If the context is not properly initialized due to incompatible version issues you might get this dirty image buffer displayed on your screen.

        1 Reply Last reply Reply Quote 0
        • B
          bromion last edited by

          Thanks for the reply! The version string:

          OpenGL version string: 2.1 ATI-7.12.9

          I'll check on extensions used.

          Thanks,
          Jason

          1 Reply Last reply Reply Quote 0
          • B
            bromion last edited by

            I should add, the Qt example codes all seem to work fine.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post