Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [Solved] libodb-qt-2 can't find QtCore (5.2) on OSX

[Solved] libodb-qt-2 can't find QtCore (5.2) on OSX

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Max13
    wrote on last edited by
    #1

    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.

    We all have started by asking questions. Then after some time, we can begin answering them.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Max13
        wrote on last edited by
        #3

        Hi,

        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.

        Thanks !

        We all have started by asking questions. Then after some time, we can begin answering them.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved