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

Build error on 5.6 branch with -no-feature-library (or -no-feature-im)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.6.3, 5.6
    • Fix Version/s: 5.7.0
    • Labels:
      None
    • Environment:
      Xcode 7 on macOS 10.12.2
    • Commits:
      c359011dc53cf8c1c45dd86299b877c5e33ac740

      Description

      Looks like this is related to QT_NO_IM which got defined when using configure option -no-feature-library:

      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -Xclang -include-pch -Xclang .pch/debug/QtWidgets_debug/c++.pch -pipe -stdlib=libc++ -g -std=c++1z -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.7 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_USING_NAMESPACE -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_ANDROID -DQT_BUILD_WIDGETS_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_GUI_LIB -DQT_CORE_LIB -I. -Idialogs -I../../include -I../../include/QtWidgets -I../../include/QtWidgets/5.6.3 -I../../include/QtWidgets/5.6.3/QtWidgets -I.uic -I../../include/QtGui/5.6.3 -I../../include/QtGui/5.6.3/QtGui -I../../include/QtCore/5.6.3 -I../../include/QtCore/5.6.3/QtCore -I../../include/QtGui -I../../include/QtCore -I.moc/debug -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Users/jari/Tosibox/tosibox-key/libs-build/openssl-prefix/include -I../../mkspecs/macx-clang -F/Users/jari/qt5/qtbase/lib -o .obj/debug/qcalendarwidget.o widgets/qcalendarwidget.cpp
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -Xclang -include-pch -Xclang .pch/debug/QtWidgets_debug/c++.pch -pipe -stdlib=libc++ -g -std=c++1z -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.7 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_USING_NAMESPACE -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_ANDROID -DQT_BUILD_WIDGETS_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_GUI_LIB -DQT_CORE_LIB -I. -Idialogs -I../../include -I../../include/QtWidgets -I../../include/QtWidgets/5.6.3 -I../../include/QtWidgets/5.6.3/QtWidgets -I.uic -I../../include/QtGui/5.6.3 -I../../include/QtGui/5.6.3/QtGui -I../../include/QtCore/5.6.3 -I../../include/QtCore/5.6.3/QtCore -I../../include/QtGui -I../../include/QtCore -I.moc/debug -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Users/jari/libs-build/openssl-prefix/include -I../../mkspecs/macx-clang -F/Users/jari/qt5/qtbase/lib -o .obj/debug/qcombobox.o widgets/qcombobox.cpp
      widgets/qcombobox.cpp:1776:37: error: no member named 'inheritsInputMethodHints' in 'QWidgetPrivate'
          qt_widget_private(d->lineEdit)->inheritsInputMethodHints = 1;
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
      1 error generated.
      make[4]: *** [.obj/debug/qcombobox.o] Error 1
      make[3]: *** [debug-all] Error 2
      make[2]: *** [sub-widgets-make_first] Error 2
      make[1]: *** [sub-src-make_first] Error 2
      make: *** [module-qtbase-make_first] Error 2
      

        Attachments

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

          Activity

            People

            Assignee:
            ulherman Ulf Hermann
            Reporter:
            jaritenhunen Jari Tenhunen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes