diff options
Diffstat (limited to 'config.tests')
-rw-r--r-- | config.tests/gypsy/CMakeLists.txt | 23 | ||||
-rw-r--r-- | config.tests/gypsy/gypsy.pro | 2 | ||||
-rw-r--r-- | config.tests/gypsy/main.cpp | 44 | ||||
-rw-r--r-- | config.tests/winrt/CMakeLists.txt | 29 | ||||
-rw-r--r-- | config.tests/winrt/main.cpp | 47 | ||||
-rw-r--r-- | config.tests/winrt/winrt.pro | 5 |
6 files changed, 0 insertions, 150 deletions
diff --git a/config.tests/gypsy/CMakeLists.txt b/config.tests/gypsy/CMakeLists.txt deleted file mode 100644 index f9a873a5..00000000 --- a/config.tests/gypsy/CMakeLists.txt +++ /dev/null @@ -1,23 +0,0 @@ -# Generated from gypsy.pro. - -cmake_minimum_required(VERSION 3.16) -project(config_test_gypsy LANGUAGES C CXX) - -foreach(p ${QT_CONFIG_COMPILE_TEST_PACKAGES}) - find_package(${p}) -endforeach() - -if(QT_CONFIG_COMPILE_TEST_LIBRARIES) - link_libraries(${QT_CONFIG_COMPILE_TEST_LIBRARIES}) -endif() -if(QT_CONFIG_COMPILE_TEST_LIBRARY_TARGETS) - foreach(lib ${QT_CONFIG_COMPILE_TEST_LIBRARY_TARGETS}) - if(TARGET ${lib}) - link_libraries(${lib}) - endif() - endforeach() -endif() - -add_executable(${PROJECT_NAME} - main.cpp -) diff --git a/config.tests/gypsy/gypsy.pro b/config.tests/gypsy/gypsy.pro deleted file mode 100644 index 93d56eb1..00000000 --- a/config.tests/gypsy/gypsy.pro +++ /dev/null @@ -1,2 +0,0 @@ -TEMPLATE = app -SOURCES += main.cpp diff --git a/config.tests/gypsy/main.cpp b/config.tests/gypsy/main.cpp deleted file mode 100644 index 2b8d3cab..00000000 --- a/config.tests/gypsy/main.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtLocation module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** 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 https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include <gypsy/gypsy-satellite.h> -#include <gypsy/gypsy-control.h> -#include <gypsy/gypsy-device.h> -#include <gconf/gconf-client.h> - -int main() -{ - GypsyControl *control = gypsy_control_get_default(); - GypsyDevice *device = gypsy_device_new("test"); - GypsySatellite *satellite = gypsy_satellite_new("test"); - - GConfClient *client = gconf_client_get_default(); - g_object_unref(client); - - return 0; -} diff --git a/config.tests/winrt/CMakeLists.txt b/config.tests/winrt/CMakeLists.txt deleted file mode 100644 index ab7567b1..00000000 --- a/config.tests/winrt/CMakeLists.txt +++ /dev/null @@ -1,29 +0,0 @@ -# Generated from winrt.pro. - -cmake_minimum_required(VERSION 3.16) -project(config_test_winrt LANGUAGES C CXX) - -foreach(p ${QT_CONFIG_COMPILE_TEST_PACKAGES}) - find_package(${p}) -endforeach() - -if(QT_CONFIG_COMPILE_TEST_LIBRARIES) - link_libraries(${QT_CONFIG_COMPILE_TEST_LIBRARIES}) -endif() -if(QT_CONFIG_COMPILE_TEST_LIBRARY_TARGETS) - foreach(lib ${QT_CONFIG_COMPILE_TEST_LIBRARY_TARGETS}) - if(TARGET ${lib}) - link_libraries(${lib}) - endif() - endforeach() -endif() - -add_executable(${PROJECT_NAME} - main.cpp -) - -if(MSVC) - target_link_libraries(${PROJECT_NAME} PRIVATE - runtimeobject.lib - ) -endif() diff --git a/config.tests/winrt/main.cpp b/config.tests/winrt/main.cpp deleted file mode 100644 index ff1eb810..00000000 --- a/config.tests/winrt/main.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtPositioning module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:GPL-EXCEPT$ -** 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 https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include <functional> -#include <windows.system.h> -#include <windows.devices.geolocation.h> -#include <windows.foundation.h> -#include <wrl.h> - -using namespace Microsoft::WRL::Wrappers; -using namespace ABI::Windows::Devices::Geolocation; -using namespace ABI::Windows::Foundation; - -typedef IAsyncOperationCompletedHandler<GeolocationAccessStatus> AccessHandler; - -int main(int, char**) -{ - IGeolocator *locator; - RoActivateInstance(HString::MakeReference(RuntimeClass_Windows_Devices_Geolocation_Geolocator).Get(), - reinterpret_cast<IInspectable**>(&locator)); - return 0; -} diff --git a/config.tests/winrt/winrt.pro b/config.tests/winrt/winrt.pro deleted file mode 100644 index 06c2249e..00000000 --- a/config.tests/winrt/winrt.pro +++ /dev/null @@ -1,5 +0,0 @@ -SOURCES += main.cpp -msvc { - LIBS += runtimeobject.lib - CONFIG += console -} |