diff options
author | Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> | 2015-10-20 13:18:59 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> | 2015-10-22 10:08:51 +0000 |
commit | 31f9c57bc50ae053cfaf039a1dfdb128e2494458 (patch) | |
tree | 316138cb73c49877f5a80a8496c2f1b737122fb5 /tests/manual/kinectsurface/QtKinectWrapper/config.pro | |
parent | 4162ddeb02ee41fd4217d7f3d93d45cab3313ba8 (diff) |
Fix issues with COIN builds
-Fix miscellaneous compile errors
-Move manual tests to manual folder and enable export of autotests
-Added widgets requirement
-Fixed autotests
-Fixed renderer and controller synchronization in QML case
-Treat fallback Mesa as ES2 similar to setting AA_UseSoftwareOpenGL
Change-Id: If6619733725d079e339bef16262e5ea1450ab20f
Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
Diffstat (limited to 'tests/manual/kinectsurface/QtKinectWrapper/config.pro')
-rw-r--r-- | tests/manual/kinectsurface/QtKinectWrapper/config.pro | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/tests/manual/kinectsurface/QtKinectWrapper/config.pro b/tests/manual/kinectsurface/QtKinectWrapper/config.pro new file mode 100644 index 00000000..99ef60c1 --- /dev/null +++ b/tests/manual/kinectsurface/QtKinectWrapper/config.pro @@ -0,0 +1,60 @@ +# Include the configuration file below in the Qt .pro file, and modify the path accordingly. + +# <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< +# <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< +# QtKinectWrapper QtKinectWrapper QtKinectWrapper QtKinectWrapper +# ############################################################################## +# ############################################################################## +# Kinect: START OF CONFIGURATION BELOW -> +# +# Copy these lines at the end of your the project file of your application (.pro ) +# Check the lines indicated "Modify below" and adapt the path to: +# 1) QtKinectWrapper sources (i.e. where the QKinectWrapper.* files lie), +# 2) OpenNI path +# 3) Make sure the OpenNI, PrimeSense NITE, PrimeSense Kinect Sensor are all in your path +# +# -------------------------------- Modify below -------------------------------- + +# Set QTKINECTWRAPPER_SOURCE_PATH to point to the directory containing the QtKinectWrapper classes +QTKINECTWRAPPER_SOURCE_PATH = ../../QtKinectWrapper + +# Set OPENNI_LIBRARY_PATH to point to the directory where openNI is installed. Assumption: the import libraries are in $$OPENNI_LIBRARY_PATH/lib +# Multiple path can be specified (e.g. to handle x86 / x64 differences) +# Quotation marks with spaces +win32 { +OPENNI_LIBRARY_PATH = "C:/Program Files (x86)/OpenNI" +OPENNI_LIBRARY_PATH += "C:/Program Files/OpenNI" +} + +# ------------------------------ Copy as-is below ------------------------------ +# ############################################################################## +# ############################################################################## +# QtKinectWrapper QtKinectWrapper QtKinectWrapper QtKinectWrapper +# ############################################################################## +# Do not modify: default settings +# ############################################################################## +# Path for Qt wrapper +INCLUDEPATH += $$QTKINECTWRAPPER_SOURCE_PATH +# Sources for Qt wrapper +SOURCES += $$QTKINECTWRAPPER_SOURCE_PATH/QKinectWrapper.cpp +HEADERS += $$QTKINECTWRAPPER_SOURCE_PATH/QKinectWrapper.h + + + +win32 { + # Set the path to the patched openni/include + INCLUDEPATH += $$QTKINECTWRAPPER_SOURCE_PATH/OpenNI/Include + # Set the path to the Qt wrapper + INCLUDEPATH += $$QTKINECTWRAPPER_SOURCE_PATH + + # Iterate through + for(l, OPENNI_LIBRARY_PATH):LIBS+=-L$$l/lib + #LIBS += -L$$OPENNI_LIBRARY_PATH/lib + LIBS += -lopenNI +} + +# ############################################################################## +# ############################################################################## +# QtKinectWrapper QtKinectWrapper QtKinectWrapper QtKinectWrapper +# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> |