Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Build Postgresql plugin android Version 10
Hi, How to build PSQL android plugin to version 10 of PSQL and use CLang or GCC, i tried compile follwing the Qt Wiki page but doesn,t work. Only work with de PSQL versions 9.X.
Postgre on Android? Will you connect to some remote database? For local DBs better stick with SQLite, much less hassle.
@sierdzio yes, i will connect to remote database, for Desktop applications i not found problems.
@Wesley_Morais So, you're going to expose PostgreSQL server to the internet?!
This is not a good idea. Usually a web interface is provided by the server to access the database indirectly in a controlled way without exposing the database server to the internet.
@jsulm for now i,m using only LAN to connect my Andriod App and the Database Server.
i follow this wiki page: https://wiki.qt.io/Build_Qt_5_PostgreSQL_Plugin_for_Android
to compile the driver, but to version 10 of postgresql doesn't work.
When i put the Database on internet, i will put him behind to firewall.
i will put him behind to firewall
How is this going to help? You still have to open the port to be able to connect.
"doesn't work" - this is not enough information. Please specify exactly what does not work.
@jsulm Good morning, let me explain better what i want to do.
Actualy my problem is "How to build build a plugin at version 10 of Postresql", because on this version of Postgresql (10 and UP) was implemented a new mechanism of security called SCRAM-SHA-256 and i want compile on this version too,because when this versions 9.X are obsolete, i can able to use another version more recent.
In my search on the internet, i found this wikipage: https://wiki.qt.io/Build_Qt_5_PostgreSQL_Plugin_for_Android but is not aplicable to version 10 and up of PSQL, because on this page is showed how to compile on versions 9.X and using android NDK 10e that works with GCC toolchain and the most recent versions of Qt works with the CLang toolchains.
Hi, i found a solution.
During the compile process, was necessary add a follow flag: "--disable-strong-random", and the compile process works fine.