Re: [Interest] QTableView, QSqlRelationalTableModel and QDateTimeEdit and timezones

2020-04-30 Thread Tony Rietwyk
Hi Lisandro, AFAIK that is a bug in the design of the Qt SQL api's.  There is no way to specify to QSqlField/QSqlResult that the date being read is UTC.  You have to read the QSqlQuery yourself, convert the QVariant to QDateTime, apply the time spec, then pass the value to the UI. Maybe you

[Interest] #include

2020-04-30 Thread Glenn Ramsey
Hi, I'm wanting to get the native OpenGL context on macOS but when including I get the following error: In file included from .../qt-5.12.7/qtbase/include/QtPlatformHeaders/QCocoaNativeContext:1: .../qt-5.12.7/qtbase/include/QtPlatformHeaders/qcocoanativecontext.h:1: In file included from

[Interest] QTableView, QSqlRelationalTableModel and QDateTimeEdit and timezones

2020-04-30 Thread Lisandro Damián Nicanor Pérez Meyer
Hi! I have a database (PostgreSql) with a table that holds date/time in UTC. I've read this table with the QSqlRelationalTableModel and show the data with a QTableView and a QDateTimeEdit. I would like both the QTableView and the QDateEdit to show the time in local timezone, but I seem to be

Re: [Interest] Link failure with undefined references, on Ubuntu but not macOS

2020-04-30 Thread Ben Haller via Interest
Hi Thiago. Thanks for this. My link dependencies do presently obey this constraint (directed acyclic graph), but I’ll add the setting you suggest to enforce that! :-> Cheers, -B. Benjamin C. Haller Messer Lab Cornell University > On Apr 29, 2020, at 11:43 PM, Thiago Macieira > wrote: >

Re: [Interest] Qt Creator Application Output window

2020-04-30 Thread Adam Light
On Thu, Apr 30, 2020 at 12:52 AM Christian Kandeler < christian.kande...@qt.io> wrote: > On Wed, 29 Apr 2020 14:34:57 -0700 > j...@wavemetrics.com wrote: > > > Maybe I was too specific here. This isn't just a problem with Address > Sanitizer. It is a general problem with the output pane in Qt

Re: [Interest] Qt Creator Application Output window

2020-04-30 Thread Christian Kandeler
On Wed, 29 Apr 2020 14:34:57 -0700 j...@wavemetrics.com wrote: > Maybe I was too specific here. This isn't just a problem with Address > Sanitizer. It is a general problem with the output pane in Qt Creator. Its > just that AddressSanitizer happens to put out lots of output. I don't. If you