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

qt build fails due to qtquick1 error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Invalid
    • Affects Version/s: 5.9.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      I tried building qt 5.9 (I have been trying for a while now). This  time I did a new clone of qt5 repository, checked out 5.9.1 branch and did a `git submodule update --init --recursive` and waited for all submoduls to update. I then did a `./configure` and that finished without errors. I ran `make` and since my computer is really slow it took over one day to finish . After a whole day of waiting, I see this error in the console:

      g++ -c -pipe -g -Og -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -D_REENTRANT -fPIC -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_DECLARATIVE_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_URL_CAST_FROM_STRING -DQT_NO_OPENTYPE -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/aras/qt5/qtquick1/src/declarative -I. -I../../include -I../../include/QtDeclarative -I../../include/QtDeclarative/5.8.0 -I../../include/QtDeclarative/5.8.0/QtDeclarative -I/home/aras/qt5/qtquick1/src/declarative/qml -I/home/aras/qt5/qtquick1/src/declarative/qml/parser -I/home/aras/qt5/qtquick1/src/declarative/qml/rewriter -I/home/aras/qt5/qtquick1/src/declarative/util -I/home/aras/qt5/qtquick1/src/declarative/graphicsitems -I/home/aras/qt5/qtquick1/src/declarative/debugger -I/home/aras/Qt5.9_june20_build/qtbase/include/QtWidgets/5.9.1 -I/home/aras/Qt5.9_june20_build/qtbase/include/QtWidgets/5.9.1/QtWidgets -I/home/aras/Qt5.9_june20_build/qtbase/include/QtGui/5.9.1 -I/home/aras/Qt5.9_june20_build/qtbase/include/QtGui/5.9.1/QtGui -I/home/aras/Qt5.9_june20_build/qtscript/include/QtScript/5.9.1 -I/home/aras/Qt5.9_june20_build/qtscript/include/QtScript/5.9.1/QtScript -I/home/aras/Qt5.9_june20_build/qtbase/include/QtCore/5.9.1 -I/home/aras/Qt5.9_june20_build/qtbase/include/QtCore/5.9.1/QtCore -I/home/aras/Qt5.9_june20_build/qtbase/include -I/home/aras/Qt5.9_june20_build/qtbase/include/QtWidgets -I/home/aras/Qt5.9_june20_build/qtbase/include/QtGui -I/home/aras/Qt5.9_june20_build/qtscript/include -I/home/aras/Qt5.9_june20_build/qtscript/include/QtScript -I/home/aras/Qt5.9_june20_build/qtbase/include/QtSql -I/home/aras/Qt5.9_june20_build/qtxmlpatterns/include -I/home/aras/Qt5.9_june20_build/qtxmlpatterns/include/QtXmlPatterns -I/home/aras/Qt5.9_june20_build/qtbase/include/QtNetwork -I/home/aras/Qt5.9_june20_build/qtbase/include/QtCore -I.moc -isystem /usr/include/libdrm -I/home/aras/qt5/qtbase/mkspecs/linux-g++ -o .obj/qdeclarativetextinput.o /home/aras/qt5/qtquick1/src/declarative/graphicsitems/qdeclarativetextinput.cpp
      /home/aras/qt5/qtquick1/src/declarative/graphicsitems/qdeclarativetextinput.cpp: In member function ‘void QDeclarativeTextInput::setCursorVisible(bool)’:
      /home/aras/qt5/qtquick1/src/declarative/graphicsitems/qdeclarativetextinput.cpp:517:17: error: ‘class QWidgetLineControl’ has no member named ‘setCursorBlinkPeriod’
      d->control->setCursorBlinkPeriod(on?QApplication::cursorFlashTime():0);
      ^
      Makefile:60925: recipe for target '.obj/qdeclarativetextinput.o' failed
      make[3]: *** [.obj/qdeclarativetextinput.o] Error 1
      make[3]: Leaving directory '/home/aras/Qt5.9_june20_build/qtquick1/src/declarative'
      Makefile:46: recipe for target 'sub-declarative-make_first-ordered' failed
      make[2]: *** [sub-declarative-make_first-ordered] Error 2
      make[2]: Leaving directory '/home/aras/Qt5.9_june20_build/qtquick1/src'
      Makefile:47: recipe for target 'sub-src-make_first' failed
      make[1]: *** [sub-src-make_first] Error 2
      make[1]: Leaving directory '/home/aras/Qt5.9_june20_build/qtquick1'
      Makefile:1165: recipe for target 'module-qtquick1-make_first' failed
      make: *** [module-qtquick1-make_first] Error 2
      aras@ikarpc03:~/Qt5.9_june20_build$ 
      

        Attachments

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

          Activity

            People

            • Assignee:
              richard Richard Moe Gustavsen
              Reporter:
              arasbm Aras Balali
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes