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

QT 4.8 Build qdirectfb fail

    XMLWordPrintable

Details

    Description

      Compiling Qt 4.8.0 with DirectFb ( -plugin-gfx-directfb -qt-gfx-linuxfb ) and:
      DEFINES += QT_NO_DIRECTFB_WM
      DEFINES += QT_NO_DIRECTFB_LAYER

      Cause the following error:
      qdirectfbwindowsurface.cpp: In member function 'virtual QByteArray QDirectFBWindowSurface::permanentState() const':
      qdirectfbwindowsurface.cpp:294:9: error: 'dfbWindow' was not declared in this scope

      Tha cause is because:
      qdirectfbwindowsurface.h define dfbWindow variable only if QT_DIRECTFB_WM is definded, but the method QDirectFBWindowSurface::permanentState() (qdirectfbwindowsurface.cpp) use that symbol also if QT_DIRECTFB_WM is not defined...in this case the symbol doesn't exists!
      The problem is aslo for
      void QDirectFBWindowSurface::setPermanentState(const QByteArray &state).
      I guess that the problem is due to a bugfix of 4.7.x that doesn't take care about QT_NO_DIRECTFB_WM, QT_NO_DIRECTFB_LAYER configurations.

      Attachments

        1. 0118_qdirectfbwindowsurface_build_error.patch
          3 kB
          Alessandro Arrabito
        2. 0120_qdirectfbwindowsurface_build_error_h.patch
          0.5 kB
          Alessandro Arrabito
        3. qdirectfb_build.log
          5 kB
          Alessandro Arrabito
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rve Anders Bakken
            arrabyte Alessandro Arrabito
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes