← Back to team overview

touch-packages team mailing list archive

[Bug 1425593] Re: trivial app fails to appear in shell and crashes it on close

 

** Changed in: unity8 (Ubuntu)
     Assignee: (unassigned) => Albert Astals Cid (aacid)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1425593

Title:
  trivial app fails to appear in shell and crashes it on close

Status in Qt integration with the Mir display server:
  Confirmed
Status in unity8 package in Ubuntu:
  New

Bug description:
  Take this code:

  #include <QApplication>
  #include <QWidget>

  int main(int argc, char *argv[])
  {
      QApplication app(argc, argv);
      QWidget *w = new QWidget();
      w->showMaximized();
      return app.exec();
  }

  
  and this Qt pro file:

  QT       += core gui widgets
  TARGET = simple-qwidget
  TEMPLATE = app
  SOURCES += main.cpp

  and build on the device. On unity8 run with:

  ./simple-qwidget --desktop_file_hint=/usr/share/applications
  /mediaplayer-app.desktop

  You'll see the splash screen appear, but you'll never see a frame from the app.
  When I Ctrl+C the app, unity8 crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1425593/+subscriptions


References