See <https://jenkins.x2go.org:8443/job/x2goclient+nightly+osx-10.13/264/display/redirect?page=changes> Changes: [ionic] src/sharewidget.h: fix configwidget.h include. [ionic] src/{sharewidget,exportdialog,folder{button,explorer},httpbrokerclient,onmainwindow,session{button,explorer,managedialog,widget},sshmasterconnection}.h: include compat.h to avoid misdefinition in implementation files later on. [ionic] src/folderbutton.cpp: try moving compat.h include down to not pollute the whole Qt namespace with our compat wrapper. ------------------------------------------ [...truncated 52.51 KiB...] ^~~~~~~~~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:100:18: note: expanded from macro 'QT_TR_FUNCTIONS' { return staticMetaObject.tr(s, c); } \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/compat.h:53:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'QString' to derived class reference 'const QStringCompatWrapper &' for 1st argument class QStringCompatWrapper : public QString { ^ In file included from ../src/settingswidget.cpp:19: In file included from ../src/onmainwindow.h:40: In file included from ../src/non_modal_messagebox.h:20: In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/QMessageBox:1: In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qmessagebox.h:45: /opt/local/libexec/qt4/include/QtGui/qdialog.h:58:5: error: no viable conversion from returned value of type 'QString' to function return type 'QStringCompatWrapper' Q_OBJECT ^~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:164:5: note: expanded from macro 'Q_OBJECT' QT_TR_FUNCTIONS \ ^~~~~~~~~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:102:18: note: expanded from macro 'QT_TR_FUNCTIONS' { return staticMetaObject.trUtf8(s, c); } \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/compat.h:53:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'QString' to derived class reference 'const QStringCompatWrapper &' for 1st argument class QStringCompatWrapper : public QString { ^ In file included from ../src/settingswidget.cpp:19: In file included from ../src/onmainwindow.h:40: In file included from ../src/non_modal_messagebox.h:20: In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/QMessageBox:1: In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qmessagebox.h:45: /opt/local/libexec/qt4/include/QtGui/qdialog.h:58:5: error: no viable conversion from returned value of type 'QString' to function return type 'QStringCompatWrapper' Q_OBJECT ^~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:164:5: note: expanded from macro 'Q_OBJECT' QT_TR_FUNCTIONS \ ^~~~~~~~~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:104:18: note: expanded from macro 'QT_TR_FUNCTIONS' { return staticMetaObject.tr(s, c, n); } \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/compat.h:53:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'QString' to derived class reference 'const QStringCompatWrapper &' for 1st argument class QStringCompatWrapper : public QString { ^ In file included from ../src/settingswidget.cpp:19: In file included from ../src/onmainwindow.h:40: In file included from ../src/non_modal_messagebox.h:20: In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/QMessageBox:1: In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qmessagebox.h:45: /opt/local/libexec/qt4/include/QtGui/qdialog.h:58:5: error: no viable conversion from returned value of type 'QString' to function return type 'QStringCompatWrapper' Q_OBJECT ^~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:164:5: note: expanded from macro 'Q_OBJECT' QT_TR_FUNCTIONS \ ^~~~~~~~~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:106:18: note: expanded from macro 'QT_TR_FUNCTIONS' { return staticMetaObject.trUtf8(s, c, n); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/compat.h:53:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'QString' to derived class reference 'const QStringCompatWrapper &' for 1st argument class QStringCompatWrapper : public QString { ^ In file included from ../src/settingswidget.cpp:19: In file included from ../src/onmainwindow.h:40: In file included from ../src/non_modal_messagebox.h:20: In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/QMessageBox:1: /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qmessagebox.h:61:5: error: no viable conversion from returned value of type 'QString' to function return type 'QStringCompatWrapper' Q_OBJECT ^~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:164:5: note: expanded from macro 'Q_OBJECT' QT_TR_FUNCTIONS \ ^~~~~~~~~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:100:18: note: expanded from macro 'QT_TR_FUNCTIONS' { return staticMetaObject.tr(s, c); } \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/compat.h:53:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'QString' to derived class reference 'const QStringCompatWrapper &' for 1st argument class QStringCompatWrapper : public QString { ^ In file included from ../src/settingswidget.cpp:19: In file included from ../src/onmainwindow.h:40: In file included from ../src/non_modal_messagebox.h:20: In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/QMessageBox:1: /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qmessagebox.h:61:5: error: no viable conversion from returned value of type 'QString' to function return type 'QStringCompatWrapper' Q_OBJECT ^~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:164:5: note: expanded from macro 'Q_OBJECT' QT_TR_FUNCTIONS \ ^~~~~~~~~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:102:18: note: expanded from macro 'QT_TR_FUNCTIONS' { return staticMetaObject.trUtf8(s, c); } \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/compat.h:53:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'QString' to derived class reference 'const QStringCompatWrapper &' for 1st argument class QStringCompatWrapper : public QString { ^ In file included from ../src/settingswidget.cpp:19: In file included from ../src/onmainwindow.h:40: In file included from ../src/non_modal_messagebox.h:20: In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/QMessageBox:1: /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qmessagebox.h:61:5: error: no viable conversion from returned value of type 'QString' to function return type 'QStringCompatWrapper' Q_OBJECT ^~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:164:5: note: expanded from macro 'Q_OBJECT' QT_TR_FUNCTIONS \ ^~~~~~~~~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:104:18: note: expanded from macro 'QT_TR_FUNCTIONS' { return staticMetaObject.tr(s, c, n); } \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/compat.h:53:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'QString' to derived class reference 'const QStringCompatWrapper &' for 1st argument class QStringCompatWrapper : public QString { ^ In file included from ../src/settingswidget.cpp:19: In file included from ../src/onmainwindow.h:40: In file included from ../src/non_modal_messagebox.h:20: In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/QMessageBox:1: /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qmessagebox.h:61:5: error: no viable conversion from returned value of type 'QString' to function return type 'QStringCompatWrapper' Q_OBJECT ^~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:164:5: note: expanded from macro 'Q_OBJECT' QT_TR_FUNCTIONS \ ^~~~~~~~~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:106:18: note: expanded from macro 'QT_TR_FUNCTIONS' { return staticMetaObject.trUtf8(s, c, n); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/compat.h:53:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'QString' to derived class reference 'const QStringCompatWrapper &' for 1st argument class QStringCompatWrapper : public QString { ^ 20 errors generated. make: *** [sharewidget.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from ../src/settingswidget.cpp:19: In file included from ../src/onmainwindow.h:49: In file included from ../src/pulsemanager.h:27: In file included from /opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/QTemporaryFile:1: /opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/qtemporaryfile.h:65:5: error: no viable conversion from returned value of type 'QString' to function return type 'QStringCompatWrapper' Q_OBJECT ^~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:164:5: note: expanded from macro 'Q_OBJECT' QT_TR_FUNCTIONS \ ^~~~~~~~~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:100:18: note: expanded from macro 'QT_TR_FUNCTIONS' { return staticMetaObject.tr(s, c); } \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/compat.h:53:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'QString' to derived class reference 'const QStringCompatWrapper &' for 1st argument class QStringCompatWrapper : public QString { ^ In file included from ../src/settingswidget.cpp:19: In file included from ../src/onmainwindow.h:49: In file included from ../src/pulsemanager.h:27: In file included from /opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/QTemporaryFile:1: /opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/qtemporaryfile.h:65:5: error: no viable conversion from returned value of type 'QString' to function return type 'QStringCompatWrapper' Q_OBJECT ^~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:164:5: note: expanded from macro 'Q_OBJECT' QT_TR_FUNCTIONS \ ^~~~~~~~~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:102:18: note: expanded from macro 'QT_TR_FUNCTIONS' { return staticMetaObject.trUtf8(s, c); } \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/compat.h:53:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'QString' to derived class reference 'const QStringCompatWrapper &' for 1st argument class QStringCompatWrapper : public QString { ^ In file included from ../src/settingswidget.cpp:19: In file included from ../src/onmainwindow.h:49: In file included from ../src/pulsemanager.h:27: In file included from /opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/QTemporaryFile:1: /opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/qtemporaryfile.h:65:5: error: no viable conversion from returned value of type 'QString' to function return type 'QStringCompatWrapper' Q_OBJECT ^~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:164:5: note: expanded from macro 'Q_OBJECT' QT_TR_FUNCTIONS \ ^~~~~~~~~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:104:18: note: expanded from macro 'QT_TR_FUNCTIONS' { return staticMetaObject.tr(s, c, n); } \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/compat.h:53:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'QString' to derived class reference 'const QStringCompatWrapper &' for 1st argument class QStringCompatWrapper : public QString { ^ In file included from ../src/settingswidget.cpp:19: In file included from ../src/onmainwindow.h:49: In file included from ../src/pulsemanager.h:27: In file included from /opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/QTemporaryFile:1: /opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/qtemporaryfile.h:65:5: error: no viable conversion from returned value of type 'QString' to function return type 'QStringCompatWrapper' Q_OBJECT ^~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:164:5: note: expanded from macro 'Q_OBJECT' QT_TR_FUNCTIONS \ ^~~~~~~~~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:106:18: note: expanded from macro 'QT_TR_FUNCTIONS' { return staticMetaObject.trUtf8(s, c, n); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/compat.h:53:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'QString' to derived class reference 'const QStringCompatWrapper &' for 1st argument class QStringCompatWrapper : public QString { ^ In file included from ../src/settingswidget.cpp:19: In file included from ../src/onmainwindow.h:49: In file included from ../src/pulsemanager.h:31: In file included from /opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/QTimer:1: /opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/qtimer.h:58:5: error: no viable conversion from returned value of type 'QString' to function return type 'QStringCompatWrapper' Q_OBJECT ^~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:164:5: note: expanded from macro 'Q_OBJECT' QT_TR_FUNCTIONS \ ^~~~~~~~~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:100:18: note: expanded from macro 'QT_TR_FUNCTIONS' { return staticMetaObject.tr(s, c); } \ ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/compat.h:53:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'QString' to derived class reference 'const QStringCompatWrapper &' for 1st argument class QStringCompatWrapper : public QString { ^ In file included from ../src/settingswidget.cpp:19: In file included from ../src/onmainwindow.h:49: In file included from ../src/pulsemanager.h:31: In file included from /opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/QTimer:1: /opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/qtimer.h:58:5: error: no viable conversion from returned value of type 'QString' to function return type 'QStringCompatWrapper' Q_OBJECT ^~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:164:5: note: expanded from macro 'Q_OBJECT' QT_TR_FUNCTIONS \ ^~~~~~~~~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:102:18: note: expanded from macro 'QT_TR_FUNCTIONS' { return staticMetaObject.trUtf8(s, c); } \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/compat.h:53:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'QString' to derived class reference 'const QStringCompatWrapper &' for 1st argument class QStringCompatWrapper : public QString { ^ In file included from ../src/settingswidget.cpp:19: In file included from ../src/onmainwindow.h:49: In file included from ../src/pulsemanager.h:31: In file included from /opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/QTimer:1: /opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/qtimer.h:58:5: error: no viable conversion from returned value of type 'QString' to function return type 'QStringCompatWrapper' Q_OBJECT ^~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:164:5: note: expanded from macro 'Q_OBJECT' QT_TR_FUNCTIONS \ ^~~~~~~~~~~~~~~ /opt/local/libexec/qt4/include/QtCore/qobjectdefs.h:104:18: note: expanded from macro 'QT_TR_FUNCTIONS' { return staticMetaObject.tr(s, c, n); } \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/compat.h:53:7: note: candidate constructor (the implicit copy constructor) not viable: cannot bind base class object of type 'QString' to derived class reference 'const QStringCompatWrapper &' for 1st argument class QStringCompatWrapper : public QString { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [settingswidget.o] Error 1 + cleanup + typeset temp_dir= + for temp_dir in "${temp_cleanup[@]}" + '[' -n '' ']' + for temp_dir in "${temp_cleanup[@]}" + '[' -n /Users/jenkins/tmp//tmp.PkQ37FsgYUsAIfYhsNEIvhpx ']' + '[' -d /Users/jenkins/tmp//tmp.PkQ37FsgYUsAIfYhsNEIvhpx ']' + rm -Rf -- /Users/jenkins/tmp//tmp.PkQ37FsgYUsAIfYhsNEIvhpx Build step 'Execute shell' marked build as failure