Recent

Author Topic: QT 6?  (Read 8695 times)

Zoë

  • New Member
  • *
  • Posts: 25
QT 6?
« on: January 18, 2021, 07:23:49 am »
I know QT 6 just came out, but is anyone looking into what it'll take to update the LCL bindings for it?  One of our users just pointed out that QT 5.14 is EOL this December, and 5.15 is a commercial only LTS release.

https://en.wikipedia.org/wiki/Qt_version_history

zeljko

  • Hero Member
  • *****
  • Posts: 1594
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: QT 6?
« Reply #1 on: January 18, 2021, 09:18:21 am »
Qt6 bindings should be started when first Qt6 LTS is released (AFAIR it's 6.2)

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: QT 6?
« Reply #2 on: January 18, 2021, 09:43:46 am »
Qt6 bindings should be started when first Qt6 LTS is released (AFAIR it's 6.2)

Will there be a public 6.2 lts?

zeljko

  • Hero Member
  • *****
  • Posts: 1594
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: QT 6?
« Reply #3 on: January 18, 2021, 01:05:31 pm »
Qt6 bindings should be started when first Qt6 LTS is released (AFAIR it's 6.2)

Will there be a public 6.2 lts?

Probably not, but I'm looking for stable api.

zeljko

  • Hero Member
  • *****
  • Posts: 1594
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: QT 6?
« Reply #4 on: November 10, 2022, 07:19:13 pm »
Old topic, but fresh news :) qt6 release will be based on lts Qt-6.2.3  which is lgpl and installed on most modern distros.

Zoë

  • New Member
  • *
  • Posts: 25
Re: QT 6?
« Reply #5 on: November 10, 2022, 08:17:13 pm »
Good to hear!  :) I assume there will be a new qt6 widgetset backend?  We'll definitely give it a thorough testing once it lands.

zeljko

  • Hero Member
  • *****
  • Posts: 1594
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: QT 6?
« Reply #6 on: November 11, 2022, 02:22:24 am »
It already works here, I'm using lazarus qt6 for almost 1 month in virtual machine, fixing some wayland stuff before commiting.

dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
Re: QT 6?
« Reply #7 on: November 11, 2022, 06:58:31 am »
hey, thats fantastic news Zeljko, we'd all like to have a play with what you have now.

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

El Salvador

  • Full Member
  • ***
  • Posts: 134
Re: QT 6?
« Reply #8 on: November 11, 2022, 11:09:37 am »
It already works here, I'm using lazarus qt6 for almost 1 month in virtual machine, fixing some wayland stuff before commiting.
Oh my! Beautiful news!

zeljko

  • Hero Member
  • *****
  • Posts: 1594
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: QT 6?
« Reply #9 on: November 11, 2022, 03:16:43 pm »
Here's first screenshoot of Lazarus IDE using qt6 widgetset...just for history books :)

zeljko

  • Hero Member
  • *****
  • Posts: 1594
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: QT 6?
« Reply #10 on: November 11, 2022, 06:42:10 pm »
Commited :)

cpalx

  • Hero Member
  • *****
  • Posts: 753
Re: QT 6?
« Reply #11 on: November 11, 2022, 06:53:54 pm »
i want to installlllllllllll

AlexTP

  • Hero Member
  • *****
  • Posts: 2386
    • UVviewsoft
Re: QT 6?
« Reply #12 on: November 11, 2022, 06:58:07 pm »
Is libQt6Pas needed for this Qt6? Where to get it?

EDITED
Yes.

quote: To use them you also need to download and install at appropriate place the libQt6Pas.so (linux) or Qt6Pas.dll (ms windows) or Qt6Pas.framework (Darwin).
« Last Edit: November 11, 2022, 07:00:50 pm by AlexTP »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: QT 6?
« Reply #13 on: November 11, 2022, 07:13:26 pm »
Here's first screenshoot of Lazarus IDE using qt6 widgetset...just for history books :)
This forum needs like / love button to appreciate such a work.

dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
Re: QT 6?
« Reply #14 on: November 12, 2022, 02:37:55 am »
Hi Zeljko, this really is great news.

However (there is always a 'however') I cannot build the library on Debian Testing. What distro are you using for your development please ?
Debian Bullseye does not have Qt6 and Testing is, well testing, so not always stable.

EDIT: Builds on Fedora 36

On Debian testing I see after what must be a good part of the build is done -
........
Code: Bash  [Select][+][-]
  1. g++ -pipe -Wfatal-errors -O2 -w -dM -E -o tmp/moc_predefs.h /usr/lib/x86_64-linux-gnu/qt6/mkspecs/features/data/dummy.cpp
  2. /usr/lib/qt6/libexec/moc -DBINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /home/dbannon/libqt6pas/cbindings/tmp/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -I/home/dbannon/libqt6pas/cbindings -I/usr/include/x86_64-linux-gnu/qt6 -I/usr/include/x86_64-linux-gnu/qt6/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt6/QtWidgets -I/usr/include/x86_64-linux-gnu/qt6/QtGui -I/usr/include/x86_64-linux-gnu/qt6/QtCore -I/usr/include/c++/11 -I/usr/include/c++/11/x86_64-redhat-linux -I/usr/include/c++/11/backward -I/usr/lib/gcc/x86_64-redhat-linux/11/include -I/usr/local/include -I/usr/include src/qobject_hook.h -o tmp/moc_qobject_hook.cpp
  3. usr/include/c++/11/bits/stl_relops.:67:1: error: Parse error at "std"

The line it refers to, in stl_relops.h is show below -
Code: C  [Select][+][-]
  1. /** @file bits/stl_relops.h
  2.  *  This is an internal header file, included by other library headers.
  3.  *  Do not attempt to use it directly. @headername{utility}
  4.  *
  5.  *  Inclusion of this file has been removed from
  6.  *  all of the other STL headers for safety reasons, except std_utility.h.
  7.  *  For more information, see the thread of about twenty messages starting
  8.  *  with http://gcc.gnu.org/ml/libstdc++/2001-01/msg00223.html, or
  9.  *  http://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.ambiguous_overloads
  10.  *
  11.  *  Short summary: the rel_ops operators should be avoided for the present.
  12.  */
  13.  
  14. #ifndef _STL_RELOPS_H
  15. #define _STL_RELOPS_H 1
  16.  
  17. namespace std _GLIBCXX_VISIBILITY(default)      // <<<< This is line refereed to.
  18. {
  19. _GLIBCXX_BEGIN_NAMESPACE_VERSION
  20. .....

It appears that someone is quite uncomfortable with the use of this specific stl_relops at least. Perhaps debian is behind the game here a bit ?

PS : due to this announcement, the next release of my app (due in a few days) to the Debian Repo will be the Qt5 version.  8-)

Davo

« Last Edit: November 12, 2022, 03:27:57 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

 

TinyPortal © 2005-2018