summaryrefslogtreecommitdiffstats
path: root/tools/qmake/config.tests
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-08-05 14:02:53 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2016-08-05 12:56:45 +0000
commit3879f01f0ce065a1f9a16e5f898aed5111a62adc (patch)
tree39306ee25d584b1332ae65b40515a94bef97db4e /tools/qmake/config.tests
parentf893a642a3502c4b4c83574e589fdce0f49b83e8 (diff)
Remove libcap dependency
Chromium does not appear to use it anymore. Change-Id: I846fd869ffb15b832f208764fe8066f000187973 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'tools/qmake/config.tests')
-rw-r--r--tools/qmake/config.tests/libcap/libcap.cpp44
-rw-r--r--tools/qmake/config.tests/libcap/libcap.pro3
2 files changed, 0 insertions, 47 deletions
diff --git a/tools/qmake/config.tests/libcap/libcap.cpp b/tools/qmake/config.tests/libcap/libcap.cpp
deleted file mode 100644
index 1bea7b078..000000000
--- a/tools/qmake/config.tests/libcap/libcap.cpp
+++ /dev/null
@@ -1,44 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2015 The Qt Company Ltd.
-** Contact: http://www.qt.io/licensing/
-**
-** This file is part of the QtWebEngine 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 <sys/capability.h>
-
-int main(int, char **)
-{
- cap_t cap = cap_get_proc();
- const char *text = cap_to_text(cap, 0);
- return 0;
-}
diff --git a/tools/qmake/config.tests/libcap/libcap.pro b/tools/qmake/config.tests/libcap/libcap.pro
deleted file mode 100644
index 2c688f809..000000000
--- a/tools/qmake/config.tests/libcap/libcap.pro
+++ /dev/null
@@ -1,3 +0,0 @@
-linux: SOURCES += libcap.cpp
-LIBS += -lcap
-CONFIG -= qt