$ make
makeobj[0]: Entering directory `/path/to/test'
/usr/bin/clang++ -headerpad_max_install_names -stdlib=libc++ -Wl,-syslibroot,/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.7 -Wl,-rpath,/prefix/lib -o test.app/Contents/MacOS/test tst_nullptr.o -F/prefix/lib -framework QtGui -framework QtCore -framework DiskArbitration -framework IOKit -framework QtTest -framework Security -framework ApplicationServices -framework OpenGL -framework AGL
Undefined symbols for architecture x86_64:
"bool QTest::qCompare<QObject*, std::nullptr_t>(QObject* const&, std::nullptr_t const&, char const*, char const*, char const*, int)", referenced from:
TestClass::testNullPtr() in tst_nullptr.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [test.app/Contents/MacOS/test] Error 1
makeobj[0]: Leaving directory `/path/to/test'