Commit 3ec4c5c6 authored by jcfr's avatar jcfr
Browse files

BUG: SlicerQT - Designer.py was unnecessarily setting PATH - only QT_PLUGIN_PATH is required

git-svn-id: http://svn.slicer.org/Slicer4/trunk@11996 3bd1e089-480b-0410-8dfb-8563597acbee
parent fdc15383
......@@ -3,7 +3,6 @@
After been configured properly using CMAKE,
this module allows to:
- update the environment variable QT_PLUGIN_PATH with Slicer QT Plugin path
- update PATH with Slicer libraries
- start the designer
"""
......@@ -15,7 +14,6 @@ def startDesigner(open_command, argv):
"Start QT Designer"
addEnvVariable('QT_PLUGIN_PATH', toCygwinPath('@LIBRARY_OUTPUT_DIRECTORY@'))
addEnvVariable('PATH', toCygwinPath('@LIBRARY_OUTPUT_DIRECTORY@'))
openCmd = open_command+'@QT_BINARY_DIR@'+os.sep+argv[0]
print openCmd
os.system(openCmd + " " + argv[1])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment