[PyQt] import QtQuick.Dialogs hangs

Cody Scott cody at perspexis.com
Mon Jan 30 13:38:55 GMT 2017


What should I use when the QML application uses ChartView in QML?
http://doc.qt.io/qt-5/qml-qtcharts-chartview.html

On Sun, Jan 29, 2017 at 11:30 AM, Phil Thompson <phil at riverbankcomputing.com
> wrote:

> On 26 Jan 2017, at 6:37 pm, Cody Scott <cody at perspexis.com> wrote:
> >
> > When I import QtQuick.Dialogs 1.2 in QML I don't get an error but the
> Window is never displayed. Oddly when I load the QML with as bytes it works.
> >
> > Here is the test case.
> > https://gist.github.com/Siecje/7948458a7e46f7e7033b7efe07ee7351
> >
> > If I press Ctrl+Break I get
> >
> > QMutex: destroying locked mutex
> > QMutex: destroying locked mutex
>
> Should be fixed in tonight's snapshot.
>
> BTW you should use a QGuiApplication rather than QApplication in QML
> applications.
>
> Thanks,
> Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170130/eff162eb/attachment.html>


More information about the PyQt mailing list