[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