In reprounzip-qt, import PyQt later
For instance, reprounzip-qt --help will work without an X server.
@@ -28,8 +28,6 @@ def main():
# Locale
locale.setlocale(locale.LC_ALL, '')
- app = qt_init()
-
parser = argparse.ArgumentParser(
description="Graphical user interface for reprounzip",
epilog="Please report issues to reprozip-users@vgc.poly.edu")
@@ -40,6 +38,8 @@ def main():
args = parser.parse_args()
+ app = qt_init()
+
from reprounzip_qt.gui import ReprounzipUi
window_args = {}
