Home » Developing U++ » U++ Developers corner » U++ talk
Re: U++ talk [message #17955 is a reply to message #17944] |
Thu, 04 September 2008 13:38 |
|
amrein
Messages: 278 Registered: August 2008 Location: France
|
Experienced Member |
|
|
Quote: |
Quote: |
Quote: |
There is no way I as a normal user am installing MySQL, Sqlite3 and the other client so that I can install a .so for U++.
|
No need to. Same goes for Qt, wxWindows, Gnomedb, Kde, Gambas, ...
|
What goes for them? I am lost
|
He said: if I install U++ dynamic libraries, I don't want all database to be installed. I reply "No need to". Other libraries have solutions to solve this.
When you install those dynamic libraries, there is no dependencies with the database. You don't need to install any of them. The database plugins (with database dependencies) are separated from the main package:
# urpmq --list | grep qt3 | sort
libqt3
libqt3-devel
libqt3-mysql
libqt3-odbc
libqt3-psql
libqt3-sqlite
libqt3-static-devel
libqt3support4
qt3-assistant
qt3-common
qt3-doc
qt3-example
qt3-linguist
qt3-tutorial
I mean, there is no rpm/deb dependencies between your application and the database binary as long as you don't link against one of those plugins. Database connections are done at runtime with the plugins and only if those database are available. Your application can list dynamically all available database plugins. You only need headers and libs from MySQL, Sqlite, ... when you build all packages from U++.
Examples:
In Qt3, If your application need ODBC only, you need to install libqt3-odbc and its dependencies (libqt3-odbc needs libqt3 and libunixODBC1).
Gambas goes farer: its plugins doesn't install database dependencies. They try to load those dependencies at runtime and if your program ask for MySQL, the plugin can answer "MySQL lib not available" or "Good, it's there, I load it".
|
|
|
|
|
U++ talk
By: amrein on Mon, 01 September 2008 14:43
|
|
|
Re: Does the provided upp.spec works for you and on which distro?
By: cbpporter on Mon, 01 September 2008 15:00
|
|
|
Re: Does the provided upp.spec works for you and on which distro?
By: guido on Mon, 01 September 2008 23:32
|
|
|
Re: Does the provided upp.spec works for you and on which distro?
By: amrein on Tue, 02 September 2008 11:38
|
|
|
Re: Does the provided upp.spec works for you and on which distro?
By: mirek on Tue, 02 September 2008 14:22
|
|
|
Re: Does the provided upp.spec works for you and on which distro?
By: mirek on Tue, 02 September 2008 10:06
|
|
|
Re: Does the provided upp.spec works for you and on which distro?
By: amrein on Tue, 02 September 2008 12:45
|
|
|
Re: Does the provided upp.spec works for you and on which distro?
By: mirek on Tue, 02 September 2008 13:53
|
|
|
Re: Does the provided upp.spec works for you and on which distro?
By: mirek on Tue, 02 September 2008 14:17
|
|
|
Re: Does the provided upp.spec works for you and on which distro?
By: cbpporter on Tue, 02 September 2008 14:19
|
|
|
Re: Does the provided upp.spec works for you and on which distro?
By: mirek on Tue, 02 September 2008 14:29
|
|
|
Re: Does the provided upp.spec works for you and on which distro?
By: captainc on Tue, 02 September 2008 16:22
|
|
|
Re: Does the provided upp.spec works for you and on which distro?
By: mirek on Wed, 10 September 2008 19:26
|
|
|
Re: Does the provided upp.spec works for you and on which distro?
By: mirek on Wed, 03 September 2008 09:49
|
|
|
Re: U++ talk
By: amrein on Tue, 02 September 2008 20:47
|
|
|
Re: U++ talk
By: mirek on Tue, 02 September 2008 21:23
|
|
|
Re: U++ talk
By: mirek on Tue, 02 September 2008 21:24
|
|
|
Re: U++ talk
By: amrein on Tue, 02 September 2008 22:20
|
|
|
Re: U++ talk
By: mirek on Tue, 02 September 2008 23:20
|
|
|
Re: U++ talk
By: cbpporter on Tue, 02 September 2008 22:30
|
|
|
Re: U++ talk
By: mirek on Tue, 02 September 2008 23:22
|
|
|
Re: U++ talk
By: amrein on Tue, 02 September 2008 23:37
|
|
|
Re: U++ talk
By: captainc on Wed, 03 September 2008 03:44
|
|
|
Re: U++ talk
By: mirek on Wed, 03 September 2008 09:58
|
|
|
Re: U++ talk
By: cbpporter on Wed, 03 September 2008 10:23
|
|
|
Re: U++ talk
By: mirek on Wed, 03 September 2008 11:10
|
|
|
Re: U++ talk
By: amrein on Wed, 03 September 2008 18:52
|
|
|
Re: U++ talk
By: mirek on Wed, 03 September 2008 22:55
|
|
|
Re: U++ talk
By: mirek on Wed, 03 September 2008 23:00
|
|
|
Re: U++ talk
By: cbpporter on Thu, 04 September 2008 04:52
|
|
|
Re: U++ talk
By: mr_ped on Thu, 04 September 2008 09:30
|
|
|
Re: U++ talk
By: mirek on Thu, 04 September 2008 12:45
|
|
|
Re: U++ talk
By: amrein on Thu, 04 September 2008 13:41
|
|
|
Re: U++ talk
By: mirek on Thu, 04 September 2008 21:55
|
|
|
Re: U++ talk
By: amrein on Thu, 04 September 2008 13:38
|
|
|
Re: U++ talk
By: mirek on Thu, 04 September 2008 21:54
|
|
|
Re: U++ talk
By: amrein on Thu, 04 September 2008 23:06
|
|
|
Re: U++ talk
By: amrein on Thu, 04 September 2008 23:28
|
|
|
Re: U++ talk
|
|
|
Re: U++ talk
By: Novo on Mon, 08 September 2008 05:01
|
|
|
Re: U++ talk
By: mirek on Mon, 08 September 2008 08:23
|
|
|
Re: U++ talk
|
|
|
Re: U++ talk
By: mr_ped on Mon, 08 September 2008 11:16
|
Goto Forum:
Current Time: Sat Jun 01 07:15:53 CEST 2024
Total time taken to generate the page: 0.02237 seconds
|