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

Compile error in direcfb platform plugin on Ubuntu Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.7.0 Alpha
    • QPA: DirectFB
    • None
    • Ubuntu 14.04.4 LTS
      g++ 4.8.4
      libdirectfb 1.2.10.0-5

    Description

      When compiling the 5.7.0 alpha I get an error in the DirectFB platform plugin. Previous Qt releases all built fine.

      qdirectfbbackingstore.cpp: In member function ‘virtual void QDirectFbBackingStore::flush(QWindow*, const QRegion&, const QPoint&)’:
      qdirectfbbackingstore.cpp:76:122: error: no matching function for call to ‘DFBRegion::DFBRegion(int, int, int, int)’
               DFBRegion dfbReg(rect.x() + offset.x(),rect.y() + offset.y(),rect.right() + offset.x(),rect.bottom() + offset.y());
                                                                                                                                ^
      qdirectfbbackingstore.cpp:76:122: note: candidates are:
      In file included from qdirectfbbackingstore.h:46:0,
                       from qdirectfbbackingstore.cpp:40:
      /usr/include/directfb/directfb.h:253:3: note: DFBRegion::DFBRegion()
       } DFBRegion;
         ^
      /usr/include/directfb/directfb.h:253:3: note:   candidate expects 0 arguments, 4 provided
      /usr/include/directfb/directfb.h:253:3: note: constexpr DFBRegion::DFBRegion(const DFBRegion&)
      /usr/include/directfb/directfb.h:253:3: note:   candidate expects 1 argument, 4 provided
      /usr/include/directfb/directfb.h:253:3: note: constexpr DFBRegion::DFBRegion(DFBRegion&&)
      /usr/include/directfb/directfb.h:253:3: note:   candidate expects 1 argument, 4 provided
      qdirectfbbackingstore.cpp: In function ‘void scrollSurface(IDirectFBSurface*, const QRect&, int, int)’:
      qdirectfbbackingstore.cpp:95:64: error: no matching function for call to ‘DFBRectangle::DFBRectangle(int, int, int, int)’
           const DFBRectangle rect(r.x(), r.y(), r.width(), r.height());
                                                                      ^
      qdirectfbbackingstore.cpp:95:64: note: candidates are:
      In file included from qdirectfbbackingstore.h:46:0,
                       from qdirectfbbackingstore.cpp:40:
      /usr/include/directfb/directfb.h:229:3: note: DFBRectangle::DFBRectangle()
       } DFBRectangle;
         ^
      /usr/include/directfb/directfb.h:229:3: note:   candidate expects 0 arguments, 4 provided
      /usr/include/directfb/directfb.h:229:3: note: constexpr DFBRectangle::DFBRectangle(const DFBRectangle&)
      /usr/include/directfb/directfb.h:229:3: note:   candidate expects 1 argument, 4 provided
      /usr/include/directfb/directfb.h:229:3: note: constexpr DFBRectangle::DFBRectangle(DFBRectangle&&)
      /usr/include/directfb/directfb.h:229:3: note:   candidate expects 1 argument, 4 provided
      qdirectfbbackingstore.cpp:97:85: error: no matching function for call to ‘DFBRegion::DFBRegion(int, int, int, int)’
           const DFBRegion region(rect.x + dx, rect.y + dy, r.right() + dx, r.bottom() + dy);
                                                                                           ^
      qdirectfbbackingstore.cpp:97:85: note: candidates are:
      In file included from qdirectfbbackingstore.h:46:0,
                       from qdirectfbbackingstore.cpp:40:
      /usr/include/directfb/directfb.h:253:3: note: DFBRegion::DFBRegion()
       } DFBRegion;
         ^
      /usr/include/directfb/directfb.h:253:3: note:   candidate expects 0 arguments, 4 provided
      /usr/include/directfb/directfb.h:253:3: note: constexpr DFBRegion::DFBRegion(const DFBRegion&)
      /usr/include/directfb/directfb.h:253:3: note:   candidate expects 1 argument, 4 provided
      /usr/include/directfb/directfb.h:253:3: note: constexpr DFBRegion::DFBRegion(DFBRegion&&)
      /usr/include/directfb/directfb.h:253:3: note:   candidate expects 1 argument, 4 provided
      make[5]: *** [.obj/qdirectfbbackingstore.o] Error 1
      

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            tranter Jeff Tranter
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes