diff options
author | Oliver Wolff <oliver.wolff@digia.com> | 2013-09-02 10:55:55 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-14 09:51:14 +0200 |
commit | 6afbb462645f74b35fec95bf929b59a97e381438 (patch) | |
tree | a897dceea1db10fb6970ed8f2e7a5a6bc294488e /mkspecs/winphone-arm-msvc2012 | |
parent | 0adc96c1c4c663babeef7a6ddcafe7c075422eab (diff) |
build system support for WinRT
Done-With: Andrew Knight
Done-With: Oswald Buddenhagen
Change-Id: Ief4e921072a03229bb342480a85024a1fc09fa56
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'mkspecs/winphone-arm-msvc2012')
-rw-r--r-- | mkspecs/winphone-arm-msvc2012/qmake.conf | 15 | ||||
-rw-r--r-- | mkspecs/winphone-arm-msvc2012/qplatformdefs.h | 42 |
2 files changed, 57 insertions, 0 deletions
diff --git a/mkspecs/winphone-arm-msvc2012/qmake.conf b/mkspecs/winphone-arm-msvc2012/qmake.conf new file mode 100644 index 0000000000..1e31ac51d0 --- /dev/null +++ b/mkspecs/winphone-arm-msvc2012/qmake.conf @@ -0,0 +1,15 @@ +# +# qmake configuration for winphone-arm-msvc2012 +# +# Written for Microsoft Visual C++ 2012 +# + +include(../common/winrt_winphone/qmake.conf) +QMAKE_PLATFORM = winphone $$QMAKE_PLATFORM +DEFINES += WINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP ARM __ARM__ __arm__ QT_NO_CURSOR + +QMAKE_LFLAGS += /MACHINE:ARM + +QMAKE_LIBS += WindowsPhoneCore.lib PhoneAppModelHost.lib ws2_32.lib + +VCPROJ_ARCH = ARM diff --git a/mkspecs/winphone-arm-msvc2012/qplatformdefs.h b/mkspecs/winphone-arm-msvc2012/qplatformdefs.h new file mode 100644 index 0000000000..e03bce8e6c --- /dev/null +++ b/mkspecs/winphone-arm-msvc2012/qplatformdefs.h @@ -0,0 +1,42 @@ +/**************************************************************************** +** +** 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 "../win32-msvc2005/qplatformdefs.h" |