QT IOS Simulation and PostgreSQL
Unsolved
Mobile and Embedded
-
Hi Forum,
I am trying to develop an application for IOS that uses postgreSQL using the libpq library, which I compiled myself from the Postgres source. It works fine on my MacBook m2 but when I try to simulate it, it just cannot work (it asks for x86_64 IOS version).
I am stuck on this for some days and I've tried all different combination to compile it for IOS X86_64-apple-darwin but without success.
So far I've tried:
- QT QPSQL: gave up
- LIBPQ: compiled using the .configure using --host as arm-apple-darwin. When I use the host as x86_64-apple-darwin, it compiles but when I run "lipo -info", it shows the architecture as arm64.
- LIBLQ-IOS: seems a nice automation of the process but also get me in the same problem.
Can someone give me a light about it?
I would really appreciate any help on this matter.
Thank you,
Bruno