Re: Configure Qt Creator to work with PostgreSQL to extensions development

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Andreas Joseph Krogh <andreas(at)visena(dot)com>
Cc: Fabiana Zioti <fabi_zioti(at)hotmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Configure Qt Creator to work with PostgreSQL to extensions development
Date: 2017-06-25 21:02:32
Message-ID: e38173af-77a0-b3b4-b1eb-2eefc4c116a3@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 06/25/2017 01:34 PM, Andreas Joseph Krogh wrote:
> På søndag 25. juni 2017 kl. 17:04:02, skrev Adrian Klaver
> <adrian(dot)klaver(at)aklaver(dot)com <mailto:adrian(dot)klaver(at)aklaver(dot)com>>:
>
> On 06/25/2017 07:34 AM, Fabiana Zioti wrote:
> > I'm creating an extension to PostgreSQL, with user-defined types and
> > user-defined functions.
> >
> > Extensions can be written in C as well as C ++, correct?
>
> Given that you are asking about Qt Creator do you mean written in C++ as
> well as C?
>
> An extension is just packaging of objects:
>
> https://www.postgresql.org/docs/9.6/static/extend-extensions.html
>
> I am not sure C/C++ really is a factor.
> Maybe if you offer more detail on what you are trying to achieve.
>
> > I am currently using ATOM to develop in Ubuntu. But I would like
> to work
> > with Qt.
>
> Not seeing how Qt will work in a Postgres extension?
>
> I think what he's asking is how to use Qt Creator as a development
> environment for developing PG-extentions, not linking Qt in from an
> extention.

Even if that is the case, Qt Creator is optimized for building GUI's
based on Qt, I suspect the OP will be fighting it to build Postgres
extensions. Seems to me sticking with Atom would be the wiser choice. At
any rate the above awaits more information for confirmation.

> --
> *Andreas Joseph Krogh*

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Joseph Krogh 2017-06-25 21:07:45 Re: Configure Qt Creator to work with PostgreSQL to extensions development
Previous Message Andreas Joseph Krogh 2017-06-25 20:34:53 Re: Configure Qt Creator to work with PostgreSQL to extensions development