Compiling wxSQLite3 with --disable-gui

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
vampie
In need of some credit
In need of some credit
Posts: 1
Joined: Mon Apr 20, 2015 12:06 am

Compiling wxSQLite3 with --disable-gui

Postby vampie » Mon Apr 20, 2015 12:08 am

Hello,

Is it possible that wxSQLITE3 library can be compiled over wx3 with --disable-gui ?

why needed gui framework ( msw, gtk* ) ?
I want to use it with base without gui..

Thanks,

Baris

utelle
Moderator
Moderator
Posts: 753
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: Compiling wxSQLite3 with --disable-gui

Postby utelle » Mon Apr 20, 2015 10:41 am

vampie wrote:Is it possible that wxSQLITE3 library can be compiled over wx3 with --disable-gui ?

Yes. wxSQLite3 does only depend on the wxWidgets base library.

vampie wrote:why needed gui framework ( msw, gtk* ) ?
I want to use it with base without gui..

Well, most wxWidgets applications using wxSQLite3 are GUI applications, such as the GUI sample coming with wxSQLite3. Therefore the wxWidgets core library is usually in the list of dependencies.

The easiest approach for you might be to just add the few wxSQLite3 source files (1 .cpp file and a few .h files) to your own project.

Regards,

Ulrich


Return to “wxCode”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest