summaryrefslogtreecommitdiffstats
path: root/test/QT/moc-from-header.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/QT/moc-from-header.py')
-rw-r--r--test/QT/moc-from-header.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/QT/moc-from-header.py b/test/QT/moc-from-header.py
index 0bf6873..1dbcd0f 100644
--- a/test/QT/moc-from-header.py
+++ b/test/QT/moc-from-header.py
@@ -28,6 +28,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
Create a moc file from a header file.
"""
+import os
+
import TestSCons
test = TestSCons.TestSCons()
@@ -38,6 +40,10 @@ env = Environment()
test.Qt_dummy_installation()
+# We'll run some test programs later that need to find our dummy
+# Qt library.
+os.environ['LD_LIBRARY_PATH'] = test.QT_LIB_DIR
+
##############################################################################
aaa_exe = 'aaa' + TestSCons._exe