Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QT IOS Simulation and PostgreSQL
Qt 6.11 is out! See what's new in the release blog

QT IOS Simulation and PostgreSQL

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 392 Views
  • 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.
  • B Offline
    B Offline
    Bruno Leme
    wrote on last edited by
    #1

    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

    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