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 Mac OS X and OpenGL showing garbage display
Forum Updated to NodeBB v4.3 + New Features

Qt Mac OS X and OpenGL showing garbage display

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 2.8k 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.
  • B Offline
    B Offline
    bromion
    wrote on last edited by
    #1

    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
    0
    • R Offline
      R Offline
      rcari
      wrote on last edited by
      #2

      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
      0
      • B Offline
        B Offline
        bromion
        wrote on last edited by
        #3

        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
        0
        • B Offline
          B Offline
          bromion
          wrote on last edited by
          #4

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

          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