[commonqt-devel] CommonQt for newer versions of smoke

David Lichteblau david at lichteblau.com
Mon Mar 7 11:31:07 UTC 2011


Quoting Elliott Slaughter (elliottslaughter at gmail.com):
> 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

Hmm, I don't see any -I or -L flags pointing to smoke there.

Perhaps that's normal (if smoke is installed in a default location that
works without special flags, like /usr/local), and it must have found
the header, but given that it fails to link afterwards, that's what I'd
try to investigate first.

For example, if you built smokeqt with
  cmake CMakeLists.txt -DCMAKE_INSTALL_PREFIX=/opt/smoke
  make install

then CommonQt needs to be configured using:
  qmake LIBS=-L/opt/smoke/lib/ INCLUDEPATH=/opt/smoke/include/


(Yes, I should update the commonqt homepage/build instructions to make
this clear.)

d.




More information about the commonqt-devel mailing list