GithubHelp home page GithubHelp logo

dde-wayland's People

Contributors

zccrs avatar xionglinlin avatar zhangliang-ut avatar

Stargazers

邓永盛 avatar shortcircuit avatar  avatar  avatar sdopx avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

dde-wayland's Issues

Build failed under Qt 5.15.0

cd server/ && ( test -e Makefile || /usr/bin/qmake -o Makefile /build/dde-wayland-git/src/dde-wayland-git/server/server.pro ) && make -f Makefile 
make[1]: Entering directory '/build/dde-wayland-git/src/dde-wayland-git/server'
wayland-scanner --include-core-only server-header < ../protocol/dde-shell.xml > wayland-dde-shell-server-protocol.h
/usr/bin/qtwaylandscanner server-header ../protocol/dde-shell.xml > qwayland-server-dde-shell.h
g++ -c -pipe -O2 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WAYLANDCOMPOSITOR_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt -isystem /usr/include/qt/QtWaylandCompositor -isystem /usr/include/qt/QtQuick -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtQmlModels -isystem /usr/include/qt/QtQml -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o dshellsurface.o dshellsurface.cpp
dshellsurface.cpp: In member function ‘virtual void DWaylandServer::DShellSurfaceManagerPrivate::dde_surface_manager_get_surface(QtWaylandServer::dde_surface_manager::Resource*, uint32_t, wl_resource*)’:
dshellsurface.cpp:38:84: error: invalid new-expression of abstract class type ‘DWaylandServer::DShellSurface’
   38 |             dddSurface = new DShellSurface(q, resource->handle, surfaceResource, id);
      |                                                                                    ^
In file included from dshellsurface.cpp:1:
dshellsurface.h:42:7: note:   because the following virtual functions are pure within ‘DWaylandServer::DShellSurface’:
   42 | class DShellSurface : public QWaylandShellSurfaceTemplate<DShellSurface>
      |       ^~~~~~~~~~~~~
In file included from /usr/include/qt/QtWaylandCompositor/QWaylandShellSurfaceTemplate:1,
                 from dshellsurface.h:5,
                 from dshellsurface.cpp:1:
/usr/include/qt/QtWaylandCompositor/qwaylandshellsurface.h:48:44: note:     ‘virtual QWaylandQuickShellIntegration* QWaylandShellSurface::createIntegration(QWaylandQuickShellSurfaceItem*)’
   48 |     virtual QWaylandQuickShellIntegration *createIntegration(QWaylandQuickShellSurfaceItem *item) = 0;
      |                                            ^~~~~~~~~~~~~~~~~
dshellsurface.cpp: In constructor ‘DWaylandServer::DShellSurface::DShellSurface(DWaylandServer::DShellSurfaceManager*, wl_resource*, wl_resource*, uint)’:
dshellsurface.cpp:177:52: error: invalid use of incomplete type ‘struct wl_resource’
  177 |     , d_ptr(new DShellSurfacePrivate(this, resource->client, id, 1))
      |                                                    ^~
In file included from dshellsurface.cpp:1:
dshellsurface.h:14:8: note: forward declaration of ‘struct wl_resource’
   14 | struct wl_resource;
      |        ^~~~~~~~~~~
make[1]: *** [Makefile:507: dshellsurface.o] Error 1
make[1]: Leaving directory '/build/dde-wayland-git/src/dde-wayland-git/server'
make: *** [Makefile:48: sub-server-make_first] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.