See
<https://jenkins.x2go.org:8443/job/x2goclient+nightly+osx-10.13/266/display/redirect?page=changes>
Changes:
[ionic] src/compat.h: include QString properly.
------------------------------------------
[...truncated 183.99 KiB...]
QDataStream& operator<<(QDataStream& s, const QLinkedList<T>& l)
^
/opt/local/libexec/qt4/include/QtCore/qdatastream.h:312:14: note: candidate
template ignored: could not match 'QVector<type-parameter-0-0>' against
'QString'
QDataStream& operator<<(QDataStream& s, const QVector<T>& v)
^
/opt/local/libexec/qt4/include/QtCore/qdatastream.h:337:14: note: candidate
template ignored: could not match 'QSet<type-parameter-0-0>' against 'QString'
QDataStream& operator<<(QDataStream &out, const QSet<T> &set)
^
/opt/local/libexec/qt4/include/QtCore/qdatastream.h:376:35: note: candidate
template ignored: could not match 'QHash<type-parameter-0-0,
type-parameter-0-1>' against 'QString'
Q_OUTOFLINE_TEMPLATE QDataStream &operator<<(QDataStream &out, const QHash<Key,
T>& hash)
^
/opt/local/libexec/qt4/include/QtCore/qdatastream.h:422:35: note: candidate
template ignored: could not match 'QMap<type-parameter-0-0,
type-parameter-0-1>' against 'QString'
Q_OUTOFLINE_TEMPLATE QDataStream &operator<<(QDataStream &out, const QMap<Key,
T> &map)
^
/opt/local/libexec/qt4/include/QtCore/qpair.h:116:21: note: candidate template
ignored: could not match 'QPair<type-parameter-0-0, type-parameter-0-1>'
against 'QString'
inline QDataStream& operator<<(QDataStream& s, const QPair<T1, T2>& p)
^
In file included from ../src/settingswidget.cpp:19:
In file included from ../src/onmainwindow.h:39:
In file included from ../src/sshmasterconnection.h:27:
In file included from
/opt/local/libexec/qt4/Library/Frameworks/QtNetwork.framework/Versions/4/Headers/QTcpSocket:1:
In file included from
/opt/local/libexec/qt4/Library/Frameworks/QtNetwork.framework/Versions/4/Headers/qtcpsocket.h:45:
In file included from
/opt/local/libexec/qt4/include/QtNetwork/qabstractsocket.h:48:
/opt/local/libexec/qt4/include/QtCore/qdebug.h:113:62: error: no matching
member function for call to 'operator<<'
inline QDebug &operator<<(const QStringRef & t) { return
operator<<(t.toString()); }
^~~~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qdebug.h:95:20: note: candidate function
not viable: no known conversion from 'QString' to 'QChar' for 1st argument
inline QDebug &operator<<(QChar t) { stream->ts << '\'' << t << '\'';
return maybeSpace(); }
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:96:20: note: candidate function
not viable: no known conversion from 'QString' to 'QBool' for 1st argument
inline QDebug &operator<<(QBool t) { stream->ts << (bool(t != 0) ? "true" :
"false"); return maybeSpace(); }
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:97:20: note: candidate function
not viable: no known conversion from 'QString' to 'bool' for 1st argument
inline QDebug &operator<<(bool t) { stream->ts << (t ? "true" : "false");
return maybeSpace(); }
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:98:20: note: candidate function
not viable: no known conversion from 'QString' to 'char' for 1st argument
inline QDebug &operator<<(char t) { stream->ts << t; return maybeSpace(); }
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:99:20: note: candidate function
not viable: no known conversion from 'QString' to 'short' for 1st argument
inline QDebug &operator<<(signed short t) { stream->ts << t; return
maybeSpace(); }
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:100:20: note: candidate function
not viable: no known conversion from 'QString' to 'unsigned short' for 1st
argument
inline QDebug &operator<<(unsigned short t) { stream->ts << t; return
maybeSpace(); }
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:101:20: note: candidate function
not viable: no known conversion from 'QString' to 'int' for 1st argument
inline QDebug &operator<<(signed int t) { stream->ts << t; return
maybeSpace(); }
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:102:20: note: candidate function
not viable: no known conversion from 'QString' to 'unsigned int' for 1st
argument
inline QDebug &operator<<(unsigned int t) { stream->ts << t; return
maybeSpace(); }
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:103:20: note: candidate function
not viable: no known conversion from 'QString' to 'long' for 1st argument
inline QDebug &operator<<(signed long t) { stream->ts << t; return
maybeSpace(); }
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:104:20: note: candidate function
not viable: no known conversion from 'QString' to 'unsigned long' for 1st
argument
inline QDebug &operator<<(unsigned long t) { stream->ts << t; return
maybeSpace(); }
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:105:20: note: candidate function
not viable: no known conversion from 'QString' to 'qint64' (aka 'long long')
for 1st argument
inline QDebug &operator<<(qint64 t)
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:107:20: note: candidate function
not viable: no known conversion from 'QString' to 'quint64' (aka 'unsigned long
long') for 1st argument
inline QDebug &operator<<(quint64 t)
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:109:20: note: candidate function
not viable: no known conversion from 'QString' to 'float' for 1st argument
inline QDebug &operator<<(float t) { stream->ts << t; return maybeSpace(); }
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:110:20: note: candidate function
not viable: no known conversion from 'QString' to 'double' for 1st argument
inline QDebug &operator<<(double t) { stream->ts << t; return maybeSpace();
}
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:111:20: note: candidate function
not viable: no known conversion from 'QString' to 'const char *' for 1st
argument
inline QDebug &operator<<(const char* t) { stream->ts <<
QString::fromAscii(t); return maybeSpace(); }
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:112:20: note: candidate function
not viable: no known conversion from 'QString' to 'const QStringCompatWrapper'
for 1st argument
inline QDebug &operator<<(const QString & t) { stream->ts << '\"' << t <<
'\"'; return maybeSpace(); }
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:113:20: note: candidate function
not viable: no known conversion from 'QString' to 'const QStringRef' for 1st
argument
inline QDebug &operator<<(const QStringRef & t) { return
operator<<(t.toString()); }
^
~~~~~~~~~~~~
/opt/local/libexec/qt4/include/QtCore/qdebug.h:114:20: note: candidate function
not viable: no known conversion from 'QString' to 'const QLatin1String' for 1st
argument
inline QDebug &operator<<(const QLatin1String &t) { stream->ts << '\"' <<
t.latin1() << '\"'; return maybeSpace(); }
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:115:20: note: candidate function
not viable: no known conversion from 'QString' to 'const QByteArray' for 1st
argument
inline QDebug &operator<<(const QByteArray & t) { stream->ts << '\"' << t
<< '\"'; return maybeSpace(); }
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:116:20: note: candidate function
not viable: no known conversion from 'QString' to 'const void *' for 1st
argument
inline QDebug &operator<<(const void * t) { stream->ts << t; return
maybeSpace(); }
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:117:20: note: candidate function
not viable: no known conversion from 'QString' to 'QTextStreamFunction' (aka
'QTextStream &(*)(QTextStream &)') for 1st argument
inline QDebug &operator<<(QTextStreamFunction f) {
^
/opt/local/libexec/qt4/include/QtCore/qdebug.h:122:20: note: candidate function
not viable: no known conversion from 'QString' to 'QTextStreamManipulator' for
1st argument
inline QDebug &operator<<(QTextStreamManipulator m)
^
In file included from ../src/sharewidget.cpp:22:
../src/onmainwindow.h:329:75: error: reference to type 'const
QStringCompatWrapper' could not bind to an lvalue of type 'const char [1]'
QString images_resource_path (const QString &filename, const QString &base
= "") const;
^
~~
../src/onmainwindow.h:329:75: note: passing argument to parameter 'base' here
../src/sharewidget.cpp:64:41: error: reference to type 'const
QStringCompatWrapper' could not bind to an lvalue of type 'const char [21]'
QIcon ( mainWindow->iconsPath ( "/16x16/file-open.png" ) ),
^~~~~~~~~~~~~~~~~~~~~~
../src/onmainwindow.h:328:40: note: passing argument to parameter 'fname' here
QString iconsPath ( const QString &fname ) const;
^
../src/sharewidget.cpp:216:18: error: no matching constructor for
initialization of 'X2goSettings'
X2goSettings st ( "sessions" );
^ ~~~~~~~~~~
../src/x2gosettings.h:27:7: note: candidate constructor (the implicit copy
constructor) not viable: no known conversion from 'const char [9]' to 'const
X2goSettings' for 1st argument
class X2goSettings
^
../src/x2gosettings.h:30:5: note: candidate constructor not viable: no known
conversion from 'const char [9]' to 'QStringCompatWrapper' for 1st argument
X2goSettings ( QString group );
^
../src/x2gosettings.h:31:5: note: candidate constructor not viable: requires 2
arguments, but 1 was provided
X2goSettings ( QString fileContent, QSettings::Format format);
^
../src/sharewidget.cpp:278:13: error: no viable conversion from 'const char
[6]' to 'QStringCompatWrapper'
QString toCode="UTF-8";
^ ~~~~~~~
../src/compat.h:54:7: note: candidate constructor (the implicit copy
constructor) not viable: no known conversion from 'const char [6]' to 'const
QStringCompatWrapper &' for 1st argument
class QStringCompatWrapper : public QString {
^
../src/sharewidget.cpp:283:13: error: no viable conversion from 'const char
[6]' to 'QStringCompatWrapper'
QString fromCode="UTF-8";
^ ~~~~~~~
../src/compat.h:54:7: note: candidate constructor (the implicit copy
constructor) not viable: no known conversion from 'const char [6]' to 'const
QStringCompatWrapper &' for 1st argument
class QStringCompatWrapper : public QString {
^
../src/sharewidget.cpp:303:18: error: no matching constructor for
initialization of 'X2goSettings'
X2goSettings st ( "sessions" );
^ ~~~~~~~~~~
../src/x2gosettings.h:27:7: note: candidate constructor (the implicit copy
constructor) not viable: no known conversion from 'const char [9]' to 'const
X2goSettings' for 1st argument
class X2goSettings
^
../src/x2gosettings.h:30:5: note: candidate constructor not viable: no known
conversion from 'const char [9]' to 'QStringCompatWrapper' for 1st argument
X2goSettings ( QString group );
^
../src/x2gosettings.h:31:5: note: candidate constructor not viable: requires 2
arguments, but 1 was provided
X2goSettings ( QString fileContent, QSettings::Format format);
^
../src/sharewidget.cpp:333:11: error: no matching constructor for
initialization of 'QFile'
QFile file ( ":/txt/encodings" );
^ ~~~~~~~~~~~~~~~~~
/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/qfile.h:110:5:
note: candidate constructor not viable: no known conversion from 'const char
[16]' to 'const QStringCompatWrapper' for 1st argument
QFile(const QString &name);
^
/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/qfile.h:112:14:
note: candidate constructor not viable: no known conversion from 'const char
[16]' to 'QObject *' for 1st argument
explicit QFile(QObject *parent);
^
/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/qfile.h:201:5:
note: candidate constructor not viable: no known conversion from 'const char
[16]' to 'QFilePrivate &' for 1st argument
QFile(QFilePrivate &dd, QObject *parent = 0);
^
/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/qfile.h:209:20:
note: candidate constructor not viable: no known conversion from 'const char
[16]' to 'const QFile' for 1st argument
Q_DISABLE_COPY(QFile)
^
/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/qglobal.h:2639:5:
note: expanded from macro 'Q_DISABLE_COPY'
Class(const Class &); \
^
/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/qfile.h:109:5:
note: candidate constructor not viable: requires 0 arguments, but 1 was
provided
QFile();
^
/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/qfile.h:113:5:
note: candidate constructor not viable: requires 2 arguments, but 1 was
provided
QFile(const QString &name, QObject *parent);
^
../src/sharewidget.cpp:341:13: error: no viable overloaded '='
line=line.replace ( "//","" );
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
../src/compat.h:54:7: note: candidate function (the implicit copy assignment
operator) not viable: no known conversion from 'QString' to 'const
QStringCompatWrapper' for 1st argument
class QStringCompatWrapper : public QString {
^
In file included from ../src/settingswidget.cpp:19:
../src/onmainwindow.h:329:75: error: reference to type 'const
QStringCompatWrapper' could not bind to an lvalue of type 'const char [1]'
QString images_resource_path (const QString &filename, const QString &base
= "") const;
^
~~
../src/onmainwindow.h:329:75: note: passing argument to parameter 'base' here
../src/settingswidget.cpp:332:24: error: no matching constructor for
initialization of 'QLabel'
QLabel* fr=new QLabel(QString::number(i+1), mw);
^ ~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qlabel.h:73:14:
note: candidate constructor not viable: no known conversion from 'QString' to
'const QStringCompatWrapper' for 1st argument
explicit QLabel(const QString &text, QWidget *parent=0, Qt::WindowFlags
f=0);
^
/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qlabel.h:72:14:
note: candidate constructor not viable: no known conversion from 'QString' to
'QWidget *' for 1st argument
explicit QLabel(QWidget *parent=0, Qt::WindowFlags f=0);
^
/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qlabel.h:165:20:
note: candidate constructor not viable: requires 1 argument, but 2 were
provided
Q_DISABLE_COPY(QLabel)
^
19 errors generated.
make: *** [sharewidget.o] Error 1
make: *** Waiting for unfinished jobs....
../src/settingswidget.cpp:367:18: error: no matching constructor for
initialization of 'X2goSettings'
X2goSettings st ( "sessions" );
^ ~~~~~~~~~~
../src/x2gosettings.h:27:7: note: candidate constructor (the implicit copy
constructor) not viable: no known conversion from 'const char [9]' to 'const
X2goSettings' for 1st argument
class X2goSettings
^
../src/x2gosettings.h:30:5: note: candidate constructor not viable: no known
conversion from 'const char [9]' to 'QStringCompatWrapper' for 1st argument
X2goSettings ( QString group );
^
../src/x2gosettings.h:31:5: note: candidate constructor not viable: requires 2
arguments, but 1 was provided
X2goSettings ( QString fileContent, QSettings::Format format);
^
../src/settingswidget.cpp:521:24: error: reference to type 'const
QStringCompatWrapper' could not bind to an lvalue of type 'const char [6]'
leModel->setText ( "pc105" );
^~~~~~~
/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qlineedit.h:176:33:
note: passing argument to parameter here
void setText(const QString &);
^
../src/settingswidget.cpp:522:24: error: reference to type 'const
QStringCompatWrapper' could not bind to an lvalue of type 'const char [1]'
leVariant->setText("");
^~
/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers/qlineedit.h:176:33:
note: passing argument to parameter here
void setText(const QString &);
^
../src/settingswidget.cpp:531:18: error: no matching constructor for
initialization of 'X2goSettings'
X2goSettings st ( "sessions" );
^ ~~~~~~~~~~
../src/x2gosettings.h:27:7: note: candidate constructor (the implicit copy
constructor) not viable: no known conversion from 'const char [9]' to 'const
X2goSettings' for 1st argument
class X2goSettings
^
../src/x2gosettings.h:30:5: note: candidate constructor not viable: no known
conversion from 'const char [9]' to 'QStringCompatWrapper' for 1st argument
X2goSettings ( QString group );
^
../src/x2gosettings.h:31:5: note: candidate constructor not viable: requires 2
arguments, but 1 was provided
X2goSettings ( QString fileContent, QSettings::Format format);
^
../src/settingswidget.cpp:619:17: error: no viable overloaded '='
clipMode="both";
~~~~~~~~^~~~~~~
../src/compat.h:54:7: note: candidate function (the implicit copy assignment
operator) not viable: no known conversion from 'const char [5]' to 'const
QStringCompatWrapper' for 1st argument
class QStringCompatWrapper : public QString {
^
../src/settingswidget.cpp:621:17: error: no viable overloaded '='
clipMode="client";
~~~~~~~~^~~~~~~~~
../src/compat.h:54:7: note: candidate function (the implicit copy assignment
operator) not viable: no known conversion from 'const char [7]' to '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.aJyLHsxUOf1Ko74pFmucn9fE ']'
+ '[' -d /Users/jenkins/tmp//tmp.aJyLHsxUOf1Ko74pFmucn9fE ']'
+ rm -Rf -- /Users/jenkins/tmp//tmp.aJyLHsxUOf1Ko74pFmucn9fE
Build step 'Execute shell' marked build as failure
_______________________________________________
x2go-commits mailing list
[email protected]
https://lists.x2go.org/listinfo/x2go-commits