[odb-users] Build libodbc-qt on OSX with Qt5.2.1

Boris Kolpackov boris at codesynthesis.com
Sat May 10 12:47:41 EDT 2014


Hi Adnan,

Ok, I think we are getting close. Here is the configure test that
I expect to succeed:

configure:17847: g++ -c -g -O2 -D_THREAD_SAFE  -F/Users/Max13/Qt/5.2.1/clang_64/lib conftest.cpp >&5
configure:17847: $? = 0
configure:17854: ./libtool --tag=CXX --mode=link g++ -no-install -g -O2 -D_THREAD_SAFE   -o conftest conftest.o -framework QtCore  -lpthread >&5
libtool: link: g++ -g -O2 -D_THREAD_SAFE -o conftest conftest.o -Wl,-bind_at_load  -framework QtCore -lpthread
ld: framework not found QtCore

The only difference between these command lines and your tests is the
lack of the -F option in the linker invocation. So let's try to add
that:

./configure CPPFLAGS=-F/Users/Max13/Qt/5.2.1/clang_64/lib LDFLAGS=-F/Users/Max13/Qt/5.2.1/clang_64/lib

Boris



More information about the odb-users mailing list