← Back to team overview

ubuntukylin-members team mailing list archive

[Bug 1801031] Re: ftbfs in disco

 

** Changed in: youker-assistant (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Kylin Members, which is subscribed to youker-assistant in Ubuntu.
https://bugs.launchpad.net/bugs/1801031

Title:
  ftbfs in disco

Status in youker-assistant package in Ubuntu:
  Fix Released

Bug description:
  Hi, youkey-assistant fails to build in disco:

  https://launchpad.net/ubuntu/+source/youker-assistant/3.0.0-0ubuntu2

  This is the error message:

  ../../component/alertdialog.cpp: In member function ‘virtual void AlertDialog::paintEvent(QPaintEvent*)’:
  ../../component/alertdialog.cpp:40:5: error: ‘QStyleOption’ was not declared in this scope
       QStyleOption opt;
       ^~~~~~~~~~~~
  ../../component/alertdialog.cpp:40:5: note: suggested alternative: ‘QTextOption’
       QStyleOption opt;
       ^~~~~~~~~~~~
       QTextOption
  ../../component/alertdialog.cpp:41:5: error: ‘opt’ was not declared in this scope
       opt.init(this);
       ^~~
  ../../component/alertdialog.cpp:41:5: note: suggested alternative: ‘oct’
       opt.init(this);
       ^~~
       oct
  ../../component/alertdialog.cpp:42:12: error: invalid use of incomplete type ‘class QStyle’
       style()->drawPrimitive(QStyle::PE_Widget, &opt, &painter, this);
              ^~
  In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1,
                   from ../../component/alertdialog.h:19,
                   from ../../component/alertdialog.cpp:16:
  /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:67:7: note: forward declaration of ‘class QStyle’
   class QStyle;
         ^~~~~~
  ../../component/alertdialog.cpp:42:36: error: incomplete type ‘QStyle’ used in nested name specifier
       style()->drawPrimitive(QStyle::PE_Widget, &opt, &painter, this);
                                      ^~~~~~~~~

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/youker-assistant/+bug/1801031/+subscriptions


References