On Sun, Mar 6, 2011 at 2:19 AM, David Lichteblau <david@lichteblau.com> wrote:
Can you "make clean" again and then paste a complete build log including
all gcc output?

Here you go (I had to rerun qmake because it initially gave me Xcode project files):

$ qmake -spec macx-g++
$ make
g++ -c -pipe -g -gdwarf-2 -Wall -W -fPIC -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/usr/include -I. -F/Library/Frameworks -o commonqt.o commonqt.cpp
rm -f libcommonqt.1.0.0.dylib libcommonqt.dylib libcommonqt.1.dylib libcommonqt.1.0.dylib
g++ -headerpad_max_install_names -single_module -dynamiclib -compatibility_version 1.0 -current_version 1.0.0 -install_name libcommonqt.1.dylib -o libcommonqt.1.0.0.dylib commonqt.o  -F/Library/Frameworks -L/Library/Frameworks -lsmokeqtcore -framework QtGui -L/tmp/qt-stuff-6474/source/qt-everywhere-opensource-src-4.7.0/lib -F/tmp/qt-stuff-6474/source/qt-everywhere-opensource-src-4.7.0/lib -framework QtCore  
ld: warning: directory '/tmp/qt-stuff-6474/source/qt-everywhere-opensource-src-4.7.0/lib' following -L not found
ld: warning: directory '/tmp/qt-stuff-6474/source/qt-everywhere-opensource-src-4.7.0/lib' following -F not found
Undefined symbols:
  "Smoke::classMap", referenced from:
      Smoke::findClass(char const*)in commonqt.o
      Smoke::findClass(char const*)in commonqt.o
  "Smoke::NullModuleIndex", referenced from:
      Smoke::idMethod(short, short)in commonqt.o
      Smoke::idClass(char const*, bool)in commonqt.o
      Smoke::idClass(char const*, bool)in commonqt.o
      Smoke::idMethodName(char const*)in commonqt.o
      Smoke::findClass(char const*)in commonqt.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [libcommonqt.1.0.0.dylib] Error 1

Let me know if you need anything else.

--
Elliott Slaughter

"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay