Tizen: Refactored mkspecs. One platform for all profiles.
authorTomasz Olszak <olszak.tomasz@gmail.com>
Tue, 10 Nov 2015 14:41:50 +0000 (15:41 +0100)
committerTomasz Olszak <olszak.tomasz@gmail.com>
Tue, 10 Nov 2015 14:41:50 +0000 (15:41 +0100)
Change-Id: I81527298ec771b6bb3215ab4eb3f577a5629608c
Reviewed-by: Jarosław Staniek <staniek@kde.org>
Reviewed-by: Leon Anavi <leon@anavi.org>
mkspecs/devices/linux-g++-tizen-emulator/qmake.conf [deleted file]
mkspecs/devices/linux-g++-tizen-emulator/qplatformdefs.h [deleted file]
mkspecs/devices/linux-g++-tizen-ivi/qmake.conf [deleted file]
mkspecs/devices/linux-g++-tizen-ivi/qplatformdefs.h [deleted file]
mkspecs/devices/linux-g++-tizen-mobile/qmake.conf [deleted file]
mkspecs/devices/linux-g++-tizen-mobile/qplatformdefs.h [deleted file]
mkspecs/devices/linux-g++-tizen/qmake.conf
src/plugins/platforminputcontexts/platforminputcontexts.pro

diff --git a/mkspecs/devices/linux-g++-tizen-emulator/qmake.conf b/mkspecs/devices/linux-g++-tizen-emulator/qmake.conf
deleted file mode 100644 (file)
index a4edbf0..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#Copyright (©) 2013  Tomasz Olszak <olszak.tomasz@gmail.com>
-#All rights reserved.
-#Redistribution and use in source and binary forms, with or without
-#modification, are permitted provided that the following conditions
-#are met:
-
-#1. Redistributions of source code must retain the copyright
-#   notice, this list of conditions and the following disclaimer.
-#2. Redistributions in binary form must reproduce the copyright
-#   notice, this list of conditions and the following disclaimer in the
-#   documentation and/or other materials provided with the distribution.
-#3. The name of the author may not be used to endorse or promote products
-#   derived from this software without specific prior written permission.
-
-#THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-#IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-#OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-#IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
-#INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-#NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-#DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-#THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-#(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-#THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-include(../common/linux_tizen_device_pre.conf)
-
-DEFINES += Q_OS_LINUX_TIZEN_SIMULATOR
-QT_QPA_DEFAULT_PLATFORM = xcb
-DEFINES += DFLT_XKB_CONFIG_ROOT='\\"/etc/X11/xkb\\"'
-
-load(qt_config)
diff --git a/mkspecs/devices/linux-g++-tizen-emulator/qplatformdefs.h b/mkspecs/devices/linux-g++-tizen-emulator/qplatformdefs.h
deleted file mode 100644 (file)
index 461f3d5..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-** Contact: http://www.qt-project.org/legal
-**
-** This file is part of the qmake spec 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 Digia.  For licensing terms and
-** conditions see http://qt.digia.com/licensing.  For further information
-** use the contact form at http://qt.digia.com/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 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, Digia gives you certain additional
-** rights.  These rights are described in the Digia Qt LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3.0 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 3.0 requirements will be
-** met: http://www.gnu.org/copyleft/gpl.html.
-**
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "../../linux-g++/qplatformdefs.h"
diff --git a/mkspecs/devices/linux-g++-tizen-ivi/qmake.conf b/mkspecs/devices/linux-g++-tizen-ivi/qmake.conf
deleted file mode 100644 (file)
index adb5906..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#Tizen ivi spec
-
-include(../common/linux_tizen_device_pre.conf)
-
-DEFINES += Q_OS_LINUX_TIZEN_IVI
-QT_QPA_DEFAULT_PLATFORM = wayland
-
-load(qt_config)
diff --git a/mkspecs/devices/linux-g++-tizen-ivi/qplatformdefs.h b/mkspecs/devices/linux-g++-tizen-ivi/qplatformdefs.h
deleted file mode 100644 (file)
index c665e82..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/****************************************************************************
-**
-** Copyright (©) 2013  Tomasz Olszak <olszak.tomasz@gmail.com>
-** Contact: http://www.qt-project.org/legal
-**
-** This file is part of the qmake spec 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 Digia.  For licensing terms and
-** conditions see http://qt.digia.com/licensing.  For further information
-** use the contact form at http://qt.digia.com/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 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, Digia gives you certain additional
-** rights.  These rights are described in the Digia Qt LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3.0 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 3.0 requirements will be
-** met: http://www.gnu.org/copyleft/gpl.html.
-**
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "../../linux-g++/qplatformdefs.h"
diff --git a/mkspecs/devices/linux-g++-tizen-mobile/qmake.conf b/mkspecs/devices/linux-g++-tizen-mobile/qmake.conf
deleted file mode 100644 (file)
index 8fa67b6..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# Tizen mobile spec
-
-include(../common/linux_tizen_device_pre.conf)
-
-DEFINES += Q_OS_LINUX_TIZEN_MOBILE
-QT_QPA_DEFAULT_PLATFORM = xcb
-DEFINES += DFLT_XKB_CONFIG_ROOT='\\"/etc/X11/xkb\\"'
-
-load(qt_config)
diff --git a/mkspecs/devices/linux-g++-tizen-mobile/qplatformdefs.h b/mkspecs/devices/linux-g++-tizen-mobile/qplatformdefs.h
deleted file mode 100644 (file)
index c665e82..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/****************************************************************************
-**
-** Copyright (©) 2013  Tomasz Olszak <olszak.tomasz@gmail.com>
-** Contact: http://www.qt-project.org/legal
-**
-** This file is part of the qmake spec 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 Digia.  For licensing terms and
-** conditions see http://qt.digia.com/licensing.  For further information
-** use the contact form at http://qt.digia.com/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 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, Digia gives you certain additional
-** rights.  These rights are described in the Digia Qt LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3.0 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 3.0 requirements will be
-** met: http://www.gnu.org/copyleft/gpl.html.
-**
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "../../linux-g++/qplatformdefs.h"
index ca3462492c8f5c82a0f6840f4c21d7dc2db32f38..b41ac92a0c4cee78354b6eeb04d2c440e6928fc4 100644 (file)
@@ -10,4 +10,6 @@ contains(TIZEN_PROFILE, mobile) {
     DEFINES += Q_OS_LINUX_TIZEN_GENERIC
 }
 
+!isEmpty(TIZEN_EMULATOR): DEFINES += QT_TIZEN_EMULATOR
+
 load(qt_config)
index afd3edaa97f9d3623e6f22edc28e4e89021ddd2c..54a4b215043212d7c861ead51f431dbbd5dfd864 100644 (file)
@@ -1,6 +1,6 @@
 TEMPLATE = subdirs
 
-!contains(DEFINES,Q_OS_LINUX_TIZEN_MOBILE):!contains(DEFINES,Q_OS_LINUX_TIZEN_SIMULATOR): {
+!contains(DEFINES,Q_OS_LINUX_TIZEN_MOBILE): {
     qtHaveModule(dbus) {
         !mac:!win32:SUBDIRS += ibus
     }