[Debichem-devel] Bug#1114375: shelxle: FTBFS: opengltestwidget.cpp:276:12: error: no matching function for call to 'OpenGLTestWidget::connect(QDoubleSpinBox*&, <unresolved overloaded function type>, PlayOpenGL*&, void (PlayOpenGL::*)(double))'

Santiago Vila sanvila at debian.org
Fri Sep 5 19:26:14 BST 2025


Package: src:shelxle
Version: 1.0.1552-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:shelxle, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
	qmake -makefile "QMAKE_CFLAGS_RELEASE=-g -O2 -Werror=implic [too-long-redacted] ,now" QMAKE_STRIP=: PREFIX=/usr
Info: creating stash file /<<PKGBUILDDIR>>/.qmake.stash
Project MESSAGE: console is off!
RCC: Warning: No resources in 'bicons.qrc'.
   dh_auto_build
	make -j2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
g++ -c -pipe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o main.o main.cpp
g++ -c -pipe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o exportccdlg.o exportccdlg.cpp
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QtWidgets:202,
                 from /usr/include/x86_64-linux-gnu/qt5/QtOpenGL/QtOpenGLDepends:5,
                 from /usr/include/x86_64-linux-gnu/qt5/QtOpenGL/QtOpenGL:3,
                 from molecule.h:36,
                 from chgl.h:31,
                 from window.h:24,
                 from main.cpp:19:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qplaintextedit.h:277:18: warning: ‘virtual void QPlainTextEdit::doSetTextCursor(const QTextCursor&)’ was hidden [-Woverloaded-virtual=]
  277 |     virtual void doSetTextCursor(const QTextCursor &cursor);
      |                  ^~~~~~~~~~~~~~~
In file included from window.h:25:
codeeditor.h:140:10: note:   by ‘void CodeEditor::doSetTextCursor(const QTextCursor&, bool)’
  140 |     void doSetTextCursor(const QTextCursor &cursor, bool keepMultiSelection);
      |          ^~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qopenglwidget.h:47,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QOpenGLWidget:1,
                 from chgl.h:22:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:638:18: warning: ‘virtual void QWidget::contextMenuEvent(QContextMenuEvent*)’ was hidden [-Woverloaded-virtual=]
  638 |     virtual void contextMenuEvent(QContextMenuEvent *event);
      |                  ^~~~~~~~~~~~~~~~
In file included from fourxle.h:31,
                 from window.h:29:
opengltestwidget.h:576:7: note:   by ‘void PlayOpenGL::contextMenuEvent(QMouseEvent*)’
  576 |  void contextMenuEvent(QMouseEvent *event);// override;
      |       ^~~~~~~~~~~~~~~~
opengltestwidget.h: In member function ‘void PlayOpenGL::hidePartMinusOne(bool)’:
opengltestwidget.h:390:32: warning: unused parameter ‘b’ [-Wunused-parameter]
  390 |     void hidePartMinusOne(bool b){
      |                           ~~~~~^
g++ -c -pipe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o includeeditor.o includeeditor.cpp
g++ -c -pipe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o opengltestwidget.o opengltestwidget.cpp
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QPlainTextEdit:1,
                 from codeeditor.h:45,
                 from includeeditor.h:6,
                 from includeeditor.cpp:1:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qplaintextedit.h:277:18: warning: ‘virtual void QPlainTextEdit::doSetTextCursor(const QTextCursor&)’ was hidden [-Woverloaded-virtual=]
  277 |     virtual void doSetTextCursor(const QTextCursor &cursor);
      |                  ^~~~~~~~~~~~~~~
codeeditor.h:140:10: note:   by ‘void CodeEditor::doSetTextCursor(const QTextCursor&, bool)’
  140 |     void doSetTextCursor(const QTextCursor &cursor, bool keepMultiSelection);
      |          ^~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:44,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
                 from opengltestwidget.h:5,
                 from opengltestwidget.cpp:1:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:638:18: warning: ‘virtual void QWidget::contextMenuEvent(QContextMenuEvent*)’ was hidden [-Woverloaded-virtual=]
  638 |     virtual void contextMenuEvent(QContextMenuEvent *event);
      |                  ^~~~~~~~~~~~~~~~
opengltestwidget.h:576:7: note:   by ‘void PlayOpenGL::contextMenuEvent(QMouseEvent*)’
  576 |  void contextMenuEvent(QMouseEvent *event);// override;
      |       ^~~~~~~~~~~~~~~~
opengltestwidget.h: In member function ‘void PlayOpenGL::hidePartMinusOne(bool)’:
opengltestwidget.h:390:32: warning: unused parameter ‘b’ [-Wunused-parameter]
  390 |     void hidePartMinusOne(bool b){
      |                           ~~~~~^
opengltestwidget.cpp: In constructor ‘OpenGLTestWidget::OpenGLTestWidget(Molecule*, QList<QAction*>&, QWidget*)’:
opengltestwidget.cpp:276:12: error: no matching function for call to ‘OpenGLTestWidget::connect(QDoubleSpinBox*&, <unresolved overloaded function type>, PlayOpenGL*&, void (PlayOpenGL::*)(double))’
  276 |     connect(bsdsp, &QDoubleSpinBox::valueChanged, ogl, &PlayOpenGL::setBondStrength);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opengltestwidget.cpp:276:12: note: there are 8 candidates
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
                 from opengltestwidget.h:4:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:242:43: note: candidate 1: ‘template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)’
  242 |     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
      |                                           ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:242:43: note: template argument deduction/substitution failed:
opengltestwidget.cpp:276:12: note:   couldn’t deduce template parameter ‘Func1’
  276 |     connect(bsdsp, &QDoubleSpinBox::valueChanged, ogl, &PlayOpenGL::setBondStrength);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:274:13: note: candidate 2: ‘template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)’
  274 |             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
      |             ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:274:13: note: candidate expects 3 arguments, 4 provided
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:283:13: note: candidate 3: ‘template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)’
  283 |             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
      |             ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:283:13: note: template argument deduction/substitution failed:
