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. How build Postgresql

How build Postgresql

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 2 Posters 1.3k 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.
  • Y Offline
    Y Offline
    Yacinoben
    wrote on last edited by
    #1

    Hello,
    How i can build Postgresql for android ? I builded for Desktop, and it works, but I don't know how android
    I have windows
    Thank's

    jsulmJ 1 Reply Last reply
    0
    • Y Yacinoben

      Hello,
      How i can build Postgresql for android ? I builded for Desktop, and it works, but I don't know how android
      I have windows
      Thank's

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Yacinoben Why do you ask how to build PostgreSQL in a Qt forum?
      Why do you want to use PostgreSQL on an Android device?
      It is quite unusual to run a full-blown SQL server on a mobile device!
      Or do you only want to use the client?
      To build it for Android you need to install Android NDK first.
      But you better ask PostgreSQL folks.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • Y Offline
        Y Offline
        Yacinoben
        wrote on last edited by
        #3

        I have a client application, when i try to connect in the database. I get this message : Driver not loaded. I use a postgresql, and i have just libqsqlite.so in "android_armv7\plugins\sqldrivers" . I know how to build for the desktop, but no for android .
        https://wiki.qt.io/Build_Qt_5_PostgreSQL_Plugin_for_Android : this is just for linux, but i have windows

        jsulmJ 1 Reply Last reply
        0
        • Y Yacinoben

          I have a client application, when i try to connect in the database. I get this message : Driver not loaded. I use a postgresql, and i have just libqsqlite.so in "android_armv7\plugins\sqldrivers" . I know how to build for the desktop, but no for android .
          https://wiki.qt.io/Build_Qt_5_PostgreSQL_Plugin_for_Android : this is just for linux, but i have windows

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Yacinoben Your client application is running on a mobile device and connects to SQL server which is exposed over the internet?
          Not a good idea. Your SQL server should not have direct connection to the internet (for security reasons). Instead you should implement a REST API which will provide clients an indirect access to the data in the SQL database.

          Again: it would be better to ask PostgreSQL developers how to build the client for Android.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          2
          • Y Offline
            Y Offline
            Yacinoben
            wrote on last edited by Yacinoben
            #5

            Thanks for your answer. I didn't know for rest. I will try to work with rest

            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