fix compile: calling a private constructor of class 'QString'
Fix build with Qt 5.13 and LLVM10 on OpenBSD
/usr/ports/pobj/konsole-20.08.0/bin/c++ -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x060000 -DKGUIADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_D
BUS_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT
_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_ST
RICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"konsole\" -D_LARGEFILE64_SOURCE -Dkonsoleprivate_EXPORTS -Isrc -
I/usr/ports/pobj/konsole-20.08.0/konsole-20.08.0/src -Isrc/konsoleprivate_autogen/include -I/usr/ports/pobj/konsole-20.08.0/konsole-20.08.0 -I. -isystem /us
r/local/include/KF5/KXmlGui -isystem /usr/local/include/KF5 -isystem /usr/local/include/X11/qt5 -isystem /usr/local/include/X11/qt5/QtXml -isystem /usr/loca
l/include/X11/qt5/QtCore -isystem /usr/local/lib/qt5/./mkspecs/openbsd-clang -isystem /usr/local/include/X11/qt5/QtWidgets -isystem /usr/local/include/X11/q
t5/QtGui -isystem /usr/X11R6/include -isystem /usr/local/include/KF5/KConfigCore -isystem /usr/local/include/KF5/KConfigWidgets -isystem /usr/local/include/
KF5/KCodecs -isystem /usr/local/include/KF5/KWidgetsAddons -isystem /usr/local/include/KF5/KConfigGui -isystem /usr/local/include/KF5/KAuth -isystem /usr/lo
cal/include/KF5/KCoreAddons -isystem /usr/local/include/X11/qt5/QtDBus -isystem /usr/local/include/X11/qt5/QtPrintSupport -isystem /usr/local/include/KF5/KN
otifications -isystem /usr/local/include/KF5/KWindowSystem -isystem /usr/local/include/KF5/KTextWidgets -isystem /usr/local/include/KF5/SonnetUi -isystem /u
sr/local/include/KF5/KI18n -isystem /usr/local/include/KF5/KGuiAddons -isystem /usr/local/include/KF5/KIconThemes -isystem /usr/local/include/KF5/KBookmarks
-isystem /usr/local/include/KF5/KPty -isystem /usr/local/include/KF5/KIOWidgets -isystem /usr/local/include/KF5/KIOGui -isystem /usr/local/include/KF5/KIOC
ore -isystem /usr/local/include/KF5/KService -isystem /usr/local/include/X11/qt5/QtNetwork -isystem /usr/local/include/X11/qt5/QtConcurrent -isystem /usr/lo
cal/include/KF5/KJobWidgets -isystem /usr/local/include/KF5/KCompletion -isystem /usr/local/include/KF5/KDBusAddons -isystem /usr/local/include/KF5/KGlobalA
ccel -isystem /usr/local/include/KF5/KNewStuff3 -isystem /usr/local/include/KF5/KNewStuff3/KNS3 -isystem /usr/local/include/KF5/KNewStuff3/knscore -isystem
/usr/local/include/KF5/KNewStuff3/kns3 -isystem /usr/local/include/KF5/KNewStuff3/KNSCore -isystem /usr/local/include/KF5/Attica -O2 -pipe -fno-operator-nam
es -fno-exceptions -Wno-gnu-zero-variadic-macro-arguments -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wun
def -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -fdiagnostics-color=always -fno-operator-names -fno-exceptions -Wno-gnu-ze
ro-variadic-macro-arguments -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverl
oaded-virtual -Werror=return-type -Wvla -Wdate-time -fdiagnostics-color=always -pedantic -Wzero-as-null-pointer-constant -DNDEBUG -fPIC -fvisibility=hidden
-fvisibility-inlines-hidden -fPIC -std=c++11 -MD -MT src/CMakeFiles/konsoleprivate.dir/ProcessInfo.cpp.o -MF src/CMakeFiles/konsoleprivate.dir/ProcessInfo
.cpp.o.d -o src/CMakeFiles/konsoleprivate.dir/ProcessInfo.cpp.o -c /usr/ports/pobj/konsole-20.08.0/konsole-20.08.0/src/ProcessInfo.cpp
/usr/ports/pobj/konsole-20.08.0/konsole-20.08.0/src/ProcessInfo.cpp:790:17: error: calling a private constructor of class 'QString'
setName(kInfoProc->p_comm);
^
/usr/local/include/X11/qt5/QtCore/qstring.h:835:5: note: declared private here
QString(const char *ch);
^
/usr/ports/pobj/konsole-20.08.0/konsole-20.08.0/src/ProcessInfo.cpp:795:21: error: calling a private constructor of class 'QString'
setUserName(kInfoProc->p_login);
^
/usr/local/include/X11/qt5/QtCore/qstring.h:835:5: note: declared private here
QString(const char *ch);
^
/usr/ports/pobj/konsole-20.08.0/konsole-20.08.0/src/ProcessInfo.cpp:844:25: error: calling a private constructor of class 'QString'
addArgument(QString(*p));
^
/usr/local/include/X11/qt5/QtCore/qstring.h:835:5: note: declared private here
QString(const char *ch);