I've been trying to compile a program I wrote with QT on a Mac for about a week now and I can't get it to work for the life of me. I'm very confused because the code compiles just fine on a linux machine using a core 2 duo, and also on a Beowulf cluster. I've tried compiling it on both an IMac and a MacBook (both Core 2 Duos) and in each case I get the same compilation errors. The errors seem to be complaining about something called QCoreXmlStreamWriter. I've googled this and I get 0 results (something I found extremely odd). I do not have the words QCoreXmlStreamWriter anywhere in my source code (believe me, I've checked many times). I also made sure that I included the xml module in my QT project file. I am absolutely stumped. Any one have an idea? An example of one of the compile errors along with the make command being used is included below.
etutils.cpp: At global scope: etutils.cpp:145: error: prototype for 'void SubLineGroup::generateInputFileSection(QCoreXmlStreamWriter&)' does not match any in class 'SubLineGroup' etutils.h:256: error: candidate is: virtual void SubLineGroup::generateInputFileSection(QXmlStreamWriter&) etutils.cpp:177: error: prototype for 'void SubComboGroup::generateInputFileSection(QCoreXmlStreamWriter&)' does not match any in class 'SubComboGroup' etutils.h:300: error: candidate is: virtual void SubComboGroup::generateInputFileSection(QXmlStreamWriter&) etutils.cpp:199: error: prototype for 'void SubSPGroup::generateInputFileSection(QCoreXmlStreamWriter&)' does not match any in class 'SubSPGroup' etutils.h:340: error: candidate is: virtual void SubSPGroup::generateInputFileSection(QXmlStreamWriter&)
g++ -c -pipe -g -Wall -W -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.4.0/mkspecs/macx-g++ -I. -I/usr/local/Trolltech/Qt-4.4.0/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-4.4.0/include/QtCore -I/usr/local/Trolltech/Qt-4.4.0/include/QtCore -I/usr/local/Trolltech/Qt-4.4.0/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-4.4.0/include/QtGui -I/usr/local/Trolltech/Qt-4.4.0/include/QtGui -I/usr/local/Trolltech/Qt-4.4.0/lib/QtXml.framework/Versions/4/Headers -I/usr/local/Trolltech/Qt-4.4.0/include/QtXml -I/usr/local/Trolltech/Qt-4.4.0/include/QtXml -I/usr/local/Trolltech/Qt-4.4.0/include -I. -I. -I. -F/usr/local/Trolltech/Qt-4.4.0/lib -o etutils.o etutils.cpp