diff options
Diffstat (limited to 'config.tests')
38 files changed, 1067 insertions, 0 deletions
diff --git a/config.tests/FmTxClient/FmTxClient.pro b/config.tests/FmTxClient/FmTxClient.pro new file mode 100644 index 000000000..a6a71858d --- /dev/null +++ b/config.tests/FmTxClient/FmTxClient.pro @@ -0,0 +1,10 @@ +CONFIG -= qt +TEMPLATE = app + +# Input +SOURCES += main.cpp + +INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE +LIBS += -lhwrmfmtxclient + + diff --git a/config.tests/FmTxClient/main.cpp b/config.tests/FmTxClient/main.cpp new file mode 100644 index 000000000..32f47369d --- /dev/null +++ b/config.tests/FmTxClient/main.cpp @@ -0,0 +1,49 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Mobility Components. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ +#include <e32base.h> +#include <hwrmfmtx.h> + +int main(int, char**) +{ + CHWRMFmTx *fmTX = CHWRMFmTx::NewL(); + delete fmTX; +} + diff --git a/config.tests/audiorouting_s60/audiorouting_s60.pro b/config.tests/audiorouting_s60/audiorouting_s60.pro new file mode 100644 index 000000000..dc811944b --- /dev/null +++ b/config.tests/audiorouting_s60/audiorouting_s60.pro @@ -0,0 +1,9 @@ +CONFIG -= qt +TEMPLATE = app + +# Input +SOURCES += main.cpp + +#INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE +LIBS += -laudiooutputrouting + diff --git a/config.tests/audiorouting_s60/main.cpp b/config.tests/audiorouting_s60/main.cpp new file mode 100644 index 000000000..b8ac5cc58 --- /dev/null +++ b/config.tests/audiorouting_s60/main.cpp @@ -0,0 +1,46 @@ +/**************************************************************************** +** +** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Mobility Components. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +int main(int, char**) +{ + return 0; +} + diff --git a/config.tests/directshow/directshow.pro b/config.tests/directshow/directshow.pro new file mode 100644 index 000000000..526519851 --- /dev/null +++ b/config.tests/directshow/directshow.pro @@ -0,0 +1,9 @@ +CONFIG -= qt +CONFIG += console +TEMPLATE = app + +# Input +SOURCES += main.cpp + +LIBS += -lstrmiids -ldmoguids -luuid -lmsdmo -lole32 -loleaut32 + diff --git a/config.tests/directshow/main.cpp b/config.tests/directshow/main.cpp new file mode 100644 index 000000000..69d47c56c --- /dev/null +++ b/config.tests/directshow/main.cpp @@ -0,0 +1,49 @@ +/**************************************************************************** +** +** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Mobility Components. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include <dshow.h> +#include <d3d9.h> +#include <vmr9.h> + +int main(int, char**) +{ + return 0; +} diff --git a/config.tests/evr/evr.pro b/config.tests/evr/evr.pro new file mode 100644 index 000000000..bbdad3ffe --- /dev/null +++ b/config.tests/evr/evr.pro @@ -0,0 +1,6 @@ +CONFIG -= qt +CONFIG += console +TEMPLATE = app + +# Input +SOURCES += main.cpp diff --git a/config.tests/evr/main.cpp b/config.tests/evr/main.cpp new file mode 100644 index 000000000..674b2ff8f --- /dev/null +++ b/config.tests/evr/main.cpp @@ -0,0 +1,47 @@ +/**************************************************************************** +** +** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Mobility Components. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include <evr.h> + +int main(int, char**) +{ + return 0; +} diff --git a/config.tests/gstreamer-appsrc/gstreamer-appsrc.pro b/config.tests/gstreamer-appsrc/gstreamer-appsrc.pro new file mode 100644 index 000000000..6c003e4d9 --- /dev/null +++ b/config.tests/gstreamer-appsrc/gstreamer-appsrc.pro @@ -0,0 +1,19 @@ +TEMPLATE = app +TARGET = +DEPENDPATH += . +INCLUDEPATH += . + +# Input +SOURCES += main.cpp + +CONFIG += link_pkgconfig + +PKGCONFIG += \ + gstreamer-0.10 \ + gstreamer-base-0.10 \ + gstreamer-interfaces-0.10 \ + gstreamer-audio-0.10 \ + gstreamer-video-0.10 \ + gstreamer-app-0.10 + + diff --git a/config.tests/gstreamer-appsrc/main.cpp b/config.tests/gstreamer-appsrc/main.cpp new file mode 100644 index 000000000..4033efeb4 --- /dev/null +++ b/config.tests/gstreamer-appsrc/main.cpp @@ -0,0 +1,49 @@ +/**************************************************************************** +** +** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Mobility Components. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#define GST_USE_UNSTABLE_API + +#include <gst/app/gstappsrc.h> + +int main(int argc, char** argv) +{ + return 0; +} diff --git a/config.tests/gstreamer-photography/gstreamer-photography.pro b/config.tests/gstreamer-photography/gstreamer-photography.pro new file mode 100644 index 000000000..e2b530286 --- /dev/null +++ b/config.tests/gstreamer-photography/gstreamer-photography.pro @@ -0,0 +1,19 @@ +TEMPLATE = app +TARGET = +DEPENDPATH += . +INCLUDEPATH += . + +# Input +SOURCES += main.cpp + +CONFIG += link_pkgconfig + +PKGCONFIG += \ + gstreamer-0.10 \ + gstreamer-base-0.10 \ + gstreamer-interfaces-0.10 \ + gstreamer-audio-0.10 \ + gstreamer-video-0.10 + +LIBS += -lgstphotography-0.10 + diff --git a/config.tests/gstreamer-photography/main.cpp b/config.tests/gstreamer-photography/main.cpp new file mode 100644 index 000000000..3a82121c9 --- /dev/null +++ b/config.tests/gstreamer-photography/main.cpp @@ -0,0 +1,50 @@ +/**************************************************************************** +** +** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Mobility Components. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#define GST_USE_UNSTABLE_API + +#include <gst/interfaces/photography.h> +#include <gst/interfaces/photography-enumtypes.h> + +int main(int argc, char** argv) +{ + return 0; +} diff --git a/config.tests/make/make.pro b/config.tests/make/make.pro new file mode 100644 index 000000000..24ff56af2 --- /dev/null +++ b/config.tests/make/make.pro @@ -0,0 +1,11 @@ +message($$MAKEFILE_GENERATOR) +contains(MAKEFILE_GENERATOR, SYMBIAN_ABLD) { + message(symbian-abld) +} else:contains(MAKEFILE_GENERATOR, SYMBIAN_SBSV2) { + message(symbian-sbsv2) +} else:contains(MAKEFILE_GENERATOR, MSVC)|contains(MAKEFILE_GENERATOR, MSVC.NET)|contains(MAKEFILE_GENERATOR, MSBUILD) { + message(win32-nmake) +} else:contains(MAKEFILE_GENERATOR, MINGW) { + message(win32-mingw) +} + diff --git a/config.tests/mmf_http_cookies/main.cpp b/config.tests/mmf_http_cookies/main.cpp new file mode 100644 index 000000000..f4aa1c363 --- /dev/null +++ b/config.tests/mmf_http_cookies/main.cpp @@ -0,0 +1,49 @@ +/**************************************************************************** +** +** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Mobility Components. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include "\epoc32\include\platform\mw\MMFSessionInfoCustomCommandConstants.h" + +int main(int argc, char *argv[]) +{ + TMMFSessionInfoControllerMessage m; + + return 0; +} diff --git a/config.tests/mmf_http_cookies/mmf_http_cookies.pro b/config.tests/mmf_http_cookies/mmf_http_cookies.pro new file mode 100644 index 000000000..1f916a4c2 --- /dev/null +++ b/config.tests/mmf_http_cookies/mmf_http_cookies.pro @@ -0,0 +1,7 @@ +TEMPLATE = app +TARGET = +DEPENDPATH += . +INCLUDEPATH += . + +# Input +SOURCES += main.cpp diff --git a/config.tests/openmaxal_symbian/main.cpp b/config.tests/openmaxal_symbian/main.cpp new file mode 100644 index 000000000..e9179c52e --- /dev/null +++ b/config.tests/openmaxal_symbian/main.cpp @@ -0,0 +1,45 @@ +/**************************************************************************** +** +** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Mobility Components. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +int main(int, char**) +{ + return 0; +} diff --git a/config.tests/openmaxal_symbian/openmaxal_symbian.pro b/config.tests/openmaxal_symbian/openmaxal_symbian.pro new file mode 100644 index 000000000..dd8bd065d --- /dev/null +++ b/config.tests/openmaxal_symbian/openmaxal_symbian.pro @@ -0,0 +1,7 @@ +CONFIG -= qt +TEMPLATE = app + +# Input +SOURCES += main.cpp + +LIBS += -lopenmaxal diff --git a/config.tests/pulseaudio/pulseaudio.cpp b/config.tests/pulseaudio/pulseaudio.cpp new file mode 100644 index 000000000..3c39cc218 --- /dev/null +++ b/config.tests/pulseaudio/pulseaudio.cpp @@ -0,0 +1,55 @@ +/**************************************************************************** +** +** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Mobility Components. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include <pulse/pulseaudio.h> +#include <pulse/glib-mainloop.h> + +#if !defined(PA_API_VERSION) || PA_API_VERSION-0 != 12 +# error "Incompatible PulseAudio API version" +#endif + +int main(int, char **) +{ + const char *headers = pa_get_headers_version(); + const char *library = pa_get_library_version(); + pa_glib_mainloop_new(0); + return (headers - library) * 0; +} diff --git a/config.tests/pulseaudio/pulseaudio.pro b/config.tests/pulseaudio/pulseaudio.pro new file mode 100644 index 000000000..6f121fed7 --- /dev/null +++ b/config.tests/pulseaudio/pulseaudio.pro @@ -0,0 +1,8 @@ +SOURCES = pulseaudio.cpp +CONFIG -= qt +LIBS += +CONFIG += link_pkgconfig + +PKGCONFIG += \ + libpulse \ + libpulse-mainloop-glib diff --git a/config.tests/radioutility_s60/main.cpp b/config.tests/radioutility_s60/main.cpp new file mode 100644 index 000000000..b8ac5cc58 --- /dev/null +++ b/config.tests/radioutility_s60/main.cpp @@ -0,0 +1,46 @@ +/**************************************************************************** +** +** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Mobility Components. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +int main(int, char**) +{ + return 0; +} + diff --git a/config.tests/radioutility_s60/radioutility_s60.pro b/config.tests/radioutility_s60/radioutility_s60.pro new file mode 100644 index 000000000..af46cacdb --- /dev/null +++ b/config.tests/radioutility_s60/radioutility_s60.pro @@ -0,0 +1,9 @@ +CONFIG -= qt +TEMPLATE = app + +# Input +SOURCES += main.cpp + +#INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE +LIBS += -lRadio_Utility + diff --git a/config.tests/surfaces_s60/main.cpp b/config.tests/surfaces_s60/main.cpp new file mode 100644 index 000000000..8ee82f940 --- /dev/null +++ b/config.tests/surfaces_s60/main.cpp @@ -0,0 +1,48 @@ +/**************************************************************************** +** +** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Mobility Components. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ +#include <videoplayer2.h> + + +int main(int, char**) +{ + CVideoPlayerUtility2 *utility; + return 0; +} diff --git a/config.tests/surfaces_s60/surfaces_s60.pro b/config.tests/surfaces_s60/surfaces_s60.pro new file mode 100644 index 000000000..4695e6783 --- /dev/null +++ b/config.tests/surfaces_s60/surfaces_s60.pro @@ -0,0 +1,8 @@ +CONFIG -= qt +TEMPLATE = app + +# Input +SOURCES += main.cpp + +INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE +LIBS += -mediaclientvideo.lib
\ No newline at end of file diff --git a/config.tests/symbian_camera_camautofocus/main.cpp b/config.tests/symbian_camera_camautofocus/main.cpp new file mode 100644 index 000000000..e9179c52e --- /dev/null +++ b/config.tests/symbian_camera_camautofocus/main.cpp @@ -0,0 +1,45 @@ +/**************************************************************************** +** +** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Mobility Components. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +int main(int, char**) +{ + return 0; +} diff --git a/config.tests/symbian_camera_camautofocus/symbian_camera_camautofocus.pro b/config.tests/symbian_camera_camautofocus/symbian_camera_camautofocus.pro new file mode 100644 index 000000000..276ebd5a1 --- /dev/null +++ b/config.tests/symbian_camera_camautofocus/symbian_camera_camautofocus.pro @@ -0,0 +1,7 @@ +CONFIG -= qt +TEMPLATE = app + +# Input +SOURCES += main.cpp + +LIBS += -lCamAutoFocus_s diff --git a/config.tests/symbian_camera_devvideorecord/main.cpp b/config.tests/symbian_camera_devvideorecord/main.cpp new file mode 100644 index 000000000..e9179c52e --- /dev/null +++ b/config.tests/symbian_camera_devvideorecord/main.cpp @@ -0,0 +1,45 @@ +/**************************************************************************** +** +** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Mobility Components. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +int main(int, char**) +{ + return 0; +} diff --git a/config.tests/symbian_camera_devvideorecord/symbian_camera_devvideorecord.pro b/config.tests/symbian_camera_devvideorecord/symbian_camera_devvideorecord.pro new file mode 100644 index 000000000..d2fcab731 --- /dev/null +++ b/config.tests/symbian_camera_devvideorecord/symbian_camera_devvideorecord.pro @@ -0,0 +1,7 @@ +CONFIG -= qt +TEMPLATE = app + +# Input +SOURCES += main.cpp + +LIBS += -ldevvideo diff --git a/config.tests/symbian_camera_ecamadvsettings/main.cpp b/config.tests/symbian_camera_ecamadvsettings/main.cpp new file mode 100644 index 000000000..e9179c52e --- /dev/null +++ b/config.tests/symbian_camera_ecamadvsettings/main.cpp @@ -0,0 +1,45 @@ +/**************************************************************************** +** +** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Mobility Components. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +int main(int, char**) +{ + return 0; +} diff --git a/config.tests/symbian_camera_ecamadvsettings/symbian_camera_ecamadvsettings.pro b/config.tests/symbian_camera_ecamadvsettings/symbian_camera_ecamadvsettings.pro new file mode 100644 index 000000000..9006fc6a9 --- /dev/null +++ b/config.tests/symbian_camera_ecamadvsettings/symbian_camera_ecamadvsettings.pro @@ -0,0 +1,7 @@ +CONFIG -= qt +TEMPLATE = app + +# Input +SOURCES += main.cpp + +LIBS += -lecamadvsettings diff --git a/config.tests/symbian_camera_snapshot/main.cpp b/config.tests/symbian_camera_snapshot/main.cpp new file mode 100644 index 000000000..e9179c52e --- /dev/null +++ b/config.tests/symbian_camera_snapshot/main.cpp @@ -0,0 +1,45 @@ +/**************************************************************************** +** +** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Mobility Components. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +int main(int, char**) +{ + return 0; +} diff --git a/config.tests/symbian_camera_snapshot/symbian_camera_snapshot.pro b/config.tests/symbian_camera_snapshot/symbian_camera_snapshot.pro new file mode 100644 index 000000000..26a7bc2aa --- /dev/null +++ b/config.tests/symbian_camera_snapshot/symbian_camera_snapshot.pro @@ -0,0 +1,7 @@ +CONFIG -= qt +TEMPLATE = app + +# Input +SOURCES += main.cpp + +LIBS += -lecamsnapshot diff --git a/config.tests/tools/which.test b/config.tests/tools/which.test new file mode 100755 index 000000000..749a73bc3 --- /dev/null +++ b/config.tests/tools/which.test @@ -0,0 +1,40 @@ +#!/bin/sh +#borrowed from Qt + +HOME=/dev/null +export HOME + +unset which + +WHICH=`which which 2>/dev/null` +if echo $WHICH | grep 'shell built-in command' >/dev/null 2>&1; then + WHICH=which +elif [ -z "$WHICH" ]; then + if which which >/dev/null 2>&1; then + WHICH=which + else + for a in /usr/ucb /usr/bin /bin /usr/local/bin; do + if [ -x $a/which ]; then + WHICH=$a/which + break; + fi + done + fi +fi + +if [ -z "$WHICH" ]; then + IFS=: + for a in $PATH; do + if [ -x $a/$1 ]; then + echo "$a/$1" + exit 0 + fi + done +else + a=`"$WHICH" "$1" 2>/dev/null` + if [ ! -z "$a" -a -x "$a" ]; then + echo "$a" + exit 0 + fi +fi +exit 1 diff --git a/config.tests/tunerlib_s60/main.cpp b/config.tests/tunerlib_s60/main.cpp new file mode 100644 index 000000000..763b92453 --- /dev/null +++ b/config.tests/tunerlib_s60/main.cpp @@ -0,0 +1,46 @@ +/**************************************************************************** +** +** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Mobility Components. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +int main(int, char**) +{ + return 0; +} + diff --git a/config.tests/tunerlib_s60/tunerlib_s60.pro b/config.tests/tunerlib_s60/tunerlib_s60.pro new file mode 100644 index 000000000..24c15a616 --- /dev/null +++ b/config.tests/tunerlib_s60/tunerlib_s60.pro @@ -0,0 +1,9 @@ +CONFIG -= qt +TEMPLATE = app + +# Input +SOURCES += main.cpp + +#INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE +LIBS += -ltunerutility + diff --git a/config.tests/wmp/main.cpp b/config.tests/wmp/main.cpp new file mode 100644 index 000000000..fe8225fb2 --- /dev/null +++ b/config.tests/wmp/main.cpp @@ -0,0 +1,47 @@ +/**************************************************************************** +** +** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Mobility Components. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include <wmp.h> + +int main(int, char**) +{ + return 0; +} diff --git a/config.tests/wmp/wmp.pro b/config.tests/wmp/wmp.pro new file mode 100644 index 000000000..b00754e59 --- /dev/null +++ b/config.tests/wmp/wmp.pro @@ -0,0 +1,9 @@ +CONFIG -= qt +CONFIG += console +TEMPLATE = app + +# Input +SOURCES += main.cpp + +LIBS += -lstrmiids -lole32 -lOleaut32 -luser32 -lgdi32 + diff --git a/config.tests/wmsdk/main.cpp b/config.tests/wmsdk/main.cpp new file mode 100644 index 000000000..e73ceafa6 --- /dev/null +++ b/config.tests/wmsdk/main.cpp @@ -0,0 +1,47 @@ +/**************************************************************************** +** +** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the Qt Mobility Components. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include <wmsdk.h> + +int main(int, char**) +{ + return 0; +} diff --git a/config.tests/wmsdk/wmsdk.pro b/config.tests/wmsdk/wmsdk.pro new file mode 100644 index 000000000..bbdad3ffe --- /dev/null +++ b/config.tests/wmsdk/wmsdk.pro @@ -0,0 +1,6 @@ +CONFIG -= qt +CONFIG += console +TEMPLATE = app + +# Input +SOURCES += main.cpp |