summaryrefslogtreecommitdiffstats
path: root/config.tests/gconf
diff options
context:
space:
mode:
authorXizhi Zhu <xizhi.zhu@nokia.com>2011-06-29 13:45:31 +0300
committerXizhi Zhu <xizhi.zhu@nokia.com>2011-06-29 13:45:31 +0300
commit5208788d994f0bbae21d4a00eb2d5a7d1cb63437 (patch)
tree922ed1c3c9175aa87b1b46b1a9ca3203a283c37b /config.tests/gconf
parent94615b909632d7121a55436634c4de6a1b5cf045 (diff)
Add compile test for GConf.
Diffstat (limited to 'config.tests/gconf')
-rw-r--r--config.tests/gconf/gconf.pro8
-rw-r--r--config.tests/gconf/main.cpp49
2 files changed, 57 insertions, 0 deletions
diff --git a/config.tests/gconf/gconf.pro b/config.tests/gconf/gconf.pro
new file mode 100644
index 00000000..2bbbfc52
--- /dev/null
+++ b/config.tests/gconf/gconf.pro
@@ -0,0 +1,8 @@
+TEMPLATE = app
+
+CONFIG += link_pkgconfig
+PKGCONFIG += gobject-2.0 gconf-2.0
+
+TARGET = gconf
+
+SOURCES += main.cpp
diff --git a/config.tests/gconf/main.cpp b/config.tests/gconf/main.cpp
new file mode 100644
index 00000000..8f520673
--- /dev/null
+++ b/config.tests/gconf/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 QtSystems module 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 <glib.h>
+#include <gconf/gconf-value.h>
+#include <gconf/gconf-client.h>
+
+int main()
+{
+ return 0;
+}