From 2b7d972b5ff3d48e49db8ddc2316a7c6c3005a5f Mon Sep 17 00:00:00 2001 From: Marcus Ottosson Date: Mon, 29 Sep 2014 18:55:49 +0100 Subject: [PATCH] Including qt.conf within PyQt5 for inner executables, such as qmlscene.exe and qmlscene_wrapper.bat --- PyQt5/__init__.py | 2 +- PyQt5/qmlscene_wrapper.bat | 2 +- PyQt5/qmlviewer_wrapper.bat | 2 +- PyQt5/qt.conf | 3 +++ 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 PyQt5/qt.conf diff --git a/PyQt5/__init__.py b/PyQt5/__init__.py index 079fd409..061db933 100644 --- a/PyQt5/__init__.py +++ b/PyQt5/__init__.py @@ -31,7 +31,7 @@ os.environ['QT_QPA_PLATFORM_PLUGIN_PATH'] = plugin_path # Expose versions -version_info = (0, 1, 4) # Version of this release +version_info = (0, 1, 5) # Version of this release version = "%s.%s.%s" % version_info __version__ = version diff --git a/PyQt5/qmlscene_wrapper.bat b/PyQt5/qmlscene_wrapper.bat index 0496990d..af7b7a09 100644 --- a/PyQt5/qmlscene_wrapper.bat +++ b/PyQt5/qmlscene_wrapper.bat @@ -1,2 +1,2 @@ set QT_QPA_PLATFORM_PLUGIN_PATH=%CD%\plugins\platforms -start "" qmlscene.exe \ No newline at end of file +start "" qmlscene.exe %* \ No newline at end of file diff --git a/PyQt5/qmlviewer_wrapper.bat b/PyQt5/qmlviewer_wrapper.bat index 86e89538..242e6186 100644 --- a/PyQt5/qmlviewer_wrapper.bat +++ b/PyQt5/qmlviewer_wrapper.bat @@ -1,2 +1,2 @@ set QT_QPA_PLATFORM_PLUGIN_PATH=%CD%\plugins\platforms -start "" qmlviewer.exe \ No newline at end of file +start "" qmlviewer.exe %* \ No newline at end of file diff --git a/PyQt5/qt.conf b/PyQt5/qt.conf new file mode 100644 index 00000000..eac61128 --- /dev/null +++ b/PyQt5/qt.conf @@ -0,0 +1,3 @@ +[Paths] +Prefix = C:/Python27/Lib/site-packages/PyQt5 +Binaries = C:/Python27/Lib/site-packages/PyQt5