neuronalmotion / qtrpi

An easy-to-use environment to cross-compile Qt applications for Raspberry Pi from your desktop.
MIT License
104 stars 40 forks source link

DB support #91

Closed JMorrison911 closed 5 years ago

JMorrison911 commented 5 years ago

Hi. Is it possible to include a support of DB in your script.: Like FireBird/IBase, PostGre. We try to build driver for RPI but it not success. SQLIte driver already in the build.

Best Regard, Eugene

synapticvoid commented 5 years ago

Hi there, A cross-compiled database is outside the scope of QtRPi. The target of the project is to provide Qt support only.

However, I suppose you can fork the project and add your own script. I think you can easily extend it by:

  1. Adding your compilation script in utils/compile-postgres.sh
  2. Call the script in init-qtrpi-full.sh just after the last statement

Take a look at utils/common.sh to see the available environment variables and utils/compile-qt-modules.sh to understand how they are used.

Cheers!

JMorrison911 commented 5 years ago

Thanks, will try