Qt-interest Archive, December 2007
OT: Compiling QuickTimeMusic.h on Mac OS X10.4 and OpenGL headers
Message 1 in thread
Hi Everybody,
I'm porting older Mac code to Qt and it uses QuickTimeMusic.h - though only for the MIDI output interfaces. I added the QuickTime framework to the .pro file, and that satisfied the search for the header.
The problem is the header uses other headers that refer to OpenGL/OpenGL.h and OpenGL/gl.h. Adding the OpenGL framework didn't help. Looking into System/Library/Frameworks/OpenGL, I notice that there isn't a Headers folder.
After reading on the developer.apple.com site, I looked in the GLUT framework, but it didn't have the missing headers.
I know its a long shot, but is it possible that installing Qt would have altered the OpenGL headers in the system area - possibly to prevent conflicts with Qt's OpenGL?
Or can a Mac guru suggest where to get the OpenGL headers from?
Thanks in advance for any assistance!
Tony Rietwyk.
--
[ signature omitted ]
Message 2 in thread
On 2007-12-10 05:02:06 -0500, "Tony Rietwyk"
<tony.rietwyk@xxxxxxxxxxxxxxxx> said:
> Hi Everybody,
>
> I'm porting older Mac code to Qt and it uses QuickTimeMusic.h - though
> only for the MIDI output interfaces. I added the QuickTime framework to
> the .pro file, and that satisfied the search for the header.
>
> The problem is the header uses other headers that refer to
> OpenGL/OpenGL.h and OpenGL/gl.h. Adding the OpenGL framework didn't
> help. Looking into System/Library/Frameworks/OpenGL, I notice that there
> isn't a Headers folder.
>
> After reading on the developer.apple.com site, I looked in the GLUT
> framework, but it didn't have the missing headers.
>
> I know its a long shot, but is it possible that installing Qt would have
> altered the OpenGL headers in the system area - possibly to prevent
> conflicts with Qt's OpenGL?
>
> Or can a Mac guru suggest where to get the OpenGL headers from?
>
> Thanks in advance for any assistance!
>
> Tony Rietwyk.
What system are you running? I am on OS X 10.4.11 with Xcode 2.5
installed and I certainly have a headers folder:
/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
Did you install the dev tools correctly? The headers really should have
been there.
Mike
--
[ signature omitted ]
Message 3 in thread
> On Dec 10, 2007, at 5:17 PM, Tony Rietwyk wrote:
>
> >> -----Original Message-----
> >> From: Mike Jackson [mailto:imikejackson@xxxxxxxxx]
> >> Sent: Tuesday, 11 December 2007 04:24
> >> To: qt-interest@xxxxxxxxxxxxx
> >> Subject: Re: OT: Compiling QuickTimeMusic.h on Mac OS X10.4
> >> and OpenGL headers
> >>
> >>
> >> On 2007-12-10 05:02:06 -0500, "Tony Rietwyk"
> >> <tony.rietwyk@xxxxxxxxxxxxxxxx> said:
> >>
> >>> Hi Everybody,
> >>>
> >>> I'm porting older Mac code to Qt and it uses QuickTimeMusic.h -
> >>> though only for the MIDI output interfaces. I added the QuickTime
> >>> framework to the .pro file, and that satisfied the search for the
> >>> header.
> >>>
> >>> The problem is the header uses other headers that refer to
> >>> OpenGL/OpenGL.h and OpenGL/gl.h. Adding the OpenGL framework
> >>> didn't help. Looking into System/Library/Frameworks/OpenGL, I
> >>> notice that there isn't a Headers folder.
> >>>
> >>> After reading on the developer.apple.com site, I looked in the
> >>> GLUT framework, but it didn't have the missing headers.
> >>>
> >>> I know its a long shot, but is it possible that installing Qt
> >>> would have altered the OpenGL headers in the system area
> - possibly
> >>> to prevent conflicts with Qt's OpenGL?
> >>>
> >>> Or can a Mac guru suggest where to get the OpenGL headers from?
> >>>
> >>> Thanks in advance for any assistance!
> >>>
> >>> Tony Rietwyk.
> >>
> >> What system are you running? I am on OS X 10.4.11 with Xcode 2.5
> >> installed and I certainly have a headers folder:
> >>
> >> /System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
> >>
> >> Did you install the dev tools correctly? The headers really
> >> should have
> >> been there.
> >>
> >> Mike
> >
> > Thanks for replying Mike,
> >
> > I have OS X 10.4.11 with Xcode 2.4.1. The machine was setup before-
> > hand, so
> > I don't know what options were chosen when XCode was installed.
> >
> > Under OpenGL.framework/Versions, both the A and Current folders
> > just have
> > Libraries and Resources, and a binary file - no Headers.
> >
> > I'll try upgrading to XCode 2.5 and see what happens.
> >
> > Do I have run something to select one of the versions?
> >
> > Tony Rietwyk.
> >
>
> My guess is that when Xcode 2.4.1 was installed the choice for
> installing the "OpenGL SDK" was NOT selected. If you can get the
> Xcode 2.4.1 easily then just try reinstalling Xcode 2.4.1 and see
> what happens. You might just get the headers back.
> You should not try to select any version of OpenGL. There should
> be a symlink that says "current". That is what will always be used.
>
> Let me know what happens.
I've downloaded and installed XCode 2.5, and the headers have appeared.
Thanks again for your assistance.
Tony Rietwyk
--
[ signature omitted ]