Recent

Author Topic: Recent Changes to Qt6 Interface ?  (Read 2091 times)

dbannon

  • Hero Member
  • *****
  • Posts: 3294
    • tomboy-ng, a rewrite of the classic Tomboy
Recent Changes to Qt6 Interface ?
« on: April 24, 2023, 02:34:13 am »
Some changes were made recently to the Qt6 bindings in Main, https://gitlab.com/freepascal.org/lazarus/lazarus/-/commit/5ace4db416b10b371fc37610585e9cf143e7f39f but  the version number has not been rev-ed ?

A user reports compile time problems but not ones that sound like they came from recent changes   Reported -

QFontDatabase constructor and destructor unavailable in qfontdatabase_c.h :
C_EXPORT QFontDatabaseH QFontDatabase_Create();
C_EXPORT void QFontDatabase_Destroy(QFontDatabaseH handle);


qfontdatabase has not changed since November 2022 ??

Davo
« Last Edit: April 24, 2023, 06:26:30 am by dbannon »
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

zeljko

  • Hero Member
  • *****
  • Posts: 1719
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Recent Changes to Qt6 Interface ?
« Reply #1 on: April 24, 2023, 10:14:13 am »
There will be more changes next days and then I'll change version (when changes in C bindings are added to qt56.pas)

zeljko

  • Hero Member
  • *****
  • Posts: 1719
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Recent Changes to Qt6 Interface ?
« Reply #2 on: April 24, 2023, 10:18:35 am »
QFontDatabase is completely static in Qt6 AFAIR, so no constructor & destructor.
https://doc.qt.io/qt-6.2/qfontdatabase.html

dbannon

  • Hero Member
  • *****
  • Posts: 3294
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Recent Changes to Qt6 Interface ?
« Reply #3 on: April 25, 2023, 02:21:27 am »
Yeah, thanks Zeljko, I suspect the reporter may be confusing LCL and Typhon, possible the typhon guys have played with the code and it no longer works with our library. Not our problem !

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

 

TinyPortal © 2005-2018