Skip to content
/ qtql Public

Minimal code sandbox exploring PyQt's hangs on AppVeyor

License

Notifications You must be signed in to change notification settings

tmontes/qtql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Qt QLocale Test

Sample project to diagnose Qt's QLocale calls and mocks in AppVeyor.

Motivation: understand why this PR is failing when building in AppVeyor.

AppVeyor project page is here.

Lesson

For some reason, importing QLocale with from PyQt5.Qt import QLocale leads to AppVeyor import time hangs; the solution seems to be importing it with from PyQt5.QtCore import QLocale, instead.

Installation

Clone and install with:

$ pip install .

Using

import qtql

locale = qtql.name()

Testing

$ pip install -e .[dev]
$ pytest

About

Created by Tiago Montes.

About

Minimal code sandbox exploring PyQt's hangs on AppVeyor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages