[linux-audio-dev] Problems With QT

Patrick Stinson patrickkidd.lists at gmail.com
Sun Jun 11 15:22:56 EDT 2006


You are right, your question is out of context here. This list is for
topics related to audio on linux, not everything on linux. You should
go to www.trolltech.com, register for the qt-interest list, and post
your question there.

On 6/10/06, Thomas Vecchione <seablaede at gmail.com> wrote:
> Ok I apologize as this wont deal specificly with Linux, but I am working
> on a program that will be deployed on Qtopia I hope on a PDA, along with
> used on all three desktop platforms, so I suppose it qualifies;)  The
> problem is that I am trying to develop it on my Mac which is all I have
> with me at the moment(My linux machine is at my house which I wont be at
> for several months while I work a gig out elsewhere).  I am having
> problems getting Qt working correctly on the Mac, after a fair amount of
> work I think I finally got it to the point where it should be working,
> but it seems to be having problems with my version of the Mac OS and I
> figured I would toss it out here to see if anyone could help...
>
> This is a simple hello world application to confirm Qt is working...
>
> > Kraken:~/Documents/Code/HelloWorld seablade$ makec++ -c -pipe -g -Wall
> > -W -F/usr/local/Trolltech/Qt-4.1.3/lib  -D__USE_WS_X11__ -DQT_GUI_LIB
> > -DQT_CORE_LIB -DQT_SHARED
> > -I/usr/local/Trolltech/Qt-4.1.3/mkspecs/darwin-g++ -I.
> > -I/usr/local/Trolltech/Qt-4.1.3/lib/QtCore.framework/Versions/4.0/Headers
> > -I/usr/local/Trolltech/Qt-4.1.3/include/QtCore
> > -I/usr/local/Trolltech/Qt-4.1.3/lib/QtGui.framework/Versions/4.0/Headers
> > -I/usr/local/Trolltech/Qt-4.1.3/include/QtGui
> > -I/usr/local/Trolltech/Qt-4.1.3/include -I. -I. -I.
> > -I/usr/local/include -o hello.o hello.cpp
> > In file included from
> > /usr/local/Trolltech/Qt-4.1.3/include/QtCore/qnamespace.h:27,
> >                  from
> > /usr/local/Trolltech/Qt-4.1.3/include/QtCore/qobjectdefs.h:27,
> >                  from
> > /usr/local/Trolltech/Qt-4.1.3/include/QtCore/qobject.h:29,
> >                  from
> > /usr/local/Trolltech/Qt-4.1.3/include/QtCore/qcoreapplication.h:27,
> >                  from
> > /usr/local/Trolltech/Qt-4.1.3/lib/QtGui.framework/Versions/4.0/Headers/QApplication.h:27,
> >                  from hello.cpp:1:
> > /usr/local/Trolltech/Qt-4.1.3/include/QtCore/qglobal.h: In function `int
> >    qMacVersion()':
> > /usr/local/Trolltech/Qt-4.1.3/include/QtCore/qglobal.h:1038: error: `
> >    MacintoshVersion' is not a member of type `QSysInfo'
> > make: *** [hello.o] Error 1
>
>
> Nothing wrong in the code that I wrote, but it seems to be having
> problems with the Mac Version, and I am not sure if there was some
> variable or something I missed setting?  For some reason I always have
> much better luck developing on Linux than on either Windows or Mac... grr.
>
>         Seablade
>


-- 
Patrick Kidd Stinson
http://www.patrickkidd.com/
http://pkaudio.sourceforge.net/
http://pksampler.sourceforge.net/


More information about the linux-audio-dev mailing list