[Solved] libodb-qt-2 can't find QtCore (5.2) on OSX
Hello there !
I've discovered "libodb":http://www.codesynthesis.com/products/odb/ which if I understood correctly, is an ORM for C++ and can be used with Qt's QVariant thanks to one of the available profiles: libodb-qt.
While reading how to "install profile libraries on OSX":http://www.codesynthesis.com/products/odb/doc/install-unix.xhtml, it can't find "QtCore" in my system:
@configure: error: QtCore is not found; consider using CPPFLAGS/LDFLAGS to specify its location@
I've tried many CPP/LDFLAGS combinations, but it's still not found. Of course, QTDIR/lib and QTDIR/include are not correct, maybe because Qt is built as a framework?
Any way, does anyone know which path or options I can indicate to ./configure to make in find Qt please? I'm on OSX, Qt 5.2.1 online installed, untouched.
From a quick overview, their configure script is using pkg-config to find Qt, so you need to add the path to Qt's pc files to PKG_CONFIG_PATH before calling configure.
Hope it helps
Sorry for the delay. I was contacting ODB's mailing list and I was waiting for a final answer on inserting a workaround...
Here is my "initial question":http://codesynthesis.com/pipermail/odb-users/2014-May/001852.html and this is "the answer":http://codesynthesis.com/pipermail/odb-users/2014-May/001862.html. If you read the whole thread you will know why and else.