[X2Go-Commits] Build failed in Jenkins: x2goclient+nightly+osx-10.11 #290

jenkins at x2go.org jenkins at x2go.org
Sun Apr 6 17:44:53 CEST 2025


See <https://jenkins.x2go.org:8443/job/x2goclient+nightly+osx-10.11/290/display/redirect?page=changes>

Changes:

[ionic] src/compat.h: define copy constructor for QLatin1String conversion.


------------------------------------------
[...truncated 60.45 KiB...]
    ^
In file included from ../src/sharewidget.cpp:21:
In file included from ../src/sharewidget.h:24:
In file included from ../src/configwidget.h:24:
In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/QFrame:1:
/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qframe.h:57: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:55: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 {
      ^
../src/compat.h:57:5: note: candidate constructor not viable: no known conversion from 'QString' to 'const QLatin1String &' for 1st argument
    QStringCompatWrapper (const QLatin1String &str) : QString (str) {
    ^
In file included from ../src/sharewidget.cpp:21:
In file included from ../src/sharewidget.h:24:
In file included from ../src/configwidget.h:24:
In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/QFrame:1:
/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qframe.h:57: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:55: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 {
      ^
../src/compat.h:57:5: note: candidate constructor not viable: no known conversion from 'QString' to 'const QLatin1String &' for 1st argument
    QStringCompatWrapper (const QLatin1String &str) : QString (str) {
    ^
In file included from ../src/sharewidget.cpp:21:
In file included from ../src/sharewidget.h:24:
In file included from ../src/configwidget.h:24:
In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/QFrame:1:
/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qframe.h:57: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:55: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 {
      ^
../src/compat.h:57:5: note: candidate constructor not viable: no known conversion from 'QString' to 'const QLatin1String &' for 1st argument
    QStringCompatWrapper (const QLatin1String &str) : QString (str) {
    ^
In file included from ../src/sharewidget.cpp:21:
../src/sharewidget.h:37:3: 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:55: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 {
      ^
../src/compat.h:57:5: note: candidate constructor not viable: no known conversion from 'QString' to 'const QLatin1String &' for 1st argument
    QStringCompatWrapper (const QLatin1String &str) : QString (str) {
    ^
In file included from ../src/sharewidget.cpp:21:
../src/sharewidget.h:37:3: 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:55: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 {
      ^
../src/compat.h:57:5: note: candidate constructor not viable: no known conversion from 'QString' to 'const QLatin1String &' for 1st argument
    QStringCompatWrapper (const QLatin1String &str) : QString (str) {
    ^
In file included from ../src/sharewidget.cpp:21:
../src/sharewidget.h:37:3: 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:55: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 {
      ^
../src/compat.h:57:5: note: candidate constructor not viable: no known conversion from 'QString' to 'const QLatin1String &' for 1st argument
    QStringCompatWrapper (const QLatin1String &str) : QString (str) {
    ^
In file included from ../src/sharewidget.cpp:21:
../src/sharewidget.h:37:3: 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:55: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 {
      ^
../src/compat.h:57:5: note: candidate constructor not viable: no known conversion from 'QString' to 'const QLatin1String &' for 1st argument
    QStringCompatWrapper (const QLatin1String &str) : QString (str) {
    ^
In file included from ../src/sharewidget.cpp:22:
In file included from ../src/onmainwindow.h:23:
In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/QMainWindow:1:
In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qmainwindow.h:46:
/opt/local/libexec/qt4/include/QtGui/qtabwidget.h:62: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:55: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 {
      ^
../src/compat.h:57:5: note: candidate constructor not viable: no known conversion from 'QString' to 'const QLatin1String &' for 1st argument
    QStringCompatWrapper (const QLatin1String &str) : QString (str) {
    ^
In file included from ../src/sharewidget.cpp:22:
In file included from ../src/onmainwindow.h:23:
In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/QMainWindow:1:
In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qmainwindow.h:46:
/opt/local/libexec/qt4/include/QtGui/qtabwidget.h:62: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:55: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 {
      ^
../src/compat.h:57:5: note: candidate constructor not viable: no known conversion from 'QString' to 'const QLatin1String &' for 1st argument
    QStringCompatWrapper (const QLatin1String &str) : QString (str) {
    ^
In file included from ../src/sharewidget.cpp:22:
In file included from ../src/onmainwindow.h:23:
In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/QMainWindow:1:
In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qmainwindow.h:46:
/opt/local/libexec/qt4/include/QtGui/qtabwidget.h:62: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:55: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 {
      ^
../src/compat.h:57:5: note: candidate constructor not viable: no known conversion from 'QString' to 'const QLatin1String &' for 1st argument
    QStringCompatWrapper (const QLatin1String &str) : QString (str) {
    ^
In file included from ../src/sharewidget.cpp:22:
In file included from ../src/onmainwindow.h:23:
In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/QMainWindow:1:
In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qmainwindow.h:46:
/opt/local/libexec/qt4/include/QtGui/qtabwidget.h:62: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:55: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 {
      ^
../src/compat.h:57:5: note: candidate constructor not viable: no known conversion from 'QString' to 'const QLatin1String &' for 1st argument
    QStringCompatWrapper (const QLatin1String &str) : QString (str) {
    ^
In file included from ../src/sharewidget.cpp:22:
In file included from ../src/onmainwindow.h:23:
In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/QMainWindow:1:
/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qmainwindow.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:55: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 {
      ^
../src/compat.h:57:5: note: candidate constructor not viable: no known conversion from 'QString' to 'const QLatin1String &' for 1st argument
    QStringCompatWrapper (const QLatin1String &str) : QString (str) {
    ^
In file included from ../src/sharewidget.cpp:22:
In file included from ../src/onmainwindow.h:23:
In file included from /opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/QMainWindow:1:
/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qmainwindow.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:55: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 {
      ^
../src/compat.h:57:5: note: candidate constructor not viable: no known conversion from 'QString' to 'const QLatin1String &' for 1st argument
    QStringCompatWrapper (const QLatin1String &str) : QString (str) {
    ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [sharewidget.o] Error 1
make: *** Waiting for unfinished jobs....
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.gbCxgNcIoDDvTJXulYY4EOZt ']'
+ '[' -d /Users/jenkins/tmp//tmp.gbCxgNcIoDDvTJXulYY4EOZt ']'
+ rm -Rf -- /Users/jenkins/tmp//tmp.gbCxgNcIoDDvTJXulYY4EOZt
Build step 'Execute shell' marked build as failure


More information about the x2go-commits mailing list