opengltestwidget.cpp:276:12: note:   couldn’t deduce template parameter ‘Func1’
  276 |     connect(bsdsp, &QDoubleSpinBox::valueChanged, ogl, &PlayOpenGL::setBondStrength);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:314:13: note: candidate 4: ‘template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == -1), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)’
  314 |             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
      |             ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:314:13: note: candidate expects 3 arguments, 4 provided
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:322:13: note: candidate 5: ‘template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == -1), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)’
  322 |             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
      |             ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:322:13: note: template argument deduction/substitution failed:
opengltestwidget.cpp:276:12: note:   couldn’t deduce template parameter ‘Func1’
  276 |     connect(bsdsp, &QDoubleSpinBox::valueChanged, ogl, &PlayOpenGL::setBondStrength);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:222:36: note: candidate 6: ‘static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)’
  222 |     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
      |                                    ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:222:79: note: no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘const char*’
  222 |     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
      |                                                                   ~~~~~~~~~~~~^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:225:36: note: candidate 7: ‘static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)’
  225 |     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
      |                                    ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:225:86: note: no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘const QMetaMethod&’
  225 |     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
      |                                                                   ~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:481:32: note: candidate 8: ‘QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const’
  481 | inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
      |                                ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:481:85: note: no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘const char*’
  481 | inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
      |                                                                         ~~~~~~~~~~~~^~~~~~~
opengltestwidget.cpp:285:12: error: no matching function for call to ‘OpenGLTestWidget::connect(QSpinBox*&, <unresolved overloaded function type>, PlayOpenGL*&, void (PlayOpenGL::*)(int))’
  285 |     connect(lodsp, &QSpinBox::valueChanged, ogl, &PlayOpenGL::setLOD);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opengltestwidget.cpp:285:12: note: there are 8 candidates
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:242:43: note: candidate 1: ‘template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)’
  242 |     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
      |                                           ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:242:43: note: template argument deduction/substitution failed:
opengltestwidget.cpp:285:12: note:   couldn’t deduce template parameter ‘Func1’
  285 |     connect(lodsp, &QSpinBox::valueChanged, ogl, &PlayOpenGL::setLOD);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:274:13: note: candidate 2: ‘template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)’
  274 |             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
      |             ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:274:13: note: candidate expects 3 arguments, 4 provided
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:283:13: note: candidate 3: ‘template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)’
  283 |             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
      |             ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:283:13: note: template argument deduction/substitution failed:
opengltestwidget.cpp:285:12: note:   couldn’t deduce template parameter ‘Func1’
  285 |     connect(lodsp, &QSpinBox::valueChanged, ogl, &PlayOpenGL::setLOD);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:314:13: note: candidate 4: ‘template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == -1), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)’
  314 |             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
      |             ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:314:13: note: candidate expects 3 arguments, 4 provided
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:322:13: note: candidate 5: ‘template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == -1), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)’
  322 |             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
      |             ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:322:13: note: template argument deduction/substitution failed:
