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 -
........
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
/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
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 -
/** @file bits/stl_relops.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{utility}
*
* Inclusion of this file has been removed from
* all of the other STL headers for safety reasons, except std_utility.h.
* For more information, see the thread of about twenty messages starting
* with http://gcc.gnu.org/ml/libstdc++/2001-01/msg00223.html, or
* http://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.ambiguous_overloads
*
* Short summary: the rel_ops operators should be avoided for the present.
*/
#ifndef _STL_RELOPS_H
#define _STL_RELOPS_H 1
namespace std _GLIBCXX_VISIBILITY(default) // <<<< This is line refereed to.
{
_GLIBCXX_BEGIN_NAMESPACE_VERSION
.....
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.
Davo