Undefined symbols for architecture x86_64:
"qt_mac_execute_apple_script(QString const&, AEDesc*)", referenced from:
Notificator::notifyGrowl(Notificator::Class, QString const&, QString const&, QIcon const&) in notificator.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
i got past the above error by copying the appropriate files and adding these lines to the .pro
macx:HEADERS += src/qt/macdockiconhandler.h src/qt/macnotificationhandler.h
macx:OBJECTIVE_SOURCES += src/qt/macdockiconhandler.mm src/qt/macnotificationhandler.mm
also by adding
macx:QMAKE_CFLAGS_THREAD += -pthread -no-integrated-as
macx:QMAKE_LFLAGS_THREAD += -pthread -no-integrated-as
macx:QMAKE_CXXFLAGS_THREAD += -pthread -no-integrated-ashowever it ends with compiling a non -functioning Qt.
giving the error
Assertion failed: (!pthread_mutex_lock(&m)), function lock, file /opt/local/include/boost/thread/pthread/recursive_mutex.hpp, line 110.
edit. also changed notificator.h and .cpp
see
https://github.com/zone117x/darkcoin/commit/896c509dac9179645e94c24768e58e390450fdb7#diff-e442fb9c2fb920f5b5ba588b3e81cce9