Integrate OpenLDAP libraries with Qt windows, android and mac application



  • Hi All,

    My current project needs integration with LDAP for accessing info from the server. The application is supported on three platform namely windows, android and mac. The compilers used for the same are MSVC2017, GCC and Clang. As anyone successfully built OpenLdap libraries for using it on Qt? Any help is much appreciated.

    I'm a beginner on this and I don't have much info to share. Can someone please guide me in the right path? Thanks in advance.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    For macOS you can install it using for example macports.
    For Linux your distribution is likely providing it.
    I don't know for Windows.



  • @SGaist Thanks for your help. I'm trying to use the same library across platforms. I found a way to compile the openldap library for mac/iOS version using this link https://www.ibm.com/developerworks/aix/library/au-iphoneapp/?ca=drs- . In the same way I'm trying to find the ways for compiling the library with MSVC and GCC so that the code for connecting, authentication and queries will be same on all the platforms. I know this is out Qt scope but trying to find whether someone succeeded in doing it.


Log in to reply