From ccb985e9d0564eaf97e676d4691273ca2ea2a695 Mon Sep 17 00:00:00 2001 From: Janne Partala Date: Thu, 4 Jun 2015 16:22:39 +0300 Subject: Initial commit for QtSerialBus Change-Id: I314502cd1e95ecbd3ad5bcf63a7a81e0e1b415d4 Reviewed-by: Alex Blasche --- config.tests/socketcan/main.cpp | 44 ++++++++++++++++++++++++++++++ config.tests/socketcan/socketcan.pro | 4 +++ config.tests/socketcan_fd/main.cpp | 44 ++++++++++++++++++++++++++++++ config.tests/socketcan_fd/socketcan_fd.pro | 4 +++ 4 files changed, 96 insertions(+) create mode 100644 config.tests/socketcan/main.cpp create mode 100644 config.tests/socketcan/socketcan.pro create mode 100644 config.tests/socketcan_fd/main.cpp create mode 100644 config.tests/socketcan_fd/socketcan_fd.pro (limited to 'config.tests') diff --git a/config.tests/socketcan/main.cpp b/config.tests/socketcan/main.cpp new file mode 100644 index 0000000..b620d42 --- /dev/null +++ b/config.tests/socketcan/main.cpp @@ -0,0 +1,44 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the QtSerialBus module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** 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 +#include + +int main() +{ + can_frame frame; + return 0; +} + diff --git a/config.tests/socketcan/socketcan.pro b/config.tests/socketcan/socketcan.pro new file mode 100644 index 0000000..104ea1e --- /dev/null +++ b/config.tests/socketcan/socketcan.pro @@ -0,0 +1,4 @@ +TEMPLATE = app + +SOURCES += main.cpp + diff --git a/config.tests/socketcan_fd/main.cpp b/config.tests/socketcan_fd/main.cpp new file mode 100644 index 0000000..71d0cae --- /dev/null +++ b/config.tests/socketcan_fd/main.cpp @@ -0,0 +1,44 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the QtSerialBus module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** 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 +#include + +int main() +{ + canfd_frame frame; + return 0; +} + diff --git a/config.tests/socketcan_fd/socketcan_fd.pro b/config.tests/socketcan_fd/socketcan_fd.pro new file mode 100644 index 0000000..104ea1e --- /dev/null +++ b/config.tests/socketcan_fd/socketcan_fd.pro @@ -0,0 +1,4 @@ +TEMPLATE = app + +SOURCES += main.cpp + -- cgit v1.2.3