Skip to content

Commit d873c25

Browse files
committedFeb 8, 2016
Use Qt5
1 parent dc955d4 commit d873c25

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed
 

Diff for: ‎artiq/frontend/artiq_gui.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
import atexit
66
import os
77

8-
# Quamash must be imported first so that pyqtgraph picks up the Qt binding
9-
# it has chosen.
8+
import PyQt5
109
from quamash import QEventLoop, QtGui, QtCore
10+
assert QtGui is PyQt5.QtGui
11+
# pyqtgraph will pick up any already imported Qt binding.
1112
from pyqtgraph import dockarea
1213

14+
1315
from artiq import __artiq_dir__ as artiq_dir
1416
from artiq.tools import *
1517
from artiq.protocols.pc_rpc import AsyncioClient, Server

Diff for: ‎conda/artiq/meta.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ requirements:
4646
- sphinx-argparse
4747
- h5py
4848
- dateutil
49+
- pyqt 5.*
4950
- quamash
5051
- pyqtgraph
5152
- pygit2

Diff for: ‎setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
requirements = [
1414
"sphinx", "sphinx-argparse", "pyserial", "numpy", "scipy",
15-
"python-dateutil", "prettytable", "h5py",
15+
"python-dateutil", "prettytable", "h5py", "pyqt5",
1616
"quamash", "pyqtgraph", "pygit2", "aiohttp",
1717
"llvmlite_artiq", "pythonparser", "python-Levenshtein",
1818
"lit", "OutputCheck",

0 commit comments

Comments
 (0)
Please sign in to comment.