opengltestwidget.cpp:285:12: note:   couldn’t deduce template parameter ‘Func1’
  285 |     connect(lodsp, &QSpinBox::valueChanged, ogl, &PlayOpenGL::setLOD);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:222:36: note: candidate 6: ‘static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)’
  222 |     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
      |                                    ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:222:79: note: no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘const char*’
  222 |     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
      |                                                                   ~~~~~~~~~~~~^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:225:36: note: candidate 7: ‘static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)’
  225 |     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
      |                                    ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:225:86: note: no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘const QMetaMethod&’
  225 |     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
      |                                                                   ~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:481:32: note: candidate 8: ‘QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const’
  481 | inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
      |                                ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:481:85: note: no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘const char*’
  481 | inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
      |                                                                         ~~~~~~~~~~~~^~~~~~~
opengltestwidget.cpp:300:12: error: no matching function for call to ‘OpenGLTestWidget::connect(QDoubleSpinBox*&, <unresolved overloaded function type>, OpenGLTestWidget*, void (OpenGLTestWidget::*)(double))’
  300 |     connect(fov, &QDoubleSpinBox::valueChanged, this, &OpenGLTestWidget::setViewAngle);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opengltestwidget.cpp:300:12: note: there are 8 candidates
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:242:43: note: candidate 1: ‘template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)’
  242 |     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
      |                                           ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:242:43: note: template argument deduction/substitution failed:
opengltestwidget.cpp:300:12: note:   couldn’t deduce template parameter ‘Func1’
  300 |     connect(fov, &QDoubleSpinBox::valueChanged, this, &OpenGLTestWidget::setViewAngle);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:274:13: note: candidate 2: ‘template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)’
  274 |             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
      |             ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:274:13: note: candidate expects 3 arguments, 4 provided
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:283:13: note: candidate 3: ‘template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)’
  283 |             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
      |             ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:283:13: note: template argument deduction/substitution failed:
opengltestwidget.cpp:300:12: note:   couldn’t deduce template parameter ‘Func1’
  300 |     connect(fov, &QDoubleSpinBox::valueChanged, this, &OpenGLTestWidget::setViewAngle);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:314:13: note: candidate 4: ‘template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == -1), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)’
  314 |             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
      |             ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:314:13: note: candidate expects 3 arguments, 4 provided
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:322:13: note: candidate 5: ‘template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == -1), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)’
  322 |             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
      |             ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:322:13: note: template argument deduction/substitution failed:
opengltestwidget.cpp:300:12: note:   couldn’t deduce template parameter ‘Func1’
  300 |     connect(fov, &QDoubleSpinBox::valueChanged, this, &OpenGLTestWidget::setViewAngle);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:222:36: note: candidate 6: ‘static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)’
  222 |     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
      |                                    ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:222:79: note: no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘const char*’
  222 |     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
      |                                                                   ~~~~~~~~~~~~^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:225:36: note: candidate 7: ‘static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)’
  225 |     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
      |                                    ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:225:86: note: no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘const QMetaMethod&’
  225 |     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
      |                                                                   ~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:481:32: note: candidate 8: ‘QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const’
  481 | inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
      |                                ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:481:85: note: no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘const char*’
  481 | inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
      |                                                                         ~~~~~~~~~~~~^~~~~~~
opengltestwidget.cpp: In member function ‘void PlayOpenGL::setRotationCenter(V3)’:
opengltestwidget.cpp:1708:39: warning: unused parameter ‘center’ [-Wunused-parameter]
 1708 | void PlayOpenGL::setRotationCenter(V3 center){
      |                                    ~~~^~~~~~
opengltestwidget.cpp: In member function ‘void PlayOpenGL::makeMaps(QVector<QVector<float> >&, QVector<QVector<float> >&)’:
opengltestwidget.cpp:2218:9: warning: unused variable ‘siz’ [-Wunused-variable]
 2218 |     int siz = fVertexes[0].size() + sizeof(float);
      |         ^~~
opengltestwidget.cpp: In member function ‘void PlayOpenGL::makeClassicAtoms(const CEnvironment&)’:
opengltestwidget.cpp:3153:55: warning: unused parameter ‘atoms’ [-Wunused-parameter]
 3153 | void PlayOpenGL::makeClassicAtoms(const CEnvironment &atoms){
      |                                   ~~~~~~~~~~~~~~~~~~~~^~~~~
g++ -c -pipe -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o partcolor.o partcolor.cpp
make[1]: *** [Makefile:1359: opengltestwidget.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Debichem-devel mailing list