Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-55747

QOverload compile failure on OSX 10.11.6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.8.0 Beta
    • 5.8.0 Alpha
    • Core: Other
    • None
    • macOS

    Description

      On OSX 10.11.6, "make install" fails for both 5.8 Alpha, and the latest git head for 5.8 branch (72c617cf918fe71ed02225acd56df78f7f6e3e88).

      <snip>
      cd adueditor/ && ( test -e Makefile || /Users/jc/git_repos/qt5/qtbase/bin/qmake -o Makefile /Users/jc/git_repos/qt5/qtserialbus/examples/serialbus/modbus/adueditor/adueditor.pro -qtconf /Users/jc/git_repos/qt5/qtbase/bin/qt.conf ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile install
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -g -std=gnu++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.9  -fno-exceptions -Wall -W -fPIC -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALBUS_LIB -DQT_SERIALPORT_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/Users/jc/git_repos/qt5/qtbase/include -I/Users/jc/git_repos/qt5/qtbase/include/QtWidgets -I/Users/jc/git_repos/qt5/qtbase/include/QtGui -I../../../../include/QtSerialBus/5.8.0 -I../../../../include/QtSerialBus/5.8.0/QtSerialBus -I../../../../include -I../../../../include/QtSerialBus -I/Users/jc/git_repos/qt5/qtserialport/include -I/Users/jc/git_repos/qt5/qtserialport/include/QtSerialPort -I/Users/jc/git_repos/qt5/qtbase/include/QtCore/5.8.0 -I/Users/jc/git_repos/qt5/qtbase/include/QtCore/5.8.0/QtCore -I/Users/jc/git_repos/qt5/qtbase/include/QtNetwork -I/Users/jc/git_repos/qt5/qtbase/include/QtCore -I.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers -I.uic -I/Users/jc/git_repos/qt5/qtbase/mkspecs/macx-clang -F/Users/jc/git_repos/qt5/qtbase/lib -F/Users/jc/git_repos/qt5/qtserialbus/lib -F/Users/jc/git_repos/qt5/qtserialport/lib -o .obj/modbustcpclient.o modbustcpclient.cpp
      In file included from modbustcpclient.cpp:43:
      ./modbustcpclient_p.h:89:42: error: no matching function for call to 'of'
                         element.timer.data(), QOverload<int>::of(&QTimer::setInterval));
                                               ^~~~~~~~~~~~~~~~~~
      /Users/jc/git_repos/qt5/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1054:34: note: candidate template ignored: couldn't infer template argument 'R'
          static Q_DECL_CONSTEXPR auto of(R (T::*ptr)(Args...)) Q_DECL_NOTHROW -> decltype(ptr)
                                       ^
      /Users/jc/git_repos/qt5/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1066:34: note: candidate template ignored: couldn't infer template argument 'R'
          static Q_DECL_CONSTEXPR auto of(R (T::*ptr)(Args...) const) Q_DECL_NOTHROW -> decltype(ptr)
                                       ^
      /Users/jc/git_repos/qt5/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1083:34: note: candidate template ignored: couldn't infer template argument 'R'
          static Q_DECL_CONSTEXPR auto of(R (*ptr)(Args...)) Q_DECL_NOTHROW -> decltype(ptr)
                                       ^
      1 error generated.
      make[5]: *** [.obj/modbustcpclient.o] Error 1
      make[4]: *** [sub-adueditor-install_subtargets] Error 2
      make[3]: *** [sub-modbus-install_subtargets] Error 2
      make[2]: *** [sub-serialbus-install_subtargets] Error 2
      make[1]: *** [sub-examples-install_subtargets] Error 2
      make: *** [module-qtserialbus-install_subtargets] Error 2
      

      This is a bit disappointing, as I'm just wanting to read the docs for the new QtNetworkAuth module.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            syntheticpp Peter Kümmel
            justinclift justinclift
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes