My fix was not complete, Tom posted a proper fix:

Begin forwarded message:

From: Tom Jennings <[EMAIL PROTECTED]>
Date: 27 March 2008 7:39:09 PM
Cc: mixxx-devel <[email protected]>
Subject: Re: [Mixxx-devel] Update Qt version in SConscript & Broken OSX compile in 1900

On Thu, 27 Mar 2008, Tom Care wrote:

As for the broken compile, there is a missing #include <QDebug> in
midiobjectcoremidi.cpp. Would explain why it was only happening on mac :)

That's my bad, fix herein:


Index: midiobjectcoremidi.cpp
===================================================================
--- midiobjectcoremidi.cpp      (revision 1896)
+++ midiobjectcoremidi.cpp      (working copy)
@@ -16,6 +16,7 @@
***************************************************************************/

#include "midiobjectcoremidi.h"
+#include <QDebug>

MidiObjectCoreMidi::MidiObjectCoreMidi(QString device) : MidiObject(device)
{
@@ -30,7 +31,7 @@
    buffer = new char[4096];
    if (buffer == 0)
    {
-        qDebug("Error allocating MIDI buffer");
+        qDebug() << "Error allocating MIDI buffer";
        return;
    }

@@ -54,7 +55,7 @@
        devOpen(device);
    else
        if (devices.count()==0)
-            qDebug("CoreMidi: No MIDI devices available.");
+            qDebug() << "CoreMidi: No MIDI devices available.";
        else
            devOpen(devices.first());
 */

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to