From 30d931b866bf6cdf7900d0c7f85734e0bfe03a6f Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Sun, 22 May 2016 19:03:56 +0200 Subject: Setup a Qt.labs.platform module This change just prepares the infrastructure and imports an icon loader helper that will be used for the platform menu, dialog, and system tray icon implementations. Change-Id: I34a93050a7c988134c3daa986aca6021eac7a4d1 Reviewed-by: Mitch Curtis --- tests/auto/platform/platform.pro | 12 ++++++++++++ tests/auto/platform/tst_platform.cpp | 38 ++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 tests/auto/platform/platform.pro create mode 100644 tests/auto/platform/tst_platform.cpp (limited to 'tests/auto/platform') diff --git a/tests/auto/platform/platform.pro b/tests/auto/platform/platform.pro new file mode 100644 index 00000000..e8f66d13 --- /dev/null +++ b/tests/auto/platform/platform.pro @@ -0,0 +1,12 @@ +TEMPLATE = app +TARGET = tst_platform +CONFIG += qmltestcase + +SOURCES += \ + $$PWD/tst_platform.cpp + +OTHER_FILES += \ + $$PWD/data/* + +TESTDATA += \ + $$PWD/data/tst_* diff --git a/tests/auto/platform/tst_platform.cpp b/tests/auto/platform/tst_platform.cpp new file mode 100644 index 00000000..3866f7c2 --- /dev/null +++ b/tests/auto/platform/tst_platform.cpp @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL3$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 3 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPLv3 included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 3 requirements +** will be met: https://www.gnu.org/licenses/lgpl.html. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 2.0 or later as published by the Free +** Software Foundation and appearing in the file LICENSE.GPL included in +** the packaging of this file. Please review the following information to +** ensure the GNU General Public License version 2.0 requirements will be +** met: http://www.gnu.org/licenses/gpl-2.0.html. +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include +QUICK_TEST_MAIN(tst_platform) -- cgit v1.2.3