maliit / framework

Core libraries of Maliit and server.
Other
52 stars 49 forks source link

tests/ut_mimserveroptions/ut_mimserveroptions.cpp: FTBFS ,error: no match for ‘operator==’ (operand types are ‘const MImServerCommonOptions’ and ‘const MImServerCommonOptions’) #112

Closed sunweaver closed 2 years ago

sunweaver commented 2 years ago
[ 85%] Building CXX object CMakeFiles/ut_mimserveroptions.dir/ut_mimserveroptions_autogen/mocs_compilation.cpp.o
/usr/bin/c++ -DHAVE_WAYLAND -DHAVE_XCB -DIN_TREE_TEST_PLUGIN_DIR=\"/<<PKGBUILDDIR>>/examples/plugins\" -DMALIIT_CONFIG_ROOT=\"/maliit/\" -DMALIIT_DEFAULT_HW_PLUGIN=\"libmaliit-keyboard-plugin.so\" -DMALIIT_DEFAULT_PLUGIN=\"libmaliit-keyboard-plugin.so\" -DMALIIT_DEFAULT_SUBVIEW=\"\" -DMALIIT_ENABLE_MULTITOUCH=true -DMALIIT_EXTENSIONS_DIR=\"/usr/share/maliit-framework/extensions\" -DMALIIT_FRAMEWORK_USE_INTERNAL_API -DMALIIT_PLUGINS_DATA_DIR=\"/usr/share/maliit/plugins\" -DMALIIT_PLUGINS_DIR=\"/usr/lib/x86_64-linux-gnu/maliit/plugins\" -DMALIIT_TEST_DATA_PATH=\"/usr/lib/x86_64-linux-gnu/maliit-framework-tests\" -DMALIIT_TEST_PLUGINS_DIR=\"/usr/lib/x86_64-linux-gnu/maliit-framework-tests/plugins\" -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_TESTCASE_BUILDDIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DQT_TESTLIB_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ut_mimserveroptions_autogen/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/common -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.4 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.4/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.4 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.4/QtCore -I/<<PKGBUILDDIR>>/tests/utils -I/<<PKGBUILDDIR>>/connection -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtTest -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT CMakeFiles/ut_mimserveroptions.dir/ut_mimserveroptions_autogen/mocs_compilation.cpp.o -MF CMakeFiles/ut_mimserveroptions.dir/ut_mimserveroptions_autogen/mocs_compilation.cpp.o.d -o CMakeFiles/ut_mimserveroptions.dir/ut_mimserveroptions_autogen/mocs_compilation.cpp.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ut_mimserveroptions_autogen/mocs_compilation.cpp
[ 86%] Building CXX object CMakeFiles/ut_mimserveroptions.dir/tests/ut_mimserveroptions/ut_mimserveroptions.cpp.o
/usr/bin/c++ -DHAVE_WAYLAND -DHAVE_XCB -DIN_TREE_TEST_PLUGIN_DIR=\"/<<PKGBUILDDIR>>/examples/plugins\" -DMALIIT_CONFIG_ROOT=\"/maliit/\" -DMALIIT_DEFAULT_HW_PLUGIN=\"libmaliit-keyboard-plugin.so\" -DMALIIT_DEFAULT_PLUGIN=\"libmaliit-keyboard-plugin.so\" -DMALIIT_DEFAULT_SUBVIEW=\"\" -DMALIIT_ENABLE_MULTITOUCH=true -DMALIIT_EXTENSIONS_DIR=\"/usr/share/maliit-framework/extensions\" -DMALIIT_FRAMEWORK_USE_INTERNAL_API -DMALIIT_PLUGINS_DATA_DIR=\"/usr/share/maliit/plugins\" -DMALIIT_PLUGINS_DIR=\"/usr/lib/x86_64-linux-gnu/maliit/plugins\" -DMALIIT_TEST_DATA_PATH=\"/usr/lib/x86_64-linux-gnu/maliit-framework-tests\" -DMALIIT_TEST_PLUGINS_DIR=\"/usr/lib/x86_64-linux-gnu/maliit-framework-tests/plugins\" -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_TESTCASE_BUILDDIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DQT_TESTLIB_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ut_mimserveroptions_autogen/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/common -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.4 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.4/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.4 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.4/QtCore -I/<<PKGBUILDDIR>>/tests/utils -I/<<PKGBUILDDIR>>/connection -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtTest -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT CMakeFiles/ut_mimserveroptions.dir/tests/ut_mimserveroptions/ut_mimserveroptions.cpp.o -MF CMakeFiles/ut_mimserveroptions.dir/tests/ut_mimserveroptions/ut_mimserveroptions.cpp.o.d -o CMakeFiles/ut_mimserveroptions.dir/tests/ut_mimserveroptions/ut_mimserveroptions.cpp.o -c /<<PKGBUILDDIR>>/tests/ut_mimserveroptions/ut_mimserveroptions.cpp
In file included from /usr/include/x86_64-linux-gnu/qt5/QtTest/qtest.h:45,
                 from /usr/include/x86_64-linux-gnu/qt5/QtTest/QtTest:11,
                 from /<<PKGBUILDDIR>>/tests/ut_mimserveroptions/ut_mimserveroptions.h:19,
                 from /<<PKGBUILDDIR>>/tests/ut_mimserveroptions/ut_mimserveroptions.cpp:14:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h: In instantiation of ‘bool QTest::qCompare(const T&, const T&, const char*, const char*, const char*, int) [with T = MImServerCommonOptions]’:
