It just prints out: Q_WS_MAC == I'm not sure what is responsible for setting that variable; I've only ever seen it used in C++ source as a preprocessor define, not in CMake source.
Thanks, Ben On Tue, Jun 29, 2010 at 1:00 PM, Utkarsh Ayachit <utkarsh.ayac...@kitware.com> wrote: > If you look at Qt/Widgets/CMakeLists.txt, around line #79, it doesn't > add pqProgressBarHelper.cxx as a source to compile on macs, instead it > uses pqProgressBarHelper.mm. Now the question why isn't that happening > in your case. Try adding the following; > > message( "Q_WS_MAC == ${Q_WS_MAC}") > > What does that print out when you run cmake? > > Utkarsh > > On Tue, Jun 29, 2010 at 3:38 PM, Ben Medina <ben.med...@gmail.com> wrote: >> Hello, >> >> I just downloaded the 3.8.0 source and am trying to compile a 64-bit >> version on Mac OS 10.5. During the build of the pqWidgets target, this >> error occurs: >> >> .../ParaView-3.8.0/Qt/Widgets/pqProgressBarHelper.cxx:37: error: type >> 'class QObject' is not a direct base of 'pqProgressBarHelper' >> >> There seems to be an error in the source. Here's the class declaration >> in pqProgressBarHelper.h: >> >> #ifdef Q_WS_MAC >> class pqProgressBarHelper : public QWidget >> #else >> class pqProgressBarHelper : public QObject >> #endif >> >> But then in the constructor in pqProgressBarHelper.cxx is this: >> >> pqProgressBarHelper::pqProgressBarHelper(pqProgressBar* p) >> : QObject(p), Progress(p) >> { >> } >> >> Any ideas? >> >> Thanks, >> Ben >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://www.paraview.org/mailman/listinfo/paraview >> > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview