diff options
author | Ed Baak <ed.baak@nokia.com> | 2010-07-28 14:15:22 +1000 |
---|---|---|
committer | Ed Baak <ed.baak@nokia.com> | 2010-07-28 14:15:22 +1000 |
commit | 9bb272448ac6e538c436b52fe224a6bd2a75e80d (patch) | |
tree | 190051b907a367f8485482dafb3c542b63bd16ea /qtuitest.pri | |
parent | 8210814717e2950e8fb552a608ecc7e3e8e7beff (diff) |
Remove dependency to qtuitest libraries by including all code for qtuitestrunner in the binary.
Split up testdevicecontrol class in several sub-classes, one per device.
Diffstat (limited to 'qtuitest.pri')
-rw-r--r-- | qtuitest.pri | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/qtuitest.pri b/qtuitest.pri new file mode 100644 index 0000000..877fb75 --- /dev/null +++ b/qtuitest.pri @@ -0,0 +1,27 @@ +system(echo QMAKEFEATURES+=$$PWD/features >> $$OUT_PWD/.qmake.cache) + +unix:!mac:!symbian { + system(if ! [ -e $$OUT_PWD/features ]; then ln -sf $$PWD/features $$OUT_PWD/features; fi) + system(echo SRCROOT=$(readlink -f $$PWD) >> $$OUT_PWD/.qmake.cache) + system(echo BUILDROOT=$(readlink -f $$OUT_PWD) >> $$OUT_PWD/.qmake.cache) +} + +mac { + system(if ! [ -e $$OUT_PWD/features ]; then ln -sf $$PWD/features $$OUT_PWD/features; fi) + system(echo SRCROOT='$$PWD' >> $$OUT_PWD/.qmake.cache) + system(echo BUILDROOT='$$OUT_PWD' >> $$OUT_PWD/.qmake.cache) +} + +symbian { + system(echo SRCROOT=$$PWD >> $$OUT_PWD/.qmake.cache) + system(echo BUILDROOT=$$OUT_PWD >> $$OUT_PWD/.qmake.cache) +} + +win32 { + WIN_PWD=$$replace(PWD,/,\) + WIN_OUT_PWD=$$replace(OUT_PWD,/,\) + system(xcopy $$WIN_PWD\features $$WIN_OUT_PWD\features /E /I /D /Y) + system(echo SRCROOT=$$PWD >> $$OUT_PWD/.qmake.cache) + system(echo BUILDROOT=$$OUT_PWD >> $$OUT_PWD/.qmake.cache) + system(echo INSTALLROOT=$$OUT_PWD/bin >> $$OUT_PWD/.qmake.cache) +} |