Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to fix the mading error in deepin linux 15.11 ? #177

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

liumwei
Copy link

@liumwei liumwei commented Mar 28, 2020

[ 28%] Building CXX object src/CMakeFiles/deepin-topbar.dir/widgets/switchitem.cpp.o
src/CMakeFiles/deepin-topbar.dir/build.make:638: recipe for target 'src/CMakeFiles/deepin-topbar.dir/widgets/switchitem.cpp.o' failed
CMakeFiles/Makefile2:86: recipe for target 'src/CMakeFiles/deepin-topbar.dir/all' failed
Makefile:129: recipe for target 'all' failed

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

/home/liumwei/Downloads/deepin-topbar-master/deepin-topbar/src/frame/mainframe.cpp: In lambda function:
/home/liumwei/Downloads/deepin-topbar-master/deepin-topbar/src/frame/mainframe.cpp:332:21: warning: unused variable ‘ratio’ [-Wunused-variable]
const qreal ratio { devicePixelRatioF() };
^~~~~
In file included from /home/liumwei/Downloads/deepin-topbar-master/deepin-topbar/src/widgets/switchitem.cpp:1:0:
/home/liumwei/Downloads/deepin-topbar-master/deepin-topbar/src/widgets/switchitem.h: In member function ‘bool dtb::widgets::SwitchItem::checked() const’:
/home/liumwei/Downloads/deepin-topbar-master/deepin-topbar/src/widgets/switchitem.h:18:45: error: ‘class Dtk::Widget::DSwitchButton’ has no member named ‘isChecked’; did you mean ‘checked’?
bool checked() const { return m_switch->isChecked(); }
^~~~~~~~~
make[2]: *** [src/CMakeFiles/deepin-topbar.dir/widgets/switchitem.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/deepin-topbar.dir/all] Error 2
make: *** [all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants