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

qtdeclarative build error when using -no-feature-translation

    XMLWordPrintable

Details

    • c0e16b469f1bce8fc96d751656a43d7396ce4276 (qt/qtdeclarative/5.12)

    Description

      When building Qt 5.12 on Windows with MSVC 2017 (but I think this affects other platforms as well) with

      -no-feature-translation

      passed to configure, an error occurred:

       

       

      compiler\qv4compileddata.cpp(757): error C2227: left of '->translations' must point to class/struct/union/generic type

       

       

      build commands:

      git clone git://code.qt.io/qt/qt5.git
      
      cd qt5
      
      git checkout 5.12
      
      perl init-repository --module-subset=qtbase,qtdeclarative
      
      configure -opensource -confirm-license -release -nomake examples -nomake tests -skip qtwebengine -no-icu -no-sql-odbc -no-compile-examples -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtdocgallery -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtsvg -skip qtspeech -skip qttools -skip qttranslations -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebsockets -skip qtwebview -skip qtwinextras -skip qtx11extras -skip qtxmlpatterns -no-opengl -no-angle -no-gui -no-feature-translation -openssl-runtime
      
      jom

       

      unitData is a method, so the cause of error is missing parentheses. Attached patch fixes this build issue.

       

       

      Attachments

        For Gerrit Dashboard: QTBUG-72352
        # Subject Branch Project Status CR V

        Activity

          People

            ulherman Ulf Hermann
            jirauser50711 user-7dd71 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes