Compilation failed :(

  main.cpp
  main.cpp
  main.cpp
  main.cpp
  main.cpp
        C:\work\build\qt\qtbase\bin\moc.exe -DUNICODE -DWIN32 
-DQML_RUNTIME_TESTING -DQT_QML_DEBUG_NO_WARNING -DQT_NO_EXCEPTIONS 
-DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB 
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NAMESPACE=TestNamespace -DNDEBUG 
-D_MSC_VER=1600 -D_WIN32 -IC:/work/build/qt/qtbase/mkspecs/win32-msvc2010 
-IC:/work/build/qt/qtdeclarative/tools/qmlscene 
-IC:/work/build/qt/qtbase/include/QtQuick/5.5.1 
-IC:/work/build/qt/qtbase/include/QtQuick/5.5.1/QtQuick 
-IC:/work/build/qt/qtbase/include -IC:/work/build/qt/qtbase/include/QtQuick 
-IC:/work/build/qt/qtbase/include/QtGui/5.5.1 
-IC:/work/build/qt/qtbase/include/QtGui/5.5.1/QtGui 
-IC:/work/build/qt/qtbase/include/QtWidgets 
-IC:/work/build/qt/qtbase/include/QtGui -IC:/work/build/qt/qtbase/include/QtQml 
-IC:/work/build/qt/qtbase/include/QtNetwork 
-IC:/work/build/qt/qtbase/include/QtCore/5.5.1 
-IC:/work/build/qt/qtbase/include/QtCore/5.5.1/QtCore 
-IC:/work/build/qt/qtbase/include/QtCore main.cpp -o .mo
 c\release\main.moc
  main.cpp
  main.cpp(352) : error C2668: 'TestNamespace::QString::endsWith' : ambiguous 
call to overloaded function
          
c:\work\build\qt\qtbase\include\qtcore\../../src/corelib/tools/qstring.h(375): 
could be 'bool 
TestNamespace::QString::endsWith(TestNamespace::QChar,TestNamespace::Qt::CaseSensitivity)
 const'
          
c:\work\build\qt\qtbase\include\qtcore\../../src/corelib/tools/qstring.h(373): 
or       'bool TestNamespace::QString::endsWith(const TestNamespace::QStringRef 
&,TestNamespace::Qt::CaseSensitivity) const'
          
c:\work\build\qt\qtbase\include\qtcore\../../src/corelib/tools/qstring.h(372): 
or       'bool TestNamespace::QString::endsWith(const TestNamespace::QString 
&,TestNamespace::Qt::CaseSensitivity) const'
          while trying to match the argument list '(int, 
TestNamespace::Qt::CaseSensitivity)'
  main.cpp(380) : error C2143: syntax error : missing ',' before ':'
  main.cpp(380) : error C2530: 'x' : references must be initialized

  Build log: 
http://testresults.qt.io/ci/QtDeclarative_5.5_Integration/build_00488/win32-msvc2010_developer-build_qtnamespace_Windows_7/log.txt.gz

  Tested changes (refs/builds/5.5_1442318495):
    http://codereview.qt-project.org/124626 [PS4] - Skip designer-related 
directory.
_______________________________________________
Ci-reports mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/ci-reports

Reply via email to