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

Can't compile qtdeclarative with linaro toolchain

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 5.9.2
    • Fix Version/s: 5.9.2
    • Labels:
      None
    • Environment:
      Ubuntu 16.04 LTS as host

      Bananapi m2/Armbian(debian jessie) as target

      linaro toolchain 7.1 armhf
    • Commits:
      44ae9cdb95b14813d339c7bbd00df608261c8b9d

      Description

      In file included from ../../include/QtQuick/5.9.2/QtQuick/private/../../../../../../src/quick/qtquickglobal_p.h:47:0,
      from ../../include/QtQuick/5.9.2/QtQuick/private/qtquickglobal_p.h:1,
      from /home/sergey/Projects/qt/embedded/qt59/qtdeclarative/src/quick/items/context2d/qquickcontext2dtexture_p.h:54,
      from /home/sergey/Projects/qt/embedded/qt59/qtdeclarative/src/quick/items/context2d/qquickcontext2dtexture.cpp:40:
      /home/sergey/Projects/qt/embedded/qt59/qtdeclarative/src/quick/items/context2d/qquickcontext2dtexture.cpp: In member function ‘bool QQuickContext2DTexture::setCanvasWindow(const QRect&)’:
      /home/sergey/Projects/qt/embedded/qt59/qtdeclarative/src/quick/items/context2d/qquickcontext2dtexture.cpp:170:17: error: ‘lcCanvas’ was not declared in this scope
      qCDebug(lcCanvas, "%s device pixel ratio %.1lf -> %.1lf",
      ^
      /home/sergey/Projects/qt/embedded/bananapim2/qt5pi/include/QtCore/qloggingcategory.h:124:37: note: in definition of macro ‘qCDebug’
      for (bool qt_category_enabled = category().isDebugEnabled(); qt_category_enabled; qt_category_enabled = false) \
      ^~~~~~~~
      /home/sergey/Projects/qt/embedded/qt59/qtdeclarative/src/quick/items/context2d/qquickcontext2dtexture.cpp:170:17: note: suggested alternative: ‘lconv’
      qCDebug(lcCanvas, "%s device pixel ratio %.1lf -> %.1lf",
      ^
      /home/sergey/Projects/qt/embedded/bananapim2/qt5pi/include/QtCore/qloggingcategory.h:124:37: note: in definition of macro ‘qCDebug’
      for (bool qt_category_enabled = category().isDebugEnabled(); qt_category_enabled; qt_category_enabled = false) \
      ^~~~~~~~
      /home/sergey/Projects/qt/embedded/qt59/qtdeclarative/src/quick/items/context2d/qquickcontext2dtexture.cpp: In member function ‘virtual QPaintDevice* QQuickContext2DImageTexture::beginPainting()’:
      /home/sergey/Projects/qt/embedded/qt59/qtdeclarative/src/quick/items/context2d/qquickcontext2dtexture.cpp:732:17: error: ‘lcCanvas’ was not declared in this scope
      qCDebug(lcCanvas, "%s size %.1lf x %.1lf painting with size %d x %d DPR %.1lf",
      ^
      /home/sergey/Projects/qt/embedded/bananapim2/qt5pi/include/QtCore/qloggingcategory.h:124:37: note: in definition of macro ‘qCDebug’
      for (bool qt_category_enabled = category().isDebugEnabled(); qt_category_enabled; qt_category_enabled = false) \
      ^~~~~~~~
      /home/sergey/Projects/qt/embedded/qt59/qtdeclarative/src/quick/items/context2d/qquickcontext2dtexture.cpp:732:17: note: suggested alternative: ‘lconv’
      qCDebug(lcCanvas, "%s size %.1lf x %.1lf painting with size %d x %d DPR %.1lf",
      ^
      /home/sergey/Projects/qt/embedded/bananapim2/qt5pi/include/QtCore/qloggingcategory.h:124:37: note: in definition of macro ‘qCDebug’
      for (bool qt_category_enabled = category().isDebugEnabled(); qt_category_enabled; qt_category_enabled = false) \
      ^~~~~~~~
      Makefile:61163: recipe for target '.obj/qquickcontext2dtexture.o' failed
      make[2]: *** [.obj/qquickcontext2dtexture.o] Error 1

        Attachments

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

          Activity

            People

            • Assignee:
              srutledg Shawn Rutledge
              Reporter:
              ssuloev Sergey Suloev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes