[PyQt] import QtQuick.Dialogs hangs

Phil Thompson phil at riverbankcomputing.com
Sun Jan 29 16:30:31 GMT 2017


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


More information about the PyQt mailing list