Public bug reported:

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

** Affects: qtmir
     Importance: High
         Status: Confirmed

** Affects: unity8 (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: unity8 (Ubuntu)
   Importance: Undecided
       Status: New

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

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to