diff options
Diffstat (limited to 'test/QT/Tool.py')
-rw-r--r-- | test/QT/Tool.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/QT/Tool.py b/test/QT/Tool.py index 3ccabf7..6c4a2eb 100644 --- a/test/QT/Tool.py +++ b/test/QT/Tool.py @@ -133,8 +133,8 @@ def AttemptLinkWithVariables(context, variables, code, extension, prefix): env = Environment(CPPPATH=['.'], LIBPATH=['.'], LIBS=[]) -opts = Options('lprof.conf') -opts.Add(PathOption("qt_directory", "Path to Qt directory", "/")) +opts = Variables('lprof.conf') +opts.Add(PathVariable("qt_directory", "Path to Qt directory", "/")) opts.Update(env) env['QT_LIB'] = 'qt-mt' |