/<<PKGBUILDDIR>>/tests/ut_mimserveroptions/ut_mimserveroptions.cpp:107:5:   required from here
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: error: no match for ‘operator==’ (operand types are ‘const MImServerCommonOptions’ and ‘const MImServerCommonOptions’)
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:45,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:49,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6,
                 from /usr/include/x86_64-linux-gnu/qt5/QtTest/QtTestDepends:3,
                 from /usr/include/x86_64-linux-gnu/qt5/QtTest/QtTest:3:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpair.h:113:41: note: candidate: ‘template<class T1, class T2> constexpr bool operator==(const QPair<T1, T2>&, const QPair<T1, T2>&)’
  113 | Q_DECL_CONSTEXPR Q_INLINE_TEMPLATE bool operator==(const QPair<T1, T2> &p1, const QPair<T1, T2> &p2)
      |                                         ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpair.h:113:41: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QPair<T1, T2>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:53:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:184:13: note: candidate: ‘template<class T, class Cleanup> bool operator==(const QScopedPointer<T, Cleanup>&, const QScopedPointer<T, Cleanup>&)’
  184 | inline bool operator==(const QScopedPointer<T, Cleanup> &lhs, const QScopedPointer<T, Cleanup> &rhs) noexcept
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:184:13: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QScopedPointer<T, Cleanup>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:196:13: note: candidate: ‘template<class T, class Cleanup> bool operator==(const QScopedPointer<T, Cleanup>&, std::nullptr_t)’
  196 | inline bool operator==(const QScopedPointer<T, Cleanup> &lhs, std::nullptr_t) noexcept
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:196:13: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QScopedPointer<T, Cleanup>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:202:13: note: candidate: ‘template<class T, class Cleanup> bool operator==(std::nullptr_t, const QScopedPointer<T, Cleanup>&)’
  202 | inline bool operator==(std::nullptr_t, const QScopedPointer<T, Cleanup> &rhs) noexcept
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:202:13: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QScopedPointer<T, Cleanup>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:557:6: note: candidate: ‘template<class T, int Prealloc1, int Prealloc2> bool operator==(const QVarLengthArray<T, Prealloc1>&, const QVarLengthArray<T, Prealloc2>&)’
  557 | bool operator==(const QVarLengthArray<T, Prealloc1> &l, const QVarLengthArray<T, Prealloc2> &r)
      |      ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvarlengtharray.h:557:6: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QVarLengthArray<T, Prealloc1>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:28:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydatapointer.h:193:13: note: candidate: ‘template<class T> bool operator==(const QArrayDataPointer<T>&, const QArrayDataPointer<T>&)’
  193 | inline bool operator==(const QArrayDataPointer<T> &lhs, const QArrayDataPointer<T> &rhs)
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydatapointer.h:193:13: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QArrayDataPointer<T>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlocale.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcalendar.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:37:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:141:32: note: candidate: ‘template<class T> bool operator==(std::nullptr_t, const QSharedDataPointer<T>&)’
  141 | template <class T> inline bool operator==(std::nullptr_t p1, const QSharedDataPointer<T> &p2)
      |                                ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:141:32: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QSharedDataPointer<T>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:147:32: note: candidate: ‘template<class T> bool operator==(const QSharedDataPointer<T>&, std::nullptr_t)’
  147 | template <class T> inline bool operator==(const QSharedDataPointer<T> &p1, std::nullptr_t p2)
      |                                ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:147:32: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QSharedDataPointer<T>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:287:32: note: candidate: ‘template<class T> bool operator==(std::nullptr_t, const QExplicitlySharedDataPointer<T>&)’
  287 | template <class T> inline bool operator==(std::nullptr_t p1, const QExplicitlySharedDataPointer<T> &p2)
      |                                ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:287:32: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QExplicitlySharedDataPointer<T>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:293:32: note: candidate: ‘template<class T> bool operator==(const QExplicitlySharedDataPointer<T>&, std::nullptr_t)’
  293 | template <class T> inline bool operator==(const QExplicitlySharedDataPointer<T> &p1, std::nullptr_t p2)
      |                                ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:293:32: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QExplicitlySharedDataPointer<T>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:54,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborcommon.h:45,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborvalue.h:45,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborarray.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:38:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:747:6: note: candidate: ‘template<class T, class X> bool operator==(const QSharedPointer<T>&, const QSharedPointer<T>&)’
  747 | bool operator==(const QSharedPointer<T> &ptr1, const QSharedPointer<X> &ptr2) noexcept
      |      ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:747:6: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QSharedPointer<T>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:758:6: note: candidate: ‘template<class T, class X> bool operator==(const QSharedPointer<T>&, const X*)’
  758 | bool operator==(const QSharedPointer<T> &ptr1, const X *ptr2) noexcept
      |      ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:758:6: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QSharedPointer<T>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:763:6: note: candidate: ‘template<class T, class X> bool operator==(const T*, const QSharedPointer<T>&)’
  763 | bool operator==(const T *ptr1, const QSharedPointer<X> &ptr2) noexcept
      |      ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:763:6: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   mismatched types ‘const T*’ and ‘MImServerCommonOptions’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:779:6: note: candidate: ‘template<class T, class X> bool operator==(const QSharedPointer<T>&, const QWeakPointer<X>&)’
  779 | bool operator==(const QSharedPointer<T> &ptr1, const QWeakPointer<X> &ptr2) noexcept
      |      ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:779:6: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QSharedPointer<T>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:790:13: note: candidate: ‘template<class T> bool operator==(const QSharedPointer<T>&, std::nullptr_t)’
  790 | inline bool operator==(const QSharedPointer<T> &lhs, std::nullptr_t) noexcept
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:790:13: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QSharedPointer<T>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:802:13: note: candidate: ‘template<class T> bool operator==(std::nullptr_t, const QSharedPointer<T>&)’
  802 | inline bool operator==(std::nullptr_t, const QSharedPointer<T> &rhs) noexcept
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:802:13: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QSharedPointer<T>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:814:13: note: candidate: ‘template<class T> bool operator==(const QWeakPointer<T>&, std::nullptr_t)’
  814 | inline bool operator==(const QWeakPointer<T> &lhs, std::nullptr_t) noexcept
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:814:13: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QWeakPointer<T>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:826:13: note: candidate: ‘template<class T> bool operator==(std::nullptr_t, const QWeakPointer<T>&)’
  826 | inline bool operator==(std::nullptr_t, const QWeakPointer<T> &rhs) noexcept
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:826:13: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QWeakPointer<T>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qplugin.h:45,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:165:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:94:13: note: candidate: ‘template<class T> bool operator==(const T*, const QPointer<T>&)’
   94 | inline bool operator==(const T *o, const QPointer<T> &p)
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:94:13: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   mismatched types ‘const T*’ and ‘MImServerCommonOptions’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:98:13: note: candidate: ‘template<class T> bool operator==(const QPointer<T>&, const T*)’
   98 | inline bool operator==(const QPointer<T> &p, const T *o)
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:98:13: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QPointer<T>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:102:13: note: candidate: ‘template<class T> bool operator==(T*, const QPointer<T>&)’
  102 | inline bool operator==(T *o, const QPointer<T> &p)
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:102:13: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   mismatched types ‘T*’ and ‘MImServerCommonOptions’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:106:13: note: candidate: ‘template<class T> bool operator==(const QPointer<T>&, T*)’
  106 | inline bool operator==(const QPointer<T> &p, T *o)
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:106:13: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QPointer<T>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:110:13: note: candidate: ‘template<class T> bool operator==(const QPointer<T>&, const QPointer<T>&)’
  110 | inline bool operator==(const QPointer<T> &p1, const QPointer<T> &p2)
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:110:13: note:   template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtTest/qtestcase.h:352:34: note:   ‘const MImServerCommonOptions’ is not derived from ‘const QPointer<T>’
  352 |         return compare_helper(t1 == t2, "Compared values are not the same",
      |                               ~~~^~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:49,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QString:1,
                 from /<<PKGBUILDDIR>>/src/mimserveroptions.h:18,
                 from /<<PKGBUILDDIR>>/tests/ut_mimserveroptions/ut_mimserveroptions.h:17:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:61:30: note: candidate: ‘constexpr bool operator==(char, QLatin1Char)’
   61 | Q_DECL_CONSTEXPR inline bool operator==(char lhs, QLatin1Char rhs) noexcept { return lhs == rhs.toLatin1(); }
      |                              ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:61:46: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘char’
   61 | Q_DECL_CONSTEXPR inline bool operator==(char lhs, QLatin1Char rhs) noexcept { return lhs == rhs.toLatin1(); }
      |                                         ~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:68:30: note: candidate: ‘constexpr bool operator==(QLatin1Char, char)’
   68 | Q_DECL_CONSTEXPR inline bool operator==(QLatin1Char lhs, char rhs) noexcept { return lhs.toLatin1() == rhs; }
      |                              ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:68:53: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QLatin1Char’
   68 | Q_DECL_CONSTEXPR inline bool operator==(QLatin1Char lhs, char rhs) noexcept { return lhs.toLatin1() == rhs; }
      |                                         ~~~~~~~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:637:30: note: candidate: ‘constexpr bool operator==(QChar, QChar)’
  637 | Q_DECL_CONSTEXPR inline bool operator==(QChar c1, QChar c2) noexcept { return c1.ucs == c2.ucs; }
      |                              ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:637:47: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QChar’
  637 | Q_DECL_CONSTEXPR inline bool operator==(QChar c1, QChar c2) noexcept { return c1.ucs == c2.ucs; }
      |                                         ~~~~~~^~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:646:30: note: candidate: ‘constexpr bool operator==(QChar, std::nullptr_t)’
  646 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) noexcept { return lhs.isNull(); }
      |                              ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:646:47: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QChar’
  646 | Q_DECL_CONSTEXPR inline bool operator==(QChar lhs, std::nullptr_t) noexcept { return lhs.isNull(); }
      |                                         ~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:648:30: note: candidate: ‘constexpr bool operator==(std::nullptr_t, QChar)’
  648 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) noexcept { return rhs.isNull(); }
      |                              ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:648:41: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘std::nullptr_t’
  648 | Q_DECL_CONSTEXPR inline bool operator==(std::nullptr_t, QChar rhs) noexcept { return rhs.isNull(); }
      |                                         ^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:50:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:684:13: note: candidate: ‘bool operator==(const QByteArray&, const QByteArray&)’
  684 | inline bool operator==(const QByteArray &a1, const QByteArray &a2) noexcept
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:684:42: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QByteArray&’
  684 | inline bool operator==(const QByteArray &a1, const QByteArray &a2) noexcept
      |                        ~~~~~~~~~~~~~~~~~~^~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:686:13: note: candidate: ‘bool operator==(const QByteArray&, const char*)’
  686 | inline bool operator==(const QByteArray &a1, const char *a2) noexcept
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:686:42: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QByteArray&’
  686 | inline bool operator==(const QByteArray &a1, const char *a2) noexcept
      |                        ~~~~~~~~~~~~~~~~~~^~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:688:13: note: candidate: ‘bool operator==(const char*, const QByteArray&)’
  688 | inline bool operator==(const char *a1, const QByteArray &a2) noexcept
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:688:36: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const char*’
  688 | inline bool operator==(const char *a1, const QByteArray &a2) noexcept
      |                        ~~~~~~~~~~~~^~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:800:13: note: candidate: ‘bool operator==(const QByteArray::FromBase64Result&, const QByteArray::FromBase64Result&)’
  800 | inline bool operator==(const QByteArray::FromBase64Result &lhs, const QByteArray::FromBase64Result &rhs) noexcept
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:800:60: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QByteArray::FromBase64Result&’
  800 | inline bool operator==(const QByteArray::FromBase64Result &lhs, const QByteArray::FromBase64Result &rhs) noexcept
      |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1374:13: note: candidate: ‘bool operator==(QString::Null, QString::Null)’
 1374 | inline bool operator==(QString::Null, QString::Null) { return true; }
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1374:24: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QString::Null’
 1374 | inline bool operator==(QString::Null, QString::Null) { return true; }
      |                        ^~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1376:13: note: candidate: ‘bool operator==(QString::Null, const QString&)’
 1376 | inline bool operator==(QString::Null, const QString &s) { return s.isNull(); }
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1376:24: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QString::Null’
 1376 | inline bool operator==(QString::Null, const QString &s) { return s.isNull(); }
      |                        ^~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1378:13: note: candidate: ‘bool operator==(const QString&, QString::Null)’
 1378 | inline bool operator==(const QString &s, QString::Null) { return s.isNull(); }
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1378:39: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QString&’
 1378 | inline bool operator==(const QString &s, QString::Null) { return s.isNull(); }
      |                        ~~~~~~~~~~~~~~~^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1386:13: note: candidate: ‘bool operator==(QLatin1String, QLatin1String)’
 1386 | inline bool operator==(QLatin1String s1, QLatin1String s2) noexcept
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1386:38: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QLatin1String’
 1386 | inline bool operator==(QLatin1String s1, QLatin1String s2) noexcept
      |                        ~~~~~~~~~~~~~~^~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1430:32: note: candidate: ‘bool operator==(const char*, const QString&)’
 1430 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QString &s2)
      |                                ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1430:55: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const char*’
 1430 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QString &s2)
      |                                           ~~~~~~~~~~~~^~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1443:32: note: candidate: ‘bool operator==(const char*, QLatin1String)’
 1443 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, QLatin1String s2)
      |                                ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1443:55: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const char*’
 1443 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, QLatin1String s2)
      |                                           ~~~~~~~~~~~~^~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1821:20: note: candidate: ‘bool operator==(const QStringRef&, const QStringRef&)’
 1821 | Q_CORE_EXPORT bool operator==(const QStringRef &s1, const QStringRef &s2) noexcept;
      |                    ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1821:49: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QStringRef&’
 1821 | Q_CORE_EXPORT bool operator==(const QStringRef &s1, const QStringRef &s2) noexcept;
      |                               ~~~~~~~~~~~~~~~~~~^~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1833:20: note: candidate: ‘bool operator==(const QString&, const QStringRef&)’
 1833 | Q_CORE_EXPORT bool operator==(const QString &lhs, const QStringRef &rhs) noexcept;
      |                    ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1833:46: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QString&’
 1833 | Q_CORE_EXPORT bool operator==(const QString &lhs, const QStringRef &rhs) noexcept;
      |                               ~~~~~~~~~~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1840:13: note: candidate: ‘bool operator==(const QStringRef&, const QString&)’
 1840 | inline bool operator==(const QStringRef &lhs, const QString &rhs) noexcept { return rhs == lhs; }
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1840:42: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QStringRef&’
 1840 | inline bool operator==(const QStringRef &lhs, const QString &rhs) noexcept { return rhs == lhs; }
      |                        ~~~~~~~~~~~~~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1869:20: note: candidate: ‘bool operator==(QLatin1String, const QStringRef&)’
 1869 | Q_CORE_EXPORT bool operator==(QLatin1String lhs, const QStringRef &rhs) noexcept;
      |                    ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1869:45: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QLatin1String’
 1869 | Q_CORE_EXPORT bool operator==(QLatin1String lhs, const QStringRef &rhs) noexcept;
      |                               ~~~~~~~~~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1876:13: note: candidate: ‘bool operator==(const QStringRef&, QLatin1String)’
 1876 | inline bool operator==(const QStringRef &lhs, QLatin1String rhs) noexcept { return rhs == lhs; }
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1876:42: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QStringRef&’
 1876 | inline bool operator==(const QStringRef &lhs, QLatin1String rhs) noexcept { return rhs == lhs; }
      |                        ~~~~~~~~~~~~~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1884:13: note: candidate: ‘bool operator==(QChar, const QString&)’
 1884 | inline bool operator==(QChar lhs, const QString &rhs) noexcept
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1884:30: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QChar’
 1884 | inline bool operator==(QChar lhs, const QString &rhs) noexcept
      |                        ~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1895:13: note: candidate: ‘bool operator==(const QString&, QChar)’
 1895 | inline bool operator==(const QString &lhs, QChar rhs) noexcept { return   rhs == lhs; }
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1895:39: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QString&’
 1895 | inline bool operator==(const QString &lhs, QChar rhs) noexcept { return   rhs == lhs; }
      |                        ~~~~~~~~~~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1903:13: note: candidate: ‘bool operator==(QChar, const QStringRef&)’
 1903 | inline bool operator==(QChar lhs, const QStringRef &rhs) noexcept
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1903:30: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QChar’
 1903 | inline bool operator==(QChar lhs, const QStringRef &rhs) noexcept
      |                        ~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1914:13: note: candidate: ‘bool operator==(const QStringRef&, QChar)’
 1914 | inline bool operator==(const QStringRef &lhs, QChar rhs) noexcept { return   rhs == lhs; }
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1914:42: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QStringRef&’
 1914 | inline bool operator==(const QStringRef &lhs, QChar rhs) noexcept { return   rhs == lhs; }
      |                        ~~~~~~~~~~~~~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1922:13: note: candidate: ‘bool operator==(QChar, QLatin1String)’
 1922 | inline bool operator==(QChar lhs, QLatin1String rhs) noexcept
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1922:30: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QChar’
 1922 | inline bool operator==(QChar lhs, QLatin1String rhs) noexcept
      |                        ~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1933:13: note: candidate: ‘bool operator==(QLatin1String, QChar)’
 1933 | inline bool operator==(QLatin1String lhs, QChar rhs) noexcept { return   rhs == lhs; }
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1933:38: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QLatin1String’
 1933 | inline bool operator==(QLatin1String lhs, QChar rhs) noexcept { return   rhs == lhs; }
      |                        ~~~~~~~~~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1941:13: note: candidate: ‘bool operator==(QStringView, QStringView)’
 1941 | inline bool operator==(QStringView lhs, QStringView rhs) noexcept { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; }
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1941:36: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QStringView’
 1941 | inline bool operator==(QStringView lhs, QStringView rhs) noexcept { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; }
      |                        ~~~~~~~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1949:13: note: candidate: ‘bool operator==(QStringView, QChar)’
 1949 | inline bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1949:36: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QStringView’
 1949 | inline bool operator==(QStringView lhs, QChar rhs) noexcept { return lhs == QStringView(&rhs, 1); }
      |                        ~~~~~~~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1956:13: note: candidate: ‘bool operator==(QChar, QStringView)’
 1956 | inline bool operator==(QChar lhs, QStringView rhs) noexcept { return QStringView(&lhs, 1) == rhs; }
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1956:30: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QChar’
 1956 | inline bool operator==(QChar lhs, QStringView rhs) noexcept { return QStringView(&lhs, 1) == rhs; }
      |                        ~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1964:13: note: candidate: ‘bool operator==(QStringView, QLatin1String)’
 1964 | inline bool operator==(QStringView lhs, QLatin1String rhs) noexcept { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; }
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1964:36: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QStringView’
 1964 | inline bool operator==(QStringView lhs, QLatin1String rhs) noexcept { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; }
      |                        ~~~~~~~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1971:13: note: candidate: ‘bool operator==(QLatin1String, QStringView)’
 1971 | inline bool operator==(QLatin1String lhs, QStringView rhs) noexcept { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; }
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1971:38: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QLatin1String’
 1971 | inline bool operator==(QLatin1String lhs, QStringView rhs) noexcept { return lhs.size() == rhs.size() && QtPrivate::compareStrings(lhs, rhs) == 0; }
      |                        ~~~~~~~~~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1980:32: note: candidate: ‘bool operator==(const QStringRef&, const QByteArray&)’
 1980 | inline QT_ASCII_CAST_WARN bool operator==(const QStringRef &lhs, const QByteArray &rhs) { return lhs.compare(rhs) == 0; }
      |                                ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1980:61: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QStringRef&’
 1980 | inline QT_ASCII_CAST_WARN bool operator==(const QStringRef &lhs, const QByteArray &rhs) { return lhs.compare(rhs) == 0; }
      |                                           ~~~~~~~~~~~~~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1987:32: note: candidate: ‘bool operator==(const QByteArray&, const QStringRef&)’
 1987 | inline QT_ASCII_CAST_WARN bool operator==(const QByteArray &lhs, const QStringRef &rhs) { return rhs.compare(lhs) == 0; }
      |                                ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1987:61: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QByteArray&’
 1987 | inline QT_ASCII_CAST_WARN bool operator==(const QByteArray &lhs, const QStringRef &rhs) { return rhs.compare(lhs) == 0; }
      |                                           ~~~~~~~~~~~~~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:2008:32: note: candidate: ‘bool operator==(const char*, const QStringRef&)’
 2008 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QStringRef &s2)
      |                                ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:2008:55: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const char*’
 2008 | inline QT_ASCII_CAST_WARN bool operator==(const char *s1, const QStringRef &s2)
      |                                           ~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractitemmodel.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:10:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:139:16: note: candidate: ‘constexpr bool operator==(const QHashDummyValue&, const QHashDummyValue&)’
  139 | constexpr bool operator==(const QHashDummyValue &, const QHashDummyValue &) noexcept
      |                ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:139:27: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QHashDummyValue&’
  139 | constexpr bool operator==(const QHashDummyValue &, const QHashDummyValue &) noexcept
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:611:13: note: candidate: ‘bool operator==(const QVariant&, const QVariantComparisonHelper&)’
  611 | inline bool operator==(const QVariant &v1, const QVariantComparisonHelper &v2)
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:611:40: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QVariant&’
  611 | inline bool operator==(const QVariant &v1, const QVariantComparisonHelper &v2)
      |                        ~~~~~~~~~~~~~~~~^~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qcborcommon.h:94:13: note: candidate: ‘bool operator==(QCborTag, QCborKnownTags)’
   94 | inline bool operator==(QCborTag t, QCborKnownTags kt)   { return quint64(t) == quint64(kt); }
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qcborcommon.h:94:33: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QCborTag’
   94 | inline bool operator==(QCborTag t, QCborKnownTags kt)   { return quint64(t) == quint64(kt); }
      |                        ~~~~~~~~~^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qcborcommon.h:95:13: note: candidate: ‘bool operator==(QCborKnownTags, QCborTag)’
   95 | inline bool operator==(QCborKnownTags kt, QCborTag t)   { return quint64(t) == quint64(kt); }
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qcborcommon.h:95:39: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QCborKnownTags’
   95 | inline bool operator==(QCborKnownTags kt, QCborTag t)   { return quint64(t) == quint64(kt); }
      |                        ~~~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborstreamreader.h:45,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborstream.h:47,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:41:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfloat16.h:254:13: note: candidate: ‘bool operator==(qfloat16, qfloat16)’
  254 | inline bool operator==(qfloat16 a, qfloat16 b) noexcept { return static_cast<float>(a) == static_cast<float>(b); }
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfloat16.h:254:33: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘qfloat16’
  254 | inline bool operator==(qfloat16 a, qfloat16 b) noexcept { return static_cast<float>(a) == static_cast<float>(b); }
      |                        ~~~~~~~~~^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfloat16.h:267:1: note: candidate: ‘bool operator==(qfloat16, long double)’
  267 | QF16_MAKE_BOOL_OP(long double)
      | ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfloat16.h:267:1: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘qfloat16’
  267 | QF16_MAKE_BOOL_OP(long double)
      | ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfloat16.h:267:1: note: candidate: ‘bool operator==(long double, qfloat16)’
  267 | QF16_MAKE_BOOL_OP(long double)
      | ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfloat16.h:267:1: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘long double’
  267 | QF16_MAKE_BOOL_OP(long double)
      | ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfloat16.h:268:1: note: candidate: ‘bool operator==(qfloat16, double)’
  268 | QF16_MAKE_BOOL_OP(double)
      | ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfloat16.h:268:1: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘qfloat16’
  268 | QF16_MAKE_BOOL_OP(double)
      | ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfloat16.h:268:1: note: candidate: ‘bool operator==(double, qfloat16)’
  268 | QF16_MAKE_BOOL_OP(double)
      | ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfloat16.h:268:1: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘double’
  268 | QF16_MAKE_BOOL_OP(double)
      | ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfloat16.h:269:1: note: candidate: ‘bool operator==(qfloat16, float)’
  269 | QF16_MAKE_BOOL_OP(float)
      | ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfloat16.h:269:1: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘qfloat16’
  269 | QF16_MAKE_BOOL_OP(float)
      | ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfloat16.h:269:1: note: candidate: ‘bool operator==(float, qfloat16)’
  269 | QF16_MAKE_BOOL_OP(float)
      | ^~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfloat16.h:269:1: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘float’
  269 | QF16_MAKE_BOOL_OP(float)
      | ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfloat16.h:280:1: note: candidate: ‘bool operator==(qfloat16, int)’
  280 | QF16_MAKE_BOOL_OP_INT(==)
      | ^~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfloat16.h:280:1: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘qfloat16’
  280 | QF16_MAKE_BOOL_OP_INT(==)
      | ^~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfloat16.h:280:1: note: candidate: ‘bool operator==(int, qfloat16)’
  280 | QF16_MAKE_BOOL_OP_INT(==)
      | ^~~~~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qfloat16.h:280:1: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘int’
  280 | QF16_MAKE_BOOL_OP_INT(==)
      | ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlibraryinfo.h:45,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:131:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qversionnumber.h:306:31: note: candidate: ‘bool operator==(const QVersionNumber&, const QVersionNumber&)’
  306 | Q_REQUIRED_RESULT inline bool operator==(const QVersionNumber &lhs, const QVersionNumber &rhs) noexcept
      |                               ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qversionnumber.h:306:64: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QVersionNumber&’
  306 | Q_REQUIRED_RESULT inline bool operator==(const QVersionNumber &lhs, const QVersionNumber &rhs) noexcept
      |                                          ~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qline.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:132:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpoint.h:165:30: note: candidate: ‘constexpr bool operator==(const QPoint&, const QPoint&)’
  165 | Q_DECL_CONSTEXPR inline bool operator==(const QPoint &p1, const QPoint &p2)
      |                              ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpoint.h:165:55: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QPoint&’
  165 | Q_DECL_CONSTEXPR inline bool operator==(const QPoint &p1, const QPoint &p2)
      |                                         ~~~~~~~~~~~~~~^~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpoint.h:357:30: note: candidate: ‘constexpr bool operator==(const QPointF&, const QPointF&)’
  357 | Q_DECL_CONSTEXPR inline bool operator==(const QPointF &p1, const QPointF &p2)
      |                              ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qpoint.h:357:56: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QPointF&’
  357 | Q_DECL_CONSTEXPR inline bool operator==(const QPointF &p1, const QPointF &p2)
      |                                         ~~~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:139:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmargins.h:135:30: note: candidate: ‘constexpr bool operator==(const QMargins&, const QMargins&)’
  135 | Q_DECL_CONSTEXPR inline bool operator==(const QMargins &m1, const QMargins &m2) noexcept
      |                              ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmargins.h:135:57: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QMargins&’
  135 | Q_DECL_CONSTEXPR inline bool operator==(const QMargins &m1, const QMargins &m2) noexcept
      |                                         ~~~~~~~~~~~~~~~~^~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmargins.h:372:30: note: candidate: ‘constexpr bool operator==(const QMarginsF&, const QMarginsF&)’
  372 | Q_DECL_CONSTEXPR inline bool operator==(const QMarginsF &lhs, const QMarginsF &rhs) noexcept
      |                              ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmargins.h:372:58: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QMarginsF&’
  372 | Q_DECL_CONSTEXPR inline bool operator==(const QMarginsF &lhs, const QMarginsF &rhs) noexcept
      |                                         ~~~~~~~~~~~~~~~~~^~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:142:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetaobject.h:200:13: note: candidate: ‘bool operator==(const QMetaMethod&, const QMetaMethod&)’
  200 | inline bool operator==(const QMetaMethod &m1, const QMetaMethod &m2)
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetaobject.h:200:43: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QMetaMethod&’
  200 | inline bool operator==(const QMetaMethod &m1, const QMetaMethod &m2)
      |                        ~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qrect.h:44,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:179:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsize.h:175:30: note: candidate: ‘constexpr bool operator==(const QSize&, const QSize&)’
  175 | Q_DECL_CONSTEXPR inline bool operator==(const QSize &s1, const QSize &s2) noexcept
      |                              ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsize.h:175:54: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QSize&’
  175 | Q_DECL_CONSTEXPR inline bool operator==(const QSize &s1, const QSize &s2) noexcept
      |                                         ~~~~~~~~~~~~~^~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsize.h:350:30: note: candidate: ‘constexpr bool operator==(const QSizeF&, const QSizeF&)’
  350 | Q_DECL_CONSTEXPR inline bool operator==(const QSizeF &s1, const QSizeF &s2) noexcept
      |                              ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsize.h:350:55: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QSizeF&’
  350 | Q_DECL_CONSTEXPR inline bool operator==(const QSizeF &s1, const QSizeF &s2) noexcept
      |                                         ~~~~~~~~~~~~~~^~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qrect.h:454:30: note: candidate: ‘constexpr bool operator==(const QRect&, const QRect&)’
  454 | Q_DECL_CONSTEXPR inline bool operator==(const QRect &r1, const QRect &r2) noexcept
      |                              ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qrect.h:454:54: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QRect&’
  454 | Q_DECL_CONSTEXPR inline bool operator==(const QRect &r1, const QRect &r2) noexcept
      |                                         ~~~~~~~~~~~~~^~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qrect.h:860:30: note: candidate: ‘constexpr bool operator==(const QRectF&, const QRectF&)’
  860 | Q_DECL_CONSTEXPR inline bool operator==(const QRectF &r1, const QRectF &r2) noexcept
      |                              ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qrect.h:860:55: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QRectF&’
  860 | Q_DECL_CONSTEXPR inline bool operator==(const QRectF &r1, const QRectF &r2) noexcept
      |                                         ~~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:224:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstorageinfo.h:101:13: note: candidate: ‘bool operator==(const QStorageInfo&, const QStorageInfo&)’
  101 | inline bool operator==(const QStorageInfo &first, const QStorageInfo &second)
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstorageinfo.h:101:44: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QStorageInfo&’
  101 | inline bool operator==(const QStorageInfo &first, const QStorageInfo &second)
      |                        ~~~~~~~~~~~~~~~~~~~~^~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtTest/qtest_gui.h:64,
                 from /usr/include/x86_64-linux-gnu/qt5/QtTest/qtest.h:482:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qvector4d.h:236:30: note: candidate: ‘constexpr bool operator==(const QVector4D&, const QVector4D&)’
  236 | Q_DECL_CONSTEXPR inline bool operator==(const QVector4D &v1, const QVector4D &v2)
      |                              ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qvector4d.h:236:58: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QVector4D&’
  236 | Q_DECL_CONSTEXPR inline bool operator==(const QVector4D &v1, const QVector4D &v2)
      |                                         ~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtTest/qtest_gui.h:63:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qvector3d.h:236:30: note: candidate: ‘constexpr bool operator==(const QVector3D&, const QVector3D&)’
  236 | Q_DECL_CONSTEXPR inline bool operator==(const QVector3D &v1, const QVector3D &v2)
      |                              ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qvector3d.h:236:58: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QVector3D&’
  236 | Q_DECL_CONSTEXPR inline bool operator==(const QVector3D &v1, const QVector3D &v2)
      |                                         ~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtTest/qtestkeyboard.h:56,
                 from /usr/include/x86_64-linux-gnu/qt5/QtTest/qtestevent.h:50,
                 from /usr/include/x86_64-linux-gnu/qt5/QtTest/qtest_gui.h:53:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:876:19: note: candidate: ‘bool operator==(QPointingDeviceUniqueId, QPointingDeviceUniqueId)’
  876 | Q_GUI_EXPORT bool operator==(QPointingDeviceUniqueId lhs, QPointingDeviceUniqueId rhs) noexcept;
      |                   ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:876:54: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QPointingDeviceUniqueId’
  876 | Q_GUI_EXPORT bool operator==(QPointingDeviceUniqueId lhs, QPointingDeviceUniqueId rhs) noexcept;
      |                              ~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:842:13: note: candidate: ‘bool operator==(QKeySequence::StandardKey, QKeyEvent*)’
  842 | inline bool operator==(QKeySequence::StandardKey key, QKeyEvent *e){return (e ? e->matches(key) : false);}
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:842:50: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QKeySequence::StandardKey’
  842 | inline bool operator==(QKeySequence::StandardKey key, QKeyEvent *e){return (e ? e->matches(key) : false);}
      |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:841:13: note: candidate: ‘bool operator==(QKeyEvent*, QKeySequence::StandardKey)’
  841 | inline bool operator==(QKeyEvent *e, QKeySequence::StandardKey key){return (e ? e->matches(key) : false);}
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:841:35: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QKeyEvent*’
  841 | inline bool operator==(QKeyEvent *e, QKeySequence::StandardKey key){return (e ? e->matches(key) : false);}
      |                        ~~~~~~~~~~~^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:56:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qvector2d.h:211:30: note: candidate: ‘constexpr bool operator==(const QVector2D&, const QVector2D&)’
  211 | Q_DECL_CONSTEXPR inline bool operator==(const QVector2D &v1, const QVector2D &v2)
      |                              ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qvector2d.h:211:58: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QVector2D&’
  211 | Q_DECL_CONSTEXPR inline bool operator==(const QVector2D &v1, const QVector2D &v2)
      |                                         ~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qwindow.h:58,
                 from /usr/include/x86_64-linux-gnu/qt5/QtTest/qtestkeyboard.h:55:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qcursor.h:129:19: note: candidate: ‘bool operator==(const QCursor&, const QCursor&)’
  129 | Q_GUI_EXPORT bool operator==(const QCursor &lhs, const QCursor &rhs) noexcept;
      |                   ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qcursor.h:124:56: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QCursor&’
  124 |     friend Q_GUI_EXPORT bool operator==(const QCursor &lhs, const QCursor &rhs) noexcept;
      |                                         ~~~~~~~~~~~~~~~^~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qsurface.h:45,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qwindow.h:51:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qsurfaceformat.h:172:19: note: candidate: ‘bool operator==(const QSurfaceFormat&, const QSurfaceFormat&)’
  172 | Q_GUI_EXPORT bool operator==(const QSurfaceFormat&, const QSurfaceFormat&);
      |                   ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qsurfaceformat.h:165:41: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘const QSurfaceFormat&’
  165 |     friend Q_GUI_EXPORT bool operator==(const QSurfaceFormat&, const QSurfaceFormat&);
      |                                         ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QHostAddress:1,
                 from /usr/include/x86_64-linux-gnu/qt5/QtTest/qtest_network.h:54,
                 from /usr/include/x86_64-linux-gnu/qt5/QtTest/qtest.h:457:
/usr/include/x86_64-linux-gnu/qt5/QtNetwork/qhostaddress.h:165:13: note: candidate: ‘bool operator==(QHostAddress::SpecialAddress, const QHostAddress&)’
  165 | inline bool operator ==(QHostAddress::SpecialAddress address1, const QHostAddress &address2)
      |             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtNetwork/qhostaddress.h:165:54: note:   no known conversion for argument 1 from ‘const MImServerCommonOptions’ to ‘QHostAddress::SpecialAddress’
  165 | inline bool operator ==(QHostAddress::SpecialAddress address1, const QHostAddress &address2)
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
make[3]: *** [CMakeFiles/ut_mimserveroptions.dir/build.make:93: CMakeFiles/ut_mimserveroptions.dir/tests/ut_mimserveroptions/ut_mimserveroptions.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:697: CMakeFiles/ut_mimserveroptions.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
sunweaver commented 2 years ago

This happens when building maliit-framework 2.3.0(-1) that I am currently preparing for upload to Debian unstable.

dobey commented 2 years ago

There is no maliit-framework 2.3.0. Has experimental/unstable changed to gcc12 default now? I think it might default to c++20 or something, which breaks QtTest?

sunweaver commented 2 years ago

I am preparing maliit-framework 2.3.0-1 upload to Debian unstable here: https://salsa.debian.org/debian/maliit-framework/-/commit/c13d226f952ec9ebcd30cb75cbe0c16ef96c9065

And yes, unstable has gcc-12 now.

dobey commented 2 years ago

Oh wait, sorry. I just released maliit-keyboard 2.3.1 which is only the keyboard, no framework release. If you force c++17 standard in the compile, does it work?

sunweaver commented 2 years ago

Nope, c++17 standard does not help. Note that the FTBFS occurs when building the unit test file tests/ut_minputmethodquickplugin/ut_minputmethodquickplugin.cpp

dobey commented 2 years ago

Hrmm, I see there is a new version of libqt5test5 in experimental. I do not see these errors on testing (which has same libqt5test5 as unstable currently), with gcc 11. So either gcc 12 broke something here, or Qt 5.15.5 did. I'm not sure which exactly.

sunweaver commented 2 years ago

I just tried a build against experiemental (with more recent libqt5test5): this fails. I also tried a build against Debian testing: this succeeds, I can confirm this.

dobey commented 2 years ago

OK, now that gcc-12 made it to testing and I can more easily see the issue myself, I've made a PR to fix this.