diff options
Diffstat (limited to 'config.tests/qws')
-rw-r--r-- | config.tests/qws/ahi/ahi.cpp | 50 | ||||
-rw-r--r-- | config.tests/qws/ahi/ahi.pro | 3 | ||||
-rw-r--r-- | config.tests/qws/directfb/directfb.cpp | 50 | ||||
-rw-r--r-- | config.tests/qws/directfb/directfb.pro | 5 | ||||
-rw-r--r-- | config.tests/qws/sound/sound.cpp | 49 | ||||
-rw-r--r-- | config.tests/qws/sound/sound.pro | 2 | ||||
-rw-r--r-- | config.tests/qws/svgalib/svgalib.cpp | 51 | ||||
-rw-r--r-- | config.tests/qws/svgalib/svgalib.pro | 3 |
8 files changed, 213 insertions, 0 deletions
diff --git a/config.tests/qws/ahi/ahi.cpp b/config.tests/qws/ahi/ahi.cpp new file mode 100644 index 0000000000..330d28bb1b --- /dev/null +++ b/config.tests/qws/ahi/ahi.cpp @@ -0,0 +1,50 @@ +/**************************************************************************** +** +** 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 config.tests of the Qt Toolkit. +** +** $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 <ahi.h> + +int main(int, char **) +{ + AhiInit(0); + AhiTerm(); + + return 0; +} diff --git a/config.tests/qws/ahi/ahi.pro b/config.tests/qws/ahi/ahi.pro new file mode 100644 index 0000000000..532a565bc4 --- /dev/null +++ b/config.tests/qws/ahi/ahi.pro @@ -0,0 +1,3 @@ +SOURCES = ahi.cpp +CONFIG -= qt +LIBS += -lahi -lahioem diff --git a/config.tests/qws/directfb/directfb.cpp b/config.tests/qws/directfb/directfb.cpp new file mode 100644 index 0000000000..df6576b9f4 --- /dev/null +++ b/config.tests/qws/directfb/directfb.cpp @@ -0,0 +1,50 @@ +/**************************************************************************** +** +** 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 config.tests of the Qt Toolkit. +** +** $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 <directfb.h> + +int main(int, char **) +{ + DFBResult result = DFB_OK; + result = DirectFBInit(0, 0); + + return (result == DFB_OK); +} diff --git a/config.tests/qws/directfb/directfb.pro b/config.tests/qws/directfb/directfb.pro new file mode 100644 index 0000000000..db14d3ba48 --- /dev/null +++ b/config.tests/qws/directfb/directfb.pro @@ -0,0 +1,5 @@ +SOURCES = directfb.cpp +CONFIG -= qt + +QMAKE_CXXFLAGS += $$QT_CFLAGS_DIRECTFB +LIBS += $$QT_LIBS_DIRECTFB diff --git a/config.tests/qws/sound/sound.cpp b/config.tests/qws/sound/sound.cpp new file mode 100644 index 0000000000..2a5d24d981 --- /dev/null +++ b/config.tests/qws/sound/sound.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 config.tests of the Qt Toolkit. +** +** $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 <sys/soundcard.h> + +int main(int, char **) +{ + audio_buf_info info; + + return 0; +} diff --git a/config.tests/qws/sound/sound.pro b/config.tests/qws/sound/sound.pro new file mode 100644 index 0000000000..4ad3376dca --- /dev/null +++ b/config.tests/qws/sound/sound.pro @@ -0,0 +1,2 @@ +SOURCES = sound.cpp +CONFIG -= qt diff --git a/config.tests/qws/svgalib/svgalib.cpp b/config.tests/qws/svgalib/svgalib.cpp new file mode 100644 index 0000000000..985c9ae958 --- /dev/null +++ b/config.tests/qws/svgalib/svgalib.cpp @@ -0,0 +1,51 @@ +/**************************************************************************** +** +** 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 config.tests of the Qt Toolkit. +** +** $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 <vga.h> +#include <vgagl.h> + +int main(int, char **) +{ + int mode = vga_getdefaultmode(); + gl_setcontextvga(mode); + + return 0; +} diff --git a/config.tests/qws/svgalib/svgalib.pro b/config.tests/qws/svgalib/svgalib.pro new file mode 100644 index 0000000000..169065239b --- /dev/null +++ b/config.tests/qws/svgalib/svgalib.pro @@ -0,0 +1,3 @@ +SOURCES = svgalib.cpp +CONFIG -= qt +LIBS += -lvgagl -lvga |