Merge remote-tracking branch 'origin/5.9' into dev
Conflicts: src/network/access/qnetworkreply.cpp tests/auto/corelib/kernel/qmetaobject/tst_qmetaobject.cpp Change-Id: Iadf766269454087e69fb216fc3857d85b0ddfaad
This commit is contained in:
commit
d1ea481345
@ -37,10 +37,17 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include <alloca.h>
|
||||
|
||||
#if defined(USE_ALLOCA_H)
|
||||
# include <alloca.h>
|
||||
# ifdef __QNXNTO__
|
||||
// extra include needed in QNX7 to define NULL for the alloca() macro
|
||||
#include <stdlib.h>
|
||||
# include <stddef.h>
|
||||
# endif
|
||||
#elif defined(USE_MALLOC_H)
|
||||
# include <malloc.h>
|
||||
#else
|
||||
# include <stdlib.h>
|
||||
#endif
|
||||
|
||||
int main(int, char **)
|
||||
{
|
||||
|
@ -83,6 +83,7 @@ Build options:
|
||||
debugging turned on [yes] (Apple and Windows only)
|
||||
-optimize-debug ...... Enable debug-friendly optimizations in debug builds
|
||||
[auto] (Not supported with MSVC)
|
||||
-optimize-size ....... Optimize release builds for size instead of speed [no]
|
||||
-optimized-tools ..... Build optimized host tools even in debug build [no]
|
||||
-force-debug-info .... Create symbol files for release builds [no]
|
||||
-separate-debug-info . Split off debug information to separate files [no]
|
||||
|
79
configure
vendored
79
configure
vendored
@ -73,6 +73,15 @@ if [ -z "$MAKE" ]; then
|
||||
export MAKE
|
||||
fi
|
||||
|
||||
# make sure qmake is not confused by these. recursion via Makefiles would
|
||||
# be still affected, so just unsetting them here is not an option.
|
||||
if [ -n "$QMAKESPEC" ] || [ -n "$XQMAKESPEC" ] || \
|
||||
[ -n "$QMAKEPATH" ] || [ -n "$QMAKEFEATURES" ]; then
|
||||
echo >&2 "Please make sure to unset the QMAKESPEC, XQMAKESPEC, QMAKEPATH,"
|
||||
echo >&2 "and QMAKEFEATURES environment variables prior to building Qt."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# do this early so we don't store it in config.status
|
||||
CFG_TOPLEVEL=
|
||||
relpathMangled=$relpath
|
||||
@ -552,23 +561,12 @@ if [ -z "$PLATFORM" ]; then
|
||||
;;
|
||||
AIX:*)
|
||||
#PLATFORM=aix-g++
|
||||
#PLATFORM=aix-g++-64
|
||||
PLATFORM=aix-xlc
|
||||
#PLATFORM=aix-xlc-64
|
||||
PLATFORM_NOTES="AIX: aix-g++ aix-g++-64 aix-xlc-64"
|
||||
PLATFORM=aix-g++-64
|
||||
PLATFORM_NOTES="AIX: aix-g++ aix-g++-64"
|
||||
;;
|
||||
GNU:*)
|
||||
PLATFORM=hurd-g++
|
||||
;;
|
||||
dgux:*)
|
||||
PLATFORM=dgux-g++
|
||||
;;
|
||||
# DYNIX/ptx:4*)
|
||||
# PLATFORM=dynix-g++
|
||||
# ;;
|
||||
ULTRIX:*)
|
||||
PLATFORM=ultrix-g++
|
||||
;;
|
||||
FreeBSD:*)
|
||||
if [ "$(uname -r | cut -d. -f1)" -ge 10 ]; then
|
||||
PLATFORM=freebsd-clang
|
||||
@ -584,51 +582,22 @@ if [ -z "$PLATFORM" ]; then
|
||||
NetBSD:*)
|
||||
PLATFORM=netbsd-g++
|
||||
;;
|
||||
BSD/OS:*|BSD/386:*)
|
||||
PLATFORM=bsdi-g++
|
||||
;;
|
||||
IRIX*:*)
|
||||
#PLATFORM=irix-g++
|
||||
PLATFORM=irix-cc
|
||||
#PLATFORM=irix-cc-64
|
||||
PLATFORM_NOTES="IRIX: irix-g++ irix-cc-64"
|
||||
;;
|
||||
HP-UX:*)
|
||||
case "$UNAME_MACHINE" in
|
||||
ia64)
|
||||
#PLATFORM=hpuxi-acc-32
|
||||
PLATFORM=hpuxi-acc-64
|
||||
PLATFORM_NOTES="HP-UXi: hpuxi-acc-32"
|
||||
;;
|
||||
*)
|
||||
#PLATFORM=hpux-g++
|
||||
PLATFORM=hpux-acc
|
||||
#PLATFORM=hpux-acc-64
|
||||
#PLATFORM=hpux-cc
|
||||
#PLATFORM=hpux-acc-o64
|
||||
PLATFORM_NOTES="HP-UX: hpux-g++ hpux-acc-64 hpux-acc-o64"
|
||||
PLATFORM=hpuxi-g++-64
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
OSF1:*)
|
||||
#PLATFORM=tru64-g++
|
||||
PLATFORM=tru64-cxx
|
||||
PLATFORM_NOTES="Tru64: tru64-g++"
|
||||
;;
|
||||
Linux:*)
|
||||
PLATFORM=linux-g++
|
||||
PLATFORM_NOTES="Linux: linux-clang linux-kcc linux-icc linux-cxx"
|
||||
PLATFORM_NOTES="Linux: linux-clang linux-icc"
|
||||
;;
|
||||
SunOS:5*)
|
||||
#PLATFORM=solaris-g++
|
||||
#PLATFORM=solaris-g++-64
|
||||
PLATFORM=solaris-cc
|
||||
#PLATFORM=solaris-cc64
|
||||
PLATFORM_NOTES="Solaris: solaris-g++ solaris-cc-64"
|
||||
;;
|
||||
ReliantUNIX-*:*|SINIX-*:*)
|
||||
PLATFORM=reliant-cds
|
||||
#PLATFORM=reliant-cds-64
|
||||
PLATFORM_NOTES="Reliant UNIX: reliant-cds-64"
|
||||
PLATFORM_NOTES="Solaris: solaris-g++-64 solaris-cc-64"
|
||||
;;
|
||||
CYGWIN*:*)
|
||||
PLATFORM=cygwin-g++
|
||||
@ -636,24 +605,6 @@ if [ -z "$PLATFORM" ]; then
|
||||
LynxOS*:*)
|
||||
PLATFORM=lynxos-g++
|
||||
;;
|
||||
OpenUNIX:*)
|
||||
#PLATFORM=unixware-g++
|
||||
PLATFORM=unixware-cc
|
||||
PLATFORM_NOTES="OpenUNIX: unixware-g++"
|
||||
;;
|
||||
UnixWare:*)
|
||||
#PLATFORM=unixware-g++
|
||||
PLATFORM=unixware-cc
|
||||
PLATFORM_NOTES="UnixWare: unixware-g++"
|
||||
;;
|
||||
SCO_SV:*)
|
||||
#PLATFORM=sco-g++
|
||||
PLATFORM=sco-cc
|
||||
PLATFORM_NOTES="SCO OpenServer: sco-g++"
|
||||
;;
|
||||
UNIX_SV:*)
|
||||
PLATFORM=unixware-g++
|
||||
;;
|
||||
QNX:*)
|
||||
PLATFORM=unsupported/qnx-g++
|
||||
;;
|
||||
|
@ -34,6 +34,19 @@ set QTSRC=%~dp0
|
||||
set QTSRC=%QTSRC:~0,-1%
|
||||
set QTDIR=%CD%
|
||||
|
||||
rem Make sure qmake is not confused by these. Recursion via Makefiles would
|
||||
rem be still affected, so just unsetting them here is not an option.
|
||||
if not "%QMAKESPEC%" == "" goto envfail
|
||||
if not "%XQMAKESPEC%" == "" goto envfail
|
||||
if not "%QMAKEPATH%" == "" goto envfail
|
||||
if not "%QMAKEFEATURES%" == "" goto envfail
|
||||
goto envok
|
||||
:envfail
|
||||
echo >&2 Please make sure to unset the QMAKESPEC, XQMAKESPEC, QMAKEPATH,
|
||||
echo >&2 and QMAKEFEATURES environment variables prior to building Qt.
|
||||
exit /b 1
|
||||
:envok
|
||||
|
||||
rem Parse command line
|
||||
|
||||
set TOPLEVEL=false
|
||||
|
@ -93,6 +93,7 @@
|
||||
"nomake": { "type": "addString", "values": [ "examples", "tests", "tools" ] },
|
||||
"opensource": { "type": "void", "name": "commercial", "value": "no" },
|
||||
"optimize-debug": { "type": "boolean", "name": "optimize_debug" },
|
||||
"optimize-size": { "type": "boolean", "name": "optimize_size" },
|
||||
"optimized-qmake": { "type": "boolean", "name": "release_tools" },
|
||||
"optimized-tools": { "type": "boolean", "name": "release_tools" },
|
||||
"pch": { "type": "boolean", "name": "precompile_header" },
|
||||
@ -415,11 +416,23 @@
|
||||
"type": "compile",
|
||||
"test": "unix/posix_fallocate"
|
||||
},
|
||||
"alloca": {
|
||||
"label": "alloca()",
|
||||
"alloca_stdlib_h": {
|
||||
"label": "alloca() in stdlib.h",
|
||||
"type": "compile",
|
||||
"test": "common/alloca"
|
||||
},
|
||||
"alloca_h": {
|
||||
"label": "alloca() in alloca.h",
|
||||
"type": "compile",
|
||||
"test": "common/alloca",
|
||||
"args": "DEFINES+=USE_ALLOCA_H"
|
||||
},
|
||||
"alloca_malloc_h": {
|
||||
"label": "alloca() in malloc.h",
|
||||
"type": "compile",
|
||||
"test": "common/alloca",
|
||||
"args": "DEFINES+=USE_MALLOC_H"
|
||||
},
|
||||
"stack_protector": {
|
||||
"label": "stack protection",
|
||||
"type": "compilerSupportsFlag",
|
||||
@ -495,6 +508,12 @@
|
||||
"condition": "!config.msvc && (features.debug || features.debug_and_release) && tests.optimize_debug",
|
||||
"output": [ "privateConfig" ]
|
||||
},
|
||||
"optimize_size": {
|
||||
"label": "Optimize release build for size",
|
||||
"autoDetect": false,
|
||||
"condition": "!features.debug || features.debug_and_release",
|
||||
"output": [ "privateConfig" ]
|
||||
},
|
||||
"architecture": {
|
||||
"label": "Architecture",
|
||||
"output": [ "architecture" ]
|
||||
@ -919,9 +938,19 @@
|
||||
"condition": "tests.posix_fallocate",
|
||||
"output": [ "privateFeature" ]
|
||||
},
|
||||
"alloca_h": {
|
||||
"label": "alloca.h",
|
||||
"condition": "tests.alloca_h",
|
||||
"output": [ "privateFeature" ]
|
||||
},
|
||||
"alloca_malloc_h": {
|
||||
"label": "alloca() in malloc.h",
|
||||
"condition": "!features.alloca_h && tests.alloca_malloc_h",
|
||||
"output": [ "privateFeature" ]
|
||||
},
|
||||
"alloca": {
|
||||
"label": "alloca()",
|
||||
"condition": "tests.alloca",
|
||||
"condition": "features.alloca_h || features.alloca_malloc_h || tests.alloca_stdlib_h",
|
||||
"output": [ "privateFeature" ]
|
||||
},
|
||||
"stack-protector-strong": {
|
||||
@ -1116,6 +1145,11 @@ Configure with '-qreal float' to create a build that is binary-compatible with 5
|
||||
"args": "optimize_debug",
|
||||
"condition": "!config.msvc && (features.debug || features.debug_and_release)"
|
||||
},
|
||||
{
|
||||
"type": "feature",
|
||||
"args": "optimize_size",
|
||||
"condition": "!features.debug || features.debug_and_release"
|
||||
},
|
||||
"shared",
|
||||
{
|
||||
"message": "Using C++ standard",
|
||||
|
@ -155,7 +155,13 @@ defineReplace(qtConfFunc_licenseCheck) {
|
||||
$$[QMAKE_SPEC] $$[QMAKE_XSPEC]", \
|
||||
LicheckOutput): \
|
||||
return(false)
|
||||
eval($$LicheckOutput)
|
||||
logn()
|
||||
for (o, LicheckOutput) {
|
||||
contains(o, "\\w+=.*"): \
|
||||
eval($$o)
|
||||
else: \
|
||||
logn($$o)
|
||||
}
|
||||
config.input.qt_edition = $$Edition
|
||||
config.input.qt_licheck = $$Licheck
|
||||
config.input.qt_release_date = $$ReleaseDate
|
||||
@ -272,7 +278,7 @@ defineTest(qtConfTest_architecture) {
|
||||
export($${1}.buildabi)
|
||||
qtLog("Detected architecture: $$eval($${1}.arch) ($$eval($${1}.subarch))")
|
||||
|
||||
$${1}.cache += arch subarch
|
||||
$${1}.cache += arch subarch buildabi
|
||||
export($${1}.cache)
|
||||
return(true)
|
||||
}
|
||||
@ -887,11 +893,12 @@ defineTest(qtConfOutput_architecture) {
|
||||
publicPro = \
|
||||
"host_build {" \
|
||||
" QT_ARCH = $$host_arch" \
|
||||
" QT_BUILDABI = $$host_buildabi" \
|
||||
" QT_TARGET_ARCH = $$arch" \
|
||||
" QT_TARGET_BUILDABI = $$buildabi" \
|
||||
"} else {" \
|
||||
" QT_ARCH = $$arch" \
|
||||
" QT_BUILDABI = $$host_buildabi" \
|
||||
" QT_BUILDABI = $$buildabi" \
|
||||
"}"
|
||||
|
||||
} else {
|
||||
|
@ -41,6 +41,7 @@ manifestmeta.highlighted.names = "QtQuick/Qt Quick Demo - Same Game" \
|
||||
"QtQuickExtras/Qt Quick Extras - Flat" \
|
||||
"QtQuickExtras/Qt Quick Extras - Gallery" \
|
||||
"QtQuickControls2/Qt Quick Controls 2 - Gallery" \
|
||||
"QtQuickControls2/Qt Quick Controls 2 - Wearable Demo" \
|
||||
"QtQuickDialogs/Qt Quick System Dialog Examples" \
|
||||
"QtWinExtras/Quick Player" \
|
||||
"QtMultimedia/QML Video Shader Effects Example" \
|
||||
|
@ -172,6 +172,7 @@ Cpp.ignoretokens += \
|
||||
QT_END_NAMESPACE \
|
||||
QT_FASTCALL \
|
||||
QT_MUTEX_LOCK_NOEXCEPT \
|
||||
QT_POPCOUNT_CONSTEXPR \
|
||||
QT_SIZEPOLICY_CONSTEXPR \
|
||||
QT_WARNING_DISABLE_DEPRECATED \
|
||||
QT_WARNING_PUSH \
|
||||
@ -225,7 +226,6 @@ falsehoods += \
|
||||
|
||||
|
||||
excludefiles += \
|
||||
"*_p.cpp" \
|
||||
"*_posix.cpp" \
|
||||
"*_android.cpp" \
|
||||
"*_win.cpp" \
|
||||
|
@ -6,5 +6,5 @@ CONFIG += no_docs_target
|
||||
|
||||
SUBDIRS += analogclock
|
||||
SUBDIRS += rasterwindow
|
||||
qtConfig(opengl): \
|
||||
qtHaveModule(gui):qtConfig(opengl): \
|
||||
SUBDIRS += openglwindow
|
||||
|
@ -53,12 +53,9 @@
|
||||
//! [1]
|
||||
RasterWindow::RasterWindow(QWindow *parent)
|
||||
: QWindow(parent)
|
||||
, m_backingStore(new QBackingStore(this))
|
||||
{
|
||||
create();
|
||||
m_backingStore = new QBackingStore(this);
|
||||
|
||||
setGeometry(100, 100, 300, 200);
|
||||
|
||||
}
|
||||
//! [1]
|
||||
|
||||
|
@ -22,7 +22,7 @@ SUBDIRS = \
|
||||
tutorials \
|
||||
widgets
|
||||
|
||||
qtConfig(opengl): \
|
||||
qtHaveModule(gui):qtConfig(opengl): \
|
||||
SUBDIRS += windowcontainer
|
||||
|
||||
contains(DEFINES, QT_NO_CURSOR): SUBDIRS -= mainwindows
|
||||
|
@ -1,71 +0,0 @@
|
||||
#
|
||||
# qmake configuration for aix-xlc
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = aix
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = ibm_xlc
|
||||
|
||||
QMAKE_CC = xlc
|
||||
QMAKE_CC_THREAD = xlc_r
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS = -qstrict -q64
|
||||
QMAKE_CFLAGS_WARN_ON =
|
||||
QMAKE_CFLAGS_WARN_OFF =
|
||||
QMAKE_CFLAGS_RELEASE = -O3
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB =
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC =
|
||||
QMAKE_CFLAGS_THREAD = -qthreaded -qtls
|
||||
|
||||
QMAKE_CXX = xlC
|
||||
QMAKE_CXX_THREAD = xlC_r
|
||||
QMAKE_CXXFLAGS = -+ $$QMAKE_CFLAGS
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
|
||||
QMAKE_COMPILER_DEFINES += __xlC__
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 =
|
||||
QMAKE_LIBDIR_X11 =
|
||||
QMAKE_INCDIR_OPENGL =
|
||||
QMAKE_LIBDIR_OPENGL =
|
||||
|
||||
QMAKE_LINK = xlC
|
||||
QMAKE_LINK_THREAD = xlC_r
|
||||
QMAKE_LINK_SHLIB = ld
|
||||
QMAKE_LFLAGS = -q64 -bbigtoc
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_DEBUG =
|
||||
QMAKE_LFLAGS_SHLIB = -qmkshrobj
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME =
|
||||
QMAKE_LFLAGS_THREAD = -L/usr/lib/threads
|
||||
QMAKE_AIX_SHLIB = 1
|
||||
|
||||
QMAKE_LIBS =
|
||||
QMAKE_LIBS_DYNLOAD = -ldl
|
||||
QMAKE_LIBS_X11 = -lXext -lX11 -lm
|
||||
QMAKE_LIBS_OPENGL = -lGL
|
||||
QMAKE_LIBS_THREAD = -lpthreads
|
||||
|
||||
QMAKE_AR = ar -X64 cq
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB = ranlib -X64
|
||||
|
||||
load(qt_config)
|
@ -1,45 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
#include "../common/aix/qplatformdefs.h"
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -1,74 +0,0 @@
|
||||
#
|
||||
# qmake configuration for aix-xlc
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = aix
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = ibm_xlc
|
||||
|
||||
QMAKE_CC = xlc
|
||||
QMAKE_CC_THREAD = xlc_r
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS = -qstrict
|
||||
QMAKE_CFLAGS_WARN_ON =
|
||||
QMAKE_CFLAGS_WARN_OFF =
|
||||
QMAKE_CFLAGS_RELEASE = -O3
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB =
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC =
|
||||
QMAKE_CFLAGS_THREAD = -qthreaded -qtls
|
||||
|
||||
QMAKE_CXX = xlC
|
||||
QMAKE_CXX_THREAD = xlC_r
|
||||
QMAKE_CXXFLAGS = -+ $$QMAKE_CFLAGS
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
|
||||
QMAKE_CXXFLAGS_RTTI_ON = -qrtti
|
||||
QMAKE_CXXFLAGS_RTTI_OFF = -qnortti
|
||||
QMAKE_COMPILER_DEFINES += __xlC__
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 =
|
||||
QMAKE_LIBDIR_X11 =
|
||||
QMAKE_INCDIR_OPENGL =
|
||||
QMAKE_LIBDIR_OPENGL =
|
||||
|
||||
QMAKE_LINK = xlC
|
||||
QMAKE_LINK_THREAD = xlC_r
|
||||
QMAKE_LINK_SHLIB = ld
|
||||
QMAKE_LFLAGS = -bmaxdata:0x80000000
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_DEBUG =
|
||||
QMAKE_LFLAGS_SHLIB = -qmkshrobj
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME =
|
||||
QMAKE_LFLAGS_THREAD = -L/usr/lib/threads
|
||||
QMAKE_LFLAGS_NOUNDEF =
|
||||
QMAKE_AIX_SHLIB = 1
|
||||
|
||||
QMAKE_LIBS =
|
||||
QMAKE_LIBS_DYNLOAD = -ldl
|
||||
QMAKE_LIBS_X11 = -lXext -lX11 -lm
|
||||
QMAKE_LIBS_OPENGL = -lGL
|
||||
QMAKE_LIBS_THREAD = -lpthreads
|
||||
|
||||
QMAKE_AR = ar cq
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB = ranlib
|
||||
|
||||
load(qt_config)
|
@ -1,45 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
#include "../common/aix/qplatformdefs.h"
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -34,6 +34,7 @@
|
||||
QMAKE_CFLAGS_OPTIMIZE = -O2
|
||||
QMAKE_CFLAGS_OPTIMIZE_FULL = -O3
|
||||
QMAKE_CFLAGS_OPTIMIZE_DEBUG = -Og
|
||||
QMAKE_CFLAGS_OPTIMIZE_SIZE = -Os
|
||||
|
||||
QMAKE_CFLAGS += -pipe
|
||||
QMAKE_CFLAGS_DEPS += -M
|
||||
|
@ -19,6 +19,9 @@ contains(QMAKE_TARGET.arch, x86_64) {
|
||||
QMAKE_COMPILER_DEFINES += _WIN64
|
||||
}
|
||||
|
||||
QMAKE_CFLAGS_OPTIMIZE = -O2
|
||||
QMAKE_CFLAGS_OPTIMIZE_SIZE = -O1
|
||||
|
||||
QMAKE_CC = cl
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
@ -27,8 +30,8 @@ QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS = -nologo -Zc:wchar_t
|
||||
QMAKE_CFLAGS_WARN_ON = -W3
|
||||
QMAKE_CFLAGS_WARN_OFF = -W0
|
||||
QMAKE_CFLAGS_RELEASE = -O2 -MD
|
||||
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -MD -Zi
|
||||
QMAKE_CFLAGS_RELEASE = $$QMAKE_CFLAGS_OPTIMIZE -MD
|
||||
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_OPTIMIZE -MD -Zi
|
||||
QMAKE_CFLAGS_DEBUG = -Zi -MDd
|
||||
QMAKE_CFLAGS_YACC =
|
||||
QMAKE_CFLAGS_LTCG = -GL
|
||||
|
@ -252,7 +252,8 @@ if (NOT TARGET Qt5::$${CMAKE_MODULE_NAME})
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
if (_Qt5$${CMAKE_MODULE_NAME}_PRIVATE_DIRS_EXIST)
|
||||
if (_Qt5$${CMAKE_MODULE_NAME}_PRIVATE_DIRS_EXIST
|
||||
AND NOT CMAKE_VERSION VERSION_LESS 3.0.0 )
|
||||
add_library(Qt5::$${CMAKE_MODULE_NAME}Private INTERFACE IMPORTED)
|
||||
set_property(TARGET Qt5::$${CMAKE_MODULE_NAME}Private PROPERTY
|
||||
INTERFACE_INCLUDE_DIRECTORIES ${Qt5$${CMAKE_MODULE_NAME}_OWN_PRIVATE_INCLUDE_DIRS}
|
||||
|
@ -38,7 +38,14 @@ force_debug_info {
|
||||
QMAKE_LFLAGS_RELEASE = $$QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO
|
||||
}
|
||||
|
||||
optimize_full {
|
||||
optimize_size {
|
||||
!isEmpty(QMAKE_CFLAGS_OPTIMIZE):!isEmpty(QMAKE_CFLAGS_OPTIMIZE_SIZE) {
|
||||
QMAKE_CFLAGS_RELEASE -= $$QMAKE_CFLAGS_OPTIMIZE
|
||||
QMAKE_CXXFLAGS_RELEASE -= $$QMAKE_CFLAGS_OPTIMIZE
|
||||
QMAKE_CFLAGS_RELEASE += $$QMAKE_CFLAGS_OPTIMIZE_SIZE
|
||||
QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_OPTIMIZE_SIZE
|
||||
}
|
||||
} else: optimize_full {
|
||||
!isEmpty(QMAKE_CFLAGS_OPTIMIZE):!isEmpty(QMAKE_CFLAGS_OPTIMIZE_FULL) {
|
||||
QMAKE_CFLAGS_RELEASE -= $$QMAKE_CFLAGS_OPTIMIZE
|
||||
QMAKE_CXXFLAGS_RELEASE -= $$QMAKE_CFLAGS_OPTIMIZE
|
||||
|
@ -44,12 +44,7 @@ for (cp, COPIES) {
|
||||
$${pfx}.output = $$path/${QMAKE_FUNC_FILE_IN_qtStripSrcDir_$$cp}
|
||||
}
|
||||
$${pfx}.input = $${pfx}.files
|
||||
!$$dir: \
|
||||
$${pfx}.commands = $$QMAKE_COPY ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT_PATH}
|
||||
else: !copy_dir_files: \
|
||||
$${pfx}.commands = $$QMAKE_COPY_DIR ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT_PATH}
|
||||
else: \
|
||||
$${pfx}.commands = $$QMAKE_COPY_DIR ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
|
||||
$${pfx}.commands = $(QINSTALL) ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
|
||||
$${pfx}.name = COPY ${QMAKE_FILE_IN}
|
||||
$${pfx}.CONFIG = no_link no_clean target_predeps
|
||||
QMAKE_EXTRA_COMPILERS += $${pfx}
|
||||
|
@ -575,11 +575,14 @@ defineTest(qtConfLibrary_pkgConfig) {
|
||||
}
|
||||
|
||||
qtRunLoggedCommand("$$pkg_config --modversion $$args", version)|return(false)
|
||||
qtRunLoggedCommand("$$pkg_config --libs-only-L --libs-only-l $$args", $${1}.libs)|return(false)
|
||||
qtRunLoggedCommand("$$pkg_config --libs-only-L $$args", libpaths)|return(false)
|
||||
qtRunLoggedCommand("$$pkg_config --libs-only-l $$args", libs)|return(false)
|
||||
qtRunLoggedCommand("$$pkg_config --cflags $$args", $${1}.cflags)|return(false)
|
||||
version ~= s/[^0-9.].*$//
|
||||
$${1}.version = $$first(version)
|
||||
export($${1}.version)
|
||||
$${1}.libs = $$libpaths $$libs
|
||||
export($${1}.libs)
|
||||
return(true)
|
||||
}
|
||||
|
||||
@ -1958,6 +1961,15 @@ qtConfCheckErrors()
|
||||
error()
|
||||
}
|
||||
|
||||
QMAKE_CONFIG_VERBOSE = $$eval(config.input.verbose)
|
||||
isEmpty(QMAKE_CONFIG_VERBOSE): \
|
||||
QMAKE_CONFIG_VERBOSE = false
|
||||
QMAKE_CONFIG_LOG = $$OUT_PWD/config.log
|
||||
write_file($$QMAKE_CONFIG_LOG, "")
|
||||
qtLog("Command line: $$qtSystemQuote($$QMAKE_SAVED_ARGS)")
|
||||
$$QMAKE_REDO_CONFIG: \
|
||||
qtLog("config.opt: $$qtSystemQuote($$QMAKE_EXTRA_REDO_ARGS)")
|
||||
|
||||
for (currentConfig, allConfigs) {
|
||||
qtConfSetModuleName()
|
||||
qtConfSetupModuleOutputs()
|
||||
@ -1987,18 +1999,6 @@ equals(QMAKE_CONFIG_CACHE_USE, none) {
|
||||
write_file($$QMAKE_CONFIG_CACHE, cont)
|
||||
}
|
||||
|
||||
QMAKE_CONFIG_VERBOSE = $$eval(config.input.verbose)
|
||||
isEmpty(QMAKE_CONFIG_VERBOSE): \
|
||||
QMAKE_CONFIG_VERBOSE = false
|
||||
QMAKE_CONFIG_LOG = $$OUT_PWD/config.log
|
||||
!equals(QMAKE_CONFIG_CACHE_USE, all): \
|
||||
write_file($$QMAKE_CONFIG_LOG, "")
|
||||
else: \
|
||||
write_file($$QMAKE_CONFIG_LOG, $$list($$escape_expand(\\n)), append)
|
||||
qtLog("Command line: $$qtSystemQuote($$QMAKE_SAVED_ARGS)")
|
||||
$$QMAKE_REDO_CONFIG: \
|
||||
qtLog("config.opt: $$qtSystemQuote($$QMAKE_EXTRA_REDO_ARGS)")
|
||||
|
||||
CONFIG += qt_conf_tests_allowed
|
||||
logn()
|
||||
logn("Running configuration tests...")
|
||||
|
@ -175,6 +175,7 @@ headersclean:!internal_module {
|
||||
# Make sure that the header compiles with our strict options
|
||||
hcleanDEFS = -DQT_NO_CAST_TO_ASCII=1 \
|
||||
-DQT_NO_CAST_FROM_ASCII=1 \
|
||||
-UQT_RESTRICTED_CAST_FROM_ASCII \
|
||||
-DQT_STRICT_ITERATORS \
|
||||
-DQT_NO_URL_CAST_FROM_STRING=1 \
|
||||
-DQT_NO_CAST_FROM_BYTEARRAY=1 \
|
||||
|
@ -63,7 +63,9 @@
|
||||
VCLIBS = $${VCLIBS}.Debug
|
||||
else: \
|
||||
VCLIBS = $${VCLIBS}
|
||||
contains(MSVC_VER, "14.0"): VCLIBS = "$${VCLIBS}\" MinVersion=\"14.0.0.0\" Publisher=\"CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"
|
||||
# VS 2017 still uses vclibs 140
|
||||
contains(MSVC_VER, "15.0"): VCLIBS = $$replace(VCLIBS, 150, 140)
|
||||
VCLIBS = "$${VCLIBS}\" MinVersion=\"14.0.0.0\" Publisher=\"CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"
|
||||
WINRT_MANIFEST.dependencies += $$VCLIBS
|
||||
}
|
||||
|
||||
|
@ -1,116 +0,0 @@
|
||||
#
|
||||
# qmake configuration for hpux-n64
|
||||
#
|
||||
# We define _POSIX_C_SOURCE to 199506L when using threads, therefore
|
||||
# we also need to redefine _HPUX_SOURCE.
|
||||
# From pthread(3t):
|
||||
# Some documentation will recommend the use of -D_REENTRANT for
|
||||
# compilation. While this also functions properly, it is considered
|
||||
# an obsolescent form.
|
||||
# See pthread(3t) for more details.
|
||||
#
|
||||
# From the "HP aC++ Online Programmer's Guide":
|
||||
# When +DA2.0W is specified:
|
||||
# * 64-bit SVR4 Executable and Linking Format (ELF) object files
|
||||
# are generated for PA-RISC 2.0.
|
||||
# * The preprocessor predefined macro, __LP64__ is defined.
|
||||
# * The correct path for 64-bit system and language libraries is
|
||||
# selected.
|
||||
# When +DD32 is specified:
|
||||
# * The size of an int, long, or pointer data type is 32-bits.
|
||||
# The size of an int data type is 32-bits. The size of a long or
|
||||
# pointer data type is 64-bits.
|
||||
# * This is the default, currently equivalent to +DA1.1 architecture.
|
||||
# When +DD64 is specified:
|
||||
# * The size of an int data type is 32-bits. The size of a long or
|
||||
# pointer data type is 64-bits.
|
||||
# * This is currently equivalent to +DA2.OW architecture.
|
||||
# * The preprocessor predefined macro, __LP64__ is defined.
|
||||
# Using +DS to Specify Instruction Scheduling:
|
||||
# * By default, the compiler performs scheduling tuned for the system
|
||||
# on which you are compiling, or, if specified, tuned for the setting
|
||||
# of the +DA option.
|
||||
#
|
||||
# From the online "C/HP-UX Reference Manual":
|
||||
# -Aa
|
||||
# Enables strict ANSI C compliance.
|
||||
# -Ae
|
||||
# Enables ANSI C compliance, HP value-added features (as described
|
||||
# for +e option), and _HPUX_SOURCE name space macro. It is equivalent
|
||||
# to -Aa +e -D_HPUX_SOURCE.
|
||||
# +e
|
||||
# Enables the following HP value added features while compiling in
|
||||
# ANSI C mode: sized enum, long long, long pointers, compiler supplied
|
||||
# defaults for missing arguments to intrinsic calls, and $ in identifier
|
||||
# HP C extensions.
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = hpux
|
||||
QMAKE_COMPILER_DEFINES += __hpux __HP_aCC
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = hp_acc
|
||||
|
||||
QMAKE_CC = cc
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS = -Ae +DA2.0W -w
|
||||
QMAKE_CFLAGS_WARN_ON =
|
||||
QMAKE_CFLAGS_WARN_OFF = -w
|
||||
QMAKE_CFLAGS_RELEASE = +O1
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB = +Z
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC =
|
||||
QMAKE_CFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -mt
|
||||
|
||||
QMAKE_CXX = aCC
|
||||
QMAKE_CXXFLAGS = -AA +DA2.0W -w -D__STRICT_ANSI__ -D_HPUX_SOURCE
|
||||
QMAKE_CXXFLAGS_DEPS = +M
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -mt
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 = /usr/include/X11R6
|
||||
QMAKE_LIBDIR_X11 = /usr/lib/X11R6/pa20_64
|
||||
QMAKE_INCDIR_OPENGL = /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
|
||||
QMAKE_LIBDIR_OPENGL = /opt/graphics/OpenGL/lib/pa20_64 /usr/contrib/X11R6/lib/pa20_64
|
||||
|
||||
QMAKE_LINK = aCC
|
||||
QMAKE_LINK_SHLIB = aCC
|
||||
QMAKE_LFLAGS = -AA +DA2.0W -Wl,+s
|
||||
QMAKE_LFLAGS_RELEASE = -O
|
||||
QMAKE_LFLAGS_DEBUG = -g
|
||||
QMAKE_LFLAGS_SHLIB = -b -Wl,-a,shared
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -Wl,+h,
|
||||
QMAKE_LFLAGS_THREAD =
|
||||
QMAKE_LFLAGS_NOUNDEF = -Wl,+noallowunsats
|
||||
QMAKE_LFLAGS_RPATH = -Wl,+b,
|
||||
QMAKE_HPUX_SHLIB = 3
|
||||
QMAKE_EXTENSION_SHLIB = sl
|
||||
|
||||
QMAKE_LIBS = -lm
|
||||
QMAKE_LIBS_DYNLOAD = -ldl
|
||||
QMAKE_LIBS_X11 = -lXext -lX11
|
||||
QMAKE_LIBS_OPENGL = -lGL -lXt
|
||||
QMAKE_LIBS_THREAD = -lpthread
|
||||
QMAKE_LIBS_YACC = -ly
|
||||
|
||||
QMAKE_AR = ar cqs
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
load(qt_config)
|
@ -1,87 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sys/pstat.h>
|
||||
#define _REENTRANT
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#define QT_USE_XOPEN_LFS_EXTENSIONS
|
||||
#define QT_NO_READDIR64
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_OPEN_LARGEFILE
|
||||
#undef QT_SOCKLEN_T
|
||||
|
||||
#define QT_OPEN_LARGEFILE 0
|
||||
#define QT_SOCKLEN_T int
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -1,114 +0,0 @@
|
||||
#
|
||||
# qmake configuration for hpux-o64
|
||||
#
|
||||
# We define _POSIX_C_SOURCE to 199506L when using threads, therefore
|
||||
# we also need to redefine _HPUX_SOURCE.
|
||||
# From pthread(3t):
|
||||
# Some documentation will recommend the use of -D_REENTRANT for
|
||||
# compilation. While this also functions properly, it is considered
|
||||
# an obsolescent form.
|
||||
# See pthread(3t) for more details.
|
||||
#
|
||||
# From the "HP aC++ Online Programmer's Guide":
|
||||
# When +DA2.0W is specified:
|
||||
# * 64-bit SVR4 Executable and Linking Format (ELF) object files
|
||||
# are generated for PA-RISC 2.0.
|
||||
# * The preprocessor predefined macro, __LP64__ is defined.
|
||||
# * The correct path for 64-bit system and language libraries is
|
||||
# selected.
|
||||
# When +DD32 is specified:
|
||||
# * The size of an int, long, or pointer data type is 32-bits.
|
||||
# The size of an int data type is 32-bits. The size of a long or
|
||||
# pointer data type is 64-bits.
|
||||
# * This is the default, currently equivalent to +DA1.1 architecture.
|
||||
# When +DD64 is specified:
|
||||
# * The size of an int data type is 32-bits. The size of a long or
|
||||
# pointer data type is 64-bits.
|
||||
# * This is currently equivalent to +DA2.OW architecture.
|
||||
# * The preprocessor predefined macro, __LP64__ is defined.
|
||||
# Using +DS to Specify Instruction Scheduling:
|
||||
# * By default, the compiler performs scheduling tuned for the system
|
||||
# on which you are compiling, or, if specified, tuned for the setting
|
||||
# of the +DA option.
|
||||
#
|
||||
# From the online "C/HP-UX Reference Manual":
|
||||
# -Aa
|
||||
# Enables strict ANSI C compliance.
|
||||
# -Ae
|
||||
# Enables ANSI C compliance, HP value-added features (as described
|
||||
# for +e option), and _HPUX_SOURCE name space macro. It is equivalent
|
||||
# to -Aa +e -D_HPUX_SOURCE.
|
||||
# +e
|
||||
# Enables the following HP value added features while compiling in
|
||||
# ANSI C mode: sized enum, long long, long pointers, compiler supplied
|
||||
# defaults for missing arguments to intrinsic calls, and $ in identifier
|
||||
# HP C extensions.
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = hpux
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = hp_acc
|
||||
|
||||
QMAKE_CC = cc
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS = -Ae +DA2.0 -w
|
||||
QMAKE_CFLAGS_WARN_ON =
|
||||
QMAKE_CFLAGS_WARN_OFF =
|
||||
QMAKE_CFLAGS_RELEASE = -O +Oentrysched +Onolimit
|
||||
QMAKE_CFLAGS_DEBUG = -y -g
|
||||
QMAKE_CFLAGS_SHLIB = +Z
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC =
|
||||
QMAKE_CFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
|
||||
|
||||
QMAKE_CXX = aCC
|
||||
QMAKE_CXXFLAGS = +DA2.0 -w -D__STRICT_ANSI__ -D_HPUX_SOURCE
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = -g
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 = /usr/include/X11R6
|
||||
QMAKE_LIBDIR_X11 = /usr/lib/X11R6
|
||||
QMAKE_INCDIR_OPENGL = /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
|
||||
QMAKE_LIBDIR_OPENGL = /opt/graphics/OpenGL/lib /usr/contrib/X11R6/lib
|
||||
|
||||
QMAKE_LINK = aCC
|
||||
QMAKE_LINK_SHLIB = aCC
|
||||
QMAKE_LFLAGS = +DA2.0 -Wl,+s
|
||||
QMAKE_LFLAGS_RELEASE = -O
|
||||
QMAKE_LFLAGS_DEBUG =
|
||||
QMAKE_LFLAGS_SHLIB = -b
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -Wl,+h,
|
||||
QMAKE_LFLAGS_NOUNDEF = -Wl,+noallowunsats
|
||||
QMAKE_LFLAGS_RPATH = -Wl,+b,
|
||||
QMAKE_HPUX_SHLIB = 2
|
||||
QMAKE_EXTENSION_SHLIB = sl
|
||||
|
||||
QMAKE_LIBS = -lm
|
||||
QMAKE_LIBS_DYNLOAD = -ldld
|
||||
QMAKE_LIBS_X11 = -lXext -lX11
|
||||
|
||||
QMAKE_LIBS_OPENGL = -lGL
|
||||
QMAKE_LIBS_THREAD = -lpthread
|
||||
QMAKE_LIBS_YACC = -ly
|
||||
|
||||
QMAKE_AR = ar cqs
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
load(qt_config)
|
@ -1,85 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
|
||||
#include <pthread.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dl.h>
|
||||
#define QT_HPUX_LD
|
||||
#define QT_NO_LIBRARY_UNLOAD
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#define QT_USE_XOPEN_LFS_EXTENSIONS
|
||||
#define QT_NO_READDIR64
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_SOCKLEN_T
|
||||
#define QT_SOCKLEN_T int
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -1,95 +0,0 @@
|
||||
#
|
||||
# qmake configuration for hpux-acc
|
||||
#
|
||||
# We define _POSIX_C_SOURCE to 199506L when using threads, therefore
|
||||
# we also need to redefine _HPUX_SOURCE. See pthread(3t) for more details.
|
||||
#
|
||||
# From the "HP aC++ Online Programmer's Guide":
|
||||
# Using +DS to Specify Instruction Scheduling:
|
||||
# * By default, the compiler performs scheduling tuned for the system
|
||||
# on which you are compiling, or, if specified, tuned for the setting
|
||||
# of the +DA option.
|
||||
#
|
||||
# From the online "C/HP-UX Reference Manual":
|
||||
# -Aa
|
||||
# Enables strict ANSI C compliance.
|
||||
# -Ae
|
||||
# Enables ANSI C compliance, HP value-added features (as described
|
||||
# for +e option), and _HPUX_SOURCE name space macro. It is equivalent
|
||||
# to -Aa +e -D_HPUX_SOURCE.
|
||||
# +e
|
||||
# Enables the following HP value added features while compiling in
|
||||
# ANSI C mode: sized enum, long long, long pointers, compiler supplied
|
||||
# defaults for missing arguments to intrinsic calls, and $ in identifier
|
||||
# HP C extensions.
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = hpux
|
||||
QMAKE_COMPILER_DEFINES += __hpux __HP_aCC
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = hp_acc
|
||||
|
||||
QMAKE_CC = cc
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS = -Ae +DAportable -w
|
||||
QMAKE_CFLAGS_WARN_ON =
|
||||
QMAKE_CFLAGS_WARN_OFF = -w
|
||||
QMAKE_CFLAGS_RELEASE = +O1
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB = +Z
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC =
|
||||
QMAKE_CFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -mt
|
||||
|
||||
QMAKE_CXX = aCC
|
||||
QMAKE_CXXFLAGS = -AA +DAportable -w -D__STRICT_ANSI__ -D_HPUX_SOURCE
|
||||
QMAKE_CXXFLAGS_DEPS = +M
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -mt
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 = /usr/include/X11R6
|
||||
QMAKE_LIBDIR_X11 = /usr/lib/X11R6
|
||||
QMAKE_INCDIR_OPENGL = /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
|
||||
QMAKE_LIBDIR_OPENGL = /opt/graphics/OpenGL/lib /usr/contrib/X11R6/lib
|
||||
|
||||
QMAKE_LINK = aCC
|
||||
QMAKE_LINK_SHLIB = aCC
|
||||
QMAKE_LFLAGS = -AA +DAportable -Wl,+s
|
||||
QMAKE_LFLAGS_RELEASE = -O
|
||||
QMAKE_LFLAGS_DEBUG = -g
|
||||
QMAKE_LFLAGS_SHLIB = -b -Wl,-a,shared
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -Wl,+h,
|
||||
QMAKE_LFLAGS_THREAD =
|
||||
QMAKE_LFLAGS_NOUNDEF = -Wl,+noallowunsats
|
||||
QMAKE_LFLAGS_RPATH = -Wl,+b,
|
||||
QMAKE_HPUX_SHLIB = 1
|
||||
QMAKE_EXTENSION_SHLIB = sl
|
||||
|
||||
QMAKE_LIBS = -lm
|
||||
QMAKE_LIBS_DYNLOAD = -ldld
|
||||
QMAKE_LIBS_X11 = -lXext -lX11
|
||||
QMAKE_LIBS_OPENGL = -lGL -lXt
|
||||
QMAKE_LIBS_THREAD = -lpthread
|
||||
QMAKE_LIBS_YACC = -ly
|
||||
|
||||
QMAKE_AR = ar cqs
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
load(qt_config)
|
@ -1,96 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
|
||||
#include <pthread.h>
|
||||
#include <sys/pstat.h>
|
||||
#define _REENTRANT
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dl.h>
|
||||
#define QT_HPUX_LD
|
||||
#define QT_NO_LIBRARY_UNLOAD
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#define QT_USE_XOPEN_LFS_EXTENSIONS
|
||||
#define QT_NO_READDIR64
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_OPEN_LARGEFILE
|
||||
#undef QT_SOCKLEN_T
|
||||
|
||||
#define QT_OPEN_LARGEFILE 0
|
||||
#define QT_SOCKLEN_T int
|
||||
|
||||
// presence of _XOPEN_UNIX can be used to detect HP-UX 10 or higher
|
||||
#if !defined(_XOPEN_UNIX)
|
||||
// HP-UX 9's select() didn't accept fd_set, yet.
|
||||
#define select(a,b,c,d,e) select((a), (int *)(b), (int *)(c), (int *)(d), (e))
|
||||
#endif
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -1,78 +0,0 @@
|
||||
#
|
||||
# qmake configuration for hpux-g++-64
|
||||
#
|
||||
# We define _POSIX_C_SOURCE to 199506L when using threads,
|
||||
# therefore we also need to redefine _HPUX_SOURCE.
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = hpux
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = gcc
|
||||
|
||||
QMAKE_CC = gcc
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS =
|
||||
QMAKE_CFLAGS_DEPS = -M
|
||||
QMAKE_CFLAGS_WARN_ON = -Wall -W
|
||||
QMAKE_CFLAGS_WARN_OFF = -w
|
||||
QMAKE_CFLAGS_RELEASE = -O2
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB = -fPIC
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
||||
QMAKE_CFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
|
||||
|
||||
QMAKE_CXX = g++
|
||||
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -D_HPUX_SOURCE
|
||||
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR = /usr/lib/pa20_64
|
||||
QMAKE_INCDIR_X11 = /usr/include/X11R6
|
||||
QMAKE_LIBDIR_X11 = /usr/lib/X11R6/pa20_64
|
||||
QMAKE_INCDIR_OPENGL = /opt/Mesa/include /usr/contrib/X11R6/include
|
||||
QMAKE_LIBDIR_OPENGL = /opt/Mesa/lib/pa20_64 /usr/contrib/X11R6/lib/pa20_64
|
||||
|
||||
QMAKE_LINK = g++
|
||||
QMAKE_LINK_SHLIB = g++
|
||||
QMAKE_LINK_C = gcc
|
||||
QMAKE_LINK_C_SHLIB = gcc
|
||||
QMAKE_LFLAGS = -Wl,+s -lpthread
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_DEBUG =
|
||||
QMAKE_LFLAGS_SHLIB = -fPIC -shared
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -Wl,+h,
|
||||
QMAKE_LFLAGS_THREAD =
|
||||
QMAKE_LFLAGS_NOUNDEF = -Wl,+noallowunsats
|
||||
QMAKE_LFLAGS_RPATH = -Wl,+b,
|
||||
QMAKE_HPUX_SHLIB = 3
|
||||
QMAKE_EXTENSION_SHLIB = sl
|
||||
|
||||
QMAKE_LIBS = -lm
|
||||
QMAKE_LIBS_DYNLOAD = -ldld
|
||||
QMAKE_LIBS_X11 = -lXext -lX11
|
||||
QMAKE_LIBS_OPENGL = -lGL
|
||||
QMAKE_LIBS_THREAD = -lpthread
|
||||
QMAKE_LIBS_YACC = -ly
|
||||
|
||||
QMAKE_AR = ar cqs
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
load(qt_config)
|
@ -1,81 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
|
||||
#include <pthread.h>
|
||||
#define _REENTRANT
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#define QT_USE_XOPEN_LFS_EXTENSIONS
|
||||
#define QT_NO_READDIR64
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -1,78 +0,0 @@
|
||||
#
|
||||
# qmake configuration for hpux-g++
|
||||
#
|
||||
# We define _POSIX_C_SOURCE to 199506L when using threads,
|
||||
# therefore we also need to redefine _HPUX_SOURCE.
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = hpux
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = gcc
|
||||
|
||||
QMAKE_CC = gcc
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS =
|
||||
QMAKE_CFLAGS_DEPS = -M
|
||||
QMAKE_CFLAGS_WARN_ON = -Wall -W
|
||||
QMAKE_CFLAGS_WARN_OFF = -w
|
||||
QMAKE_CFLAGS_RELEASE = -O2
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB = -fPIC
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
||||
QMAKE_CFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
|
||||
|
||||
QMAKE_CXX = g++
|
||||
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -D_HPUX_SOURCE -DGLU_VERSION_1_2
|
||||
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 =
|
||||
QMAKE_LIBDIR_X11 = /usr/lib/X11R6
|
||||
QMAKE_INCDIR_OPENGL = /opt/Mesa/include /usr/contrib/X11R6/include
|
||||
QMAKE_LIBDIR_OPENGL = /opt/Mesa/lib /usr/contrib/X11R6/lib
|
||||
|
||||
QMAKE_LINK = g++
|
||||
QMAKE_LINK_SHLIB = g++
|
||||
QMAKE_LINK_C = gcc
|
||||
QMAKE_LINK_C_SHLIB = gcc
|
||||
QMAKE_LFLAGS = -Wl,+s
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_DEBUG =
|
||||
QMAKE_LFLAGS_SHLIB = -fPIC -shared
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -Wl,+h,
|
||||
QMAKE_LFLAGS_THREAD =
|
||||
QMAKE_LFLAGS_NOUNDEF = -Wl,+noallowunsats
|
||||
QMAKE_LFLAGS_RPATH = -Wl,+b,
|
||||
QMAKE_HPUX_SHLIB = 1
|
||||
QMAKE_EXTENSION_SHLIB = sl
|
||||
|
||||
QMAKE_LIBS =
|
||||
QMAKE_LIBS_DYNLOAD = -ldld
|
||||
QMAKE_LIBS_X11 = -lXext -lX11 -lm
|
||||
QMAKE_LIBS_OPENGL = -lGL
|
||||
QMAKE_LIBS_THREAD = -lpthread
|
||||
QMAKE_LIBS_YACC = -ly
|
||||
|
||||
QMAKE_AR = ar cqs
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
load(qt_config)
|
@ -1,92 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
#define _REENTRANT // otherwise we don't get readdir_r, etc.
|
||||
#include <sys/pstat.h>
|
||||
#include <pthread.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dl.h>
|
||||
#define QT_HPUX_LD
|
||||
#define QT_NO_LIBRARY_UNLOAD
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#define QT_USE_XOPEN_LFS_EXTENSIONS
|
||||
#define QT_NO_READDIR64
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_SOCKLEN_T
|
||||
#define QT_SOCKLEN_T int
|
||||
|
||||
// presence of _XOPEN_UNIX can be used to detect HP-UX 10 or higher
|
||||
#if !defined(_XOPEN_UNIX)
|
||||
// HP-UX 9's select() didn't accept fd_set, yet.
|
||||
#define select(a,b,c,d,e) select((a), (int *)(b), (int *)(c), (int *)(d), (e))
|
||||
#endif
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -1,70 +0,0 @@
|
||||
#
|
||||
# qmake configuration for hpuxi-acc-32
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = hpux
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = hp_acc
|
||||
|
||||
QMAKE_CC = cc
|
||||
QMAKE_LEX = lex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS = +DSitanium -w
|
||||
QMAKE_CFLAGS_WARN_ON =
|
||||
QMAKE_CFLAGS_WARN_OFF = -w
|
||||
QMAKE_CFLAGS_RELEASE = +O1
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB = +Z
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC =
|
||||
QMAKE_CFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -D_REENTRANT -mt
|
||||
|
||||
QMAKE_CXX = aCC
|
||||
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -D__STRICT_ANSI__ -D_HPUX_SOURCE
|
||||
QMAKE_CXXFLAGS_DEPS = +M
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -D_REENTRANT -mt
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 = /usr/include/X11R6
|
||||
QMAKE_LIBDIR_X11 = /usr/lib/hpux32/X11R6
|
||||
QMAKE_INCDIR_OPENGL = /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
|
||||
QMAKE_LIBDIR_OPENGL = /opt/graphics/OpenGL/lib/hpux32 /usr/contrib/X11R6/lib/hpux32
|
||||
|
||||
QMAKE_LINK = aCC
|
||||
QMAKE_LINK_SHLIB = aCC
|
||||
QMAKE_LFLAGS = +DSitanium -Wl,+s
|
||||
QMAKE_LFLAGS_RELEASE = -O
|
||||
QMAKE_LFLAGS_DEBUG = -g
|
||||
QMAKE_LFLAGS_SHLIB = -b -Wl,-a,shared
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -Wl,+h,
|
||||
QMAKE_LFLAGS_NOUNDEF = -Wl,+noallowunsats
|
||||
QMAKE_LFLAGS_THREAD =
|
||||
QMAKE_LFLAGS_RPATH =
|
||||
|
||||
QMAKE_LIBS = -lm
|
||||
QMAKE_LIBS_DYNLOAD = -ldl
|
||||
QMAKE_LIBS_X11 = -lXext -lX11
|
||||
QMAKE_LIBS_OPENGL = -lGL -lXt
|
||||
QMAKE_LIBS_THREAD = -lpthread
|
||||
QMAKE_LIBS_YACC = -ly
|
||||
|
||||
QMAKE_AR = ar cqs
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
load(qt_config)
|
@ -1,88 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#define _INCLUDE_LONGLONG
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
#define _REENTRANT
|
||||
#include <pthread.h>
|
||||
#include <sys/pstat.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dl.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#define QT_USE_XOPEN_LFS_EXTENSIONS
|
||||
#define QT_NO_READDIR64
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_OPEN_LARGEFILE
|
||||
#undef QT_SOCKLEN_T
|
||||
|
||||
#define QT_OPEN_LARGEFILE 0
|
||||
#define QT_SOCKLEN_T int
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -1,113 +0,0 @@
|
||||
#
|
||||
# qmake configuration for hpuxi-acc-64
|
||||
#
|
||||
# We define _POSIX_C_SOURCE to 199506L when using threads, therefore
|
||||
# we also need to redefine _HPUX_SOURCE.
|
||||
# From pthread(3t):
|
||||
# Some documentation will recommend the use of -D_REENTRANT for
|
||||
# compilation. While this also functions properly, it is considered
|
||||
# an obsolescent form.
|
||||
# See pthread(3t) for more details.
|
||||
#
|
||||
# From the "HP aC++ Online Programmer's Guide":
|
||||
# When +DA2.0W is specified:
|
||||
# * 64-bit SVR4 Executable and Linking Format (ELF) object files
|
||||
# are generated for PA-RISC 2.0.
|
||||
# * The preprocessor predefined macro, __LP64__ is defined.
|
||||
# * The correct path for 64-bit system and language libraries is
|
||||
# selected.
|
||||
# When +DD32 is specified:
|
||||
# * The size of an int, long, or pointer data type is 32-bits.
|
||||
# The size of an int data type is 32-bits. The size of a long or
|
||||
# pointer data type is 64-bits.
|
||||
# * This is the default, currently equivalent to +DA1.1 architecture.
|
||||
# When +DD64 is specified:
|
||||
# * The size of an int data type is 32-bits. The size of a long or
|
||||
# pointer data type is 64-bits.
|
||||
# * This is currently equivalent to +DA2.OW architecture.
|
||||
# * The preprocessor predefined macro, __LP64__ is defined.
|
||||
# Using +DS to Specify Instruction Scheduling:
|
||||
# * By default, the compiler performs scheduling tuned for the system
|
||||
# on which you are compiling, or, if specified, tuned for the setting
|
||||
# of the +DA option.
|
||||
#
|
||||
# From the online "C/HP-UX Reference Manual":
|
||||
# -Aa
|
||||
# Enables strict ANSI C compliance.
|
||||
# -Ae
|
||||
# Enables ANSI C compliance, HP value-added features (as described
|
||||
# for +e option), and _HPUX_SOURCE name space macro. It is equivalent
|
||||
# to -Aa +e -D_HPUX_SOURCE.
|
||||
# +e
|
||||
# Enables the following HP value added features while compiling in
|
||||
# ANSI C mode: sized enum, long long, long pointers, compiler supplied
|
||||
# defaults for missing arguments to intrinsic calls, and $ in identifier
|
||||
# HP C extensions.
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = hpux
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = hp_acc
|
||||
|
||||
QMAKE_CC = cc
|
||||
QMAKE_LEX = lex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS = +DD64 +DSitanium -w
|
||||
QMAKE_CFLAGS_WARN_ON =
|
||||
QMAKE_CFLAGS_WARN_OFF = -w
|
||||
QMAKE_CFLAGS_RELEASE = +O1
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLI = +Z
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC =
|
||||
QMAKE_CFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -D_REENTRANT -mt
|
||||
|
||||
QMAKE_CXX = aCC
|
||||
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -D__STRICT_ANSI__ -D_HPUX_SOURCE
|
||||
QMAKE_CXXFLAGS_DEPS = +M
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -D_REENTRANT -mt
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 = /usr/include/X11R6
|
||||
QMAKE_LIBDIR_X11 = /usr/lib/hpux64/X11R6
|
||||
QMAKE_INCDIR_OPENGL = /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
|
||||
QMAKE_LIBDIR_OPENGL = /opt/graphics/OpenGL/lib/hpux64 /usr/contrib/X11R6/lib/hpux64
|
||||
|
||||
QMAKE_LINK = aCC
|
||||
QMAKE_LINK_SHLIB = aCC
|
||||
QMAKE_LFLAGS = +DD64 +DSitanium -Wl,+s
|
||||
QMAKE_LFLAGS_RELEASE = -O
|
||||
QMAKE_LFLAGS_DEBUG = -g
|
||||
QMAKE_LFLAGS_SHLIB = -b -Wl,-a,shared
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -Wl,+h,
|
||||
QMAKE_LFLAGS_THREAD =
|
||||
QMAKE_LFLAGS_NOUNDEF = -Wl,+noallowunsats
|
||||
QMAKE_LFLAGS_RPATH =
|
||||
|
||||
QMAKE_LIBS = -lm
|
||||
QMAKE_LIBS_DYNLOAD = -ldl
|
||||
QMAKE_LIBS_X11 = -lXext -lX11
|
||||
QMAKE_LIBS_OPENGL = -lGL -lXt
|
||||
QMAKE_LIBS_THREAD = -lpthread
|
||||
QMAKE_LIBS_YACC = -ly
|
||||
|
||||
QMAKE_AR = ar cqs
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
load(qt_config)
|
@ -1,88 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#define _INCLUDE_LONGLONG
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
#define _REENTRANT
|
||||
#include <pthread.h>
|
||||
#include <sys/pstat.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dl.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#define QT_USE_XOPEN_LFS_EXTENSIONS
|
||||
#define QT_NO_READDIR64
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_OPEN_LARGEFILE
|
||||
#undef QT_SOCKLEN_T
|
||||
|
||||
#define QT_OPEN_LARGEFILE 0
|
||||
#define QT_SOCKLEN_T int
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -1,108 +0,0 @@
|
||||
#
|
||||
# qmake configuration for irix-cc-64
|
||||
#
|
||||
# From cc(1):
|
||||
# -64
|
||||
# Generates a 64-bit object. This defaults to -mips4 if -mips3 has
|
||||
# not been specified.
|
||||
# -LANG: ...
|
||||
# The language feature option group controls the source language
|
||||
# interpretation assumed by the compiler. The individual controls
|
||||
# in this group are as follows:
|
||||
# ansi-for-init-scope [ = ( ON|OFF ) ]
|
||||
# Enables or disables the ANSI scoping rules for for-init
|
||||
# declarations (the scope of the name declared extends to
|
||||
# the end of the for statement). This enables the behavior
|
||||
# that is required by the C++ standard. The default value
|
||||
# is OFF, which is the ARM behavior (the scope of the name
|
||||
# declared extends to the end of the block enclosing the for
|
||||
# statement).
|
||||
# bool [ = ( ON|OFF ) ]
|
||||
# Enables or disables the predefined bool data type, along
|
||||
# with the predefined values true and false. Use this option
|
||||
# only to suppress this type in old code that defines bool
|
||||
# itself. Because this option changes the mangling of function
|
||||
# names with bool parameters, all files comprising a program
|
||||
# should be compiled with consistent options.
|
||||
# Default is ON.
|
||||
# The _BOOL feature macro can be used in #ifdefs to do conditional
|
||||
# compilation based on whether or not this option is enabled.
|
||||
# std
|
||||
# Enables use of the standard C++ library and standard-
|
||||
# conforming iostream library. Specifying this flag also
|
||||
# triggers other standard-conforming behavior, such as the
|
||||
# new rules for the scope of for loop initializers.
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = irix
|
||||
QMAKE_COMPILER_DEFINES += __sgi __EDG
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = sgi_cc
|
||||
|
||||
QMAKE_CC = cc
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS = -64 -signed -woff 1209,1355,1375,1424,3303
|
||||
QMAKE_CFLAGS_DEPS = -M
|
||||
QMAKE_CFLAGS_WARN_ON = -fullwarn
|
||||
QMAKE_CFLAGS_WARN_OFF =
|
||||
QMAKE_CFLAGS_RELEASE = -O2 -OPT:Olimit=3000
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB =
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC = -woff 1110,1174,3262
|
||||
QMAKE_CFLAGS_THREAD =
|
||||
QMAKE_CFLAGS_EXCEPTIONS_OFF = -LANG:exceptions=off
|
||||
|
||||
QMAKE_CXX = CC
|
||||
QMAKE_CXXFLAGS = -64 -signed -LANG:std:libc_in_namespace_std=ON -woff 1209,1355,1375,1424,3303
|
||||
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD =
|
||||
QMAKE_CXXFLAGS_EXCEPTIONS_OFF = $$QMAKE_CFLAGS_EXCEPTIONS_OFF
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 =
|
||||
QMAKE_LIBDIR_X11 =
|
||||
QMAKE_INCDIR_OPENGL =
|
||||
QMAKE_LIBDIR_OPENGL =
|
||||
|
||||
QMAKE_LINK = CC
|
||||
QMAKE_LINK_SHLIB = CC
|
||||
QMAKE_LFLAGS = -64
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_DEBUG = -g
|
||||
QMAKE_LFLAGS_SHLIB = -shared
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -Wl,-soname,
|
||||
QMAKE_LFLAGS_THREAD =
|
||||
QMAKE_LFLAGS_NOUNDEF = -Wl,-no_unresolved
|
||||
QMAKE_LFLAGS_RPATH = -Wl,-rpath,
|
||||
QMAKE_LFLAGS_EXCEPTIONS_OFF = $$QMAKE_CFLAGS_EXCEPTIONS_OFF
|
||||
|
||||
QMAKE_LIBS =
|
||||
QMAKE_LIBS_DYNLOAD =
|
||||
QMAKE_LIBS_X11 = -lXext -lX11 -lm
|
||||
QMAKE_LIBS_OPENGL = -lGL -lm
|
||||
QMAKE_LIBS_THREAD = -lpthread
|
||||
|
||||
QMAKE_AR = CC -ar -o
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
QMAKE_CLEAN = -r $(OBJECTS_DIR)so_locations $(OBJECTS_DIR)ii_files
|
||||
|
||||
load(qt_config)
|
@ -1,93 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
|
||||
#include <pthread.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#define QT_USE_XOPEN_LFS_EXTENSIONS
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_SOCKLEN_T
|
||||
|
||||
#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500)
|
||||
#define QT_SOCKLEN_T size_t
|
||||
#else
|
||||
#define QT_SOCKLEN_T int
|
||||
#endif
|
||||
|
||||
// Irix 6.5 and better
|
||||
#if defined(_SGIAPI)
|
||||
#define QT_SNPRINTF ::snprintf
|
||||
#define QT_VSNPRINTF ::vsnprintf
|
||||
#endif
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -1,108 +0,0 @@
|
||||
#
|
||||
# qmake configuration for irix-cc
|
||||
#
|
||||
# From cc(1):
|
||||
# -n32
|
||||
# Generates a (new) 32-bit object. This defaults to -mips3 if
|
||||
# -mips4 has not been specified.
|
||||
# -LANG: ...
|
||||
# The language feature option group controls the source language
|
||||
# interpretation assumed by the compiler. The individual controls
|
||||
# in this group are as follows:
|
||||
# ansi-for-init-scope [ = ( ON|OFF ) ]
|
||||
# Enables or disables the ANSI scoping rules for for-init
|
||||
# declarations (the scope of the name declared extends to
|
||||
# the end of the for statement). This enables the behavior
|
||||
# that is required by the C++ standard. The default value
|
||||
# is OFF, which is the ARM behavior (the scope of the name
|
||||
# declared extends to the end of the block enclosing the for
|
||||
# statement).
|
||||
# bool [ = ( ON|OFF ) ]
|
||||
# Enables or disables the predefined bool data type, along
|
||||
# with the predefined values true and false. Use this option
|
||||
# only to suppress this type in old code that defines bool
|
||||
# itself. Because this option changes the mangling of function
|
||||
# names with bool parameters, all files comprising a program
|
||||
# should be compiled with consistent options.
|
||||
# Default is ON.
|
||||
# The _BOOL feature macro can be used in #ifdefs to do conditional
|
||||
# compilation based on whether or not this option is enabled.
|
||||
# std
|
||||
# Enables use of the standard C++ library and standard-
|
||||
# conforming iostream library. Specifying this flag also
|
||||
# triggers other standard-conforming behavior, such as the
|
||||
# new rules for the scope of for loop initializers.
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = irix
|
||||
QMAKE_COMPILER_DEFINES += __sgi __EDG
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = sgi_cc
|
||||
|
||||
QMAKE_CC = cc
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS = -n32 -signed -woff 1209,1355,1375,1424,3303
|
||||
QMAKE_CFLAGS_DEPS = -M
|
||||
QMAKE_CFLAGS_WARN_ON = -fullwarn
|
||||
QMAKE_CFLAGS_WARN_OFF =
|
||||
QMAKE_CFLAGS_RELEASE = -O2 -OPT:Olimit=3000
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB =
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC = -woff 1110,1174,3262
|
||||
QMAKE_CFLAGS_THREAD =
|
||||
QMAKE_CFLAGS_EXCEPTIONS_OFF = -LANG:exceptions=off
|
||||
|
||||
QMAKE_CXX = CC
|
||||
QMAKE_CXXFLAGS = -n32 -signed -LANG:std:libc_in_namespace_std=ON -woff 1209,1355,1375,1424,3303
|
||||
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD =
|
||||
QMAKE_CXXFLAGS_EXCEPTIONS_OFF = $$QMAKE_CFLAGS_EXCEPTIONS_OFF
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 =
|
||||
QMAKE_LIBDIR_X11 =
|
||||
QMAKE_INCDIR_OPENGL =
|
||||
QMAKE_LIBDIR_OPENGL =
|
||||
|
||||
QMAKE_LINK = CC
|
||||
QMAKE_LINK_SHLIB = CC
|
||||
QMAKE_LFLAGS = -n32
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_DEBUG = -g
|
||||
QMAKE_LFLAGS_SHLIB = -shared
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -Wl,-soname,
|
||||
QMAKE_LFLAGS_THREAD =
|
||||
QMAKE_LFLAGS_NOUNDEF = -Wl,-no_unresolved
|
||||
QMAKE_LFLAGS_RPATH = -Wl,-rpath,
|
||||
QMAKE_LFLAGS_EXCEPTIONS_OFF = $$QMAKE_CFLAGS_EXCEPTIONS_OFF
|
||||
|
||||
QMAKE_LIBS =
|
||||
QMAKE_LIBS_DYNLOAD =
|
||||
QMAKE_LIBS_X11 = -lXext -lX11 -lm
|
||||
QMAKE_LIBS_OPENGL = -lGL -lm
|
||||
QMAKE_LIBS_THREAD = -lpthread
|
||||
|
||||
QMAKE_AR = CC -ar -o
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
QMAKE_CLEAN = -r $(OBJECTS_DIR)so_locations $(OBJECTS_DIR)ii_files
|
||||
|
||||
load(qt_config)
|
@ -1,93 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
|
||||
#include <pthread.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#define QT_USE_XOPEN_LFS_EXTENSIONS
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_SOCKLEN_T
|
||||
|
||||
#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500)
|
||||
#define QT_SOCKLEN_T size_t
|
||||
#else
|
||||
#define QT_SOCKLEN_T int
|
||||
#endif
|
||||
|
||||
// Irix 6.5 and better
|
||||
#if defined(_SGIAPI)
|
||||
#define QT_SNPRINTF ::snprintf
|
||||
#define QT_VSNPRINTF ::vsnprintf
|
||||
#endif
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -1,78 +0,0 @@
|
||||
#
|
||||
# qmake configuration for irix-g++-64
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = irix
|
||||
QMAKE_COMPILER_DEFINES += __sgi __GNUC__
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = gcc
|
||||
|
||||
QMAKE_CC = gcc
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS = -mabi=64
|
||||
QMAKE_CFLAGS_DEPS = -M
|
||||
QMAKE_CFLAGS_WARN_ON = -Wall -W
|
||||
QMAKE_CFLAGS_WARN_OFF = -w
|
||||
QMAKE_CFLAGS_RELEASE = -O2
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB = -fPIC
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
||||
QMAKE_CFLAGS_THREAD =
|
||||
|
||||
QMAKE_CXX = g++
|
||||
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
|
||||
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD =
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 =
|
||||
QMAKE_LIBDIR_X11 =
|
||||
QMAKE_INCDIR_OPENGL =
|
||||
QMAKE_LIBDIR_OPENGL =
|
||||
|
||||
QMAKE_LINK = g++
|
||||
QMAKE_LINK_SHLIB = g++
|
||||
QMAKE_LINK_C = gcc
|
||||
QMAKE_LINK_C_SHLIB = gcc
|
||||
QMAKE_LFLAGS = -mabi=64
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_DEBUG =
|
||||
QMAKE_LFLAGS_SHLIB = -shared -Wl,-LD_LAYOUT:lgot_buffer=1000
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -Wl,-soname,
|
||||
QMAKE_LFLAGS_THREAD =
|
||||
QMAKE_LFLAGS_NOUNDEF = -Wl,-no_unresolved
|
||||
QMAKE_LFLAGS_RPATH = -Wl,-rpath,
|
||||
|
||||
QMAKE_LIBS = -lC
|
||||
QMAKE_LIBS_DYNLOAD =
|
||||
QMAKE_LIBS_X11 = -lXext -lX11 -lm
|
||||
# libGLU is using the SGI C++ library internally and this somehow clashes
|
||||
# with the GNU C++ library (similar name mangling and symbol names?)
|
||||
# so we add -lC so that the SGI C++ library is used first...
|
||||
QMAKE_LIBS_OPENGL = -lGL
|
||||
QMAKE_LIBS_THREAD = -lpthread
|
||||
|
||||
QMAKE_AR = ar cq
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
QMAKE_CLEAN = so_locations
|
||||
|
||||
load(qt_config)
|
@ -1,78 +0,0 @@
|
||||
#
|
||||
# qmake configuration for irix-g++
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = irix
|
||||
QMAKE_COMPILER_DEFINES += __sgi __GNUC__
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = gcc
|
||||
|
||||
QMAKE_CC = gcc
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS =
|
||||
QMAKE_CFLAGS_DEPS = -M
|
||||
QMAKE_CFLAGS_WARN_ON = -Wall -W
|
||||
QMAKE_CFLAGS_WARN_OFF = -w
|
||||
QMAKE_CFLAGS_RELEASE = -O2
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB = -fPIC
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
||||
QMAKE_CFLAGS_THREAD =
|
||||
|
||||
QMAKE_CXX = g++
|
||||
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
|
||||
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD =
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 =
|
||||
QMAKE_LIBDIR_X11 =
|
||||
QMAKE_INCDIR_OPENGL =
|
||||
QMAKE_LIBDIR_OPENGL =
|
||||
|
||||
QMAKE_LINK = g++
|
||||
QMAKE_LINK_SHLIB = g++
|
||||
QMAKE_LINK_C = gcc
|
||||
QMAKE_LINK_C_SHLIB = gcc
|
||||
QMAKE_LFLAGS =
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_DEBUG =
|
||||
QMAKE_LFLAGS_SHLIB = -shared -Wl,-LD_LAYOUT:lgot_buffer=1000
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -Wl,-soname,
|
||||
QMAKE_LFLAGS_THREAD =
|
||||
QMAKE_LFLAGS_NOUNDEF = -Wl,-no_unresolved
|
||||
QMAKE_LFLAGS_RPATH = -Wl,-rpath,
|
||||
|
||||
QMAKE_LIBS = -lC
|
||||
QMAKE_LIBS_DYNLOAD =
|
||||
QMAKE_LIBS_X11 = -lXext -lX11 -lm
|
||||
# libGLU is using the SGI C++ library internally and this somehow clashes
|
||||
# with the GNU C++ library (similar name mangling and symbol names?)
|
||||
# so we add -lC so that the SGI C++ library is used first...
|
||||
QMAKE_LIBS_OPENGL = -lGL
|
||||
QMAKE_LIBS_THREAD = -lpthread
|
||||
|
||||
QMAKE_AR = ar cq
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
QMAKE_CLEAN = so_locations
|
||||
|
||||
load(qt_config)
|
@ -1,100 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
|
||||
#include <pthread.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#define QT_USE_XOPEN_LFS_EXTENSIONS
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_SOCKLEN_T
|
||||
#undef QT_SIGNAL_ARGS
|
||||
|
||||
#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500)
|
||||
#define QT_SOCKLEN_T size_t
|
||||
#else
|
||||
#define QT_SOCKLEN_T int
|
||||
#endif
|
||||
|
||||
#if defined(_LANGUAGE_C_PLUS_PLUS) || !defined(_SGIAPI)
|
||||
#define QT_SIGNAL_ARGS int
|
||||
#else
|
||||
#define QT_SIGNAL_ARGS void
|
||||
#endif
|
||||
|
||||
// Irix 6.5 and better
|
||||
#if defined(_SGIAPI)
|
||||
#define QT_SNPRINTF ::snprintf
|
||||
#define QT_VSNPRINTF ::vsnprintf
|
||||
#endif
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -1,66 +0,0 @@
|
||||
#
|
||||
# qmake configuration for linux-cxx
|
||||
#
|
||||
# Written for Compaq C++ for GNU/Linux on Alpha
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = linux
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = compaq_cc
|
||||
|
||||
QMAKE_CC = ccc
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS = -w
|
||||
QMAKE_CFLAGS_DEPS = -M
|
||||
QMAKE_CFLAGS_WARN_ON =
|
||||
QMAKE_CFLAGS_WARN_OFF =
|
||||
QMAKE_CFLAGS_RELEASE = -O2
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB =
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC = -Olimit 1000
|
||||
|
||||
QMAKE_CXX = cxx
|
||||
QMAKE_CXXFLAGS = -w
|
||||
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 =
|
||||
QMAKE_LIBDIR_X11 =
|
||||
QMAKE_INCDIR_OPENGL =
|
||||
QMAKE_LIBDIR_OPENGL =
|
||||
|
||||
QMAKE_LINK = cxx
|
||||
QMAKE_LINK_SHLIB = cxx
|
||||
QMAKE_LFLAGS =
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_DEBUG =
|
||||
QMAKE_LFLAGS_SHLIB = -shared
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -Wl,-soname,
|
||||
|
||||
QMAKE_LIBS =
|
||||
QMAKE_LIBS_DYNLOAD = -ldl
|
||||
QMAKE_LIBS_X11 = -lXext -lX11 -lm
|
||||
QMAKE_LIBS_NIS = -lnsl
|
||||
|
||||
QMAKE_LIBS_OPENGL = -lGL
|
||||
|
||||
QMAKE_AR = ar cqs
|
||||
QMAKE_RANLIB =
|
||||
|
||||
load(qt_config)
|
@ -1,99 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
// 1) need to reset default environment if _BSD_SOURCE is defined
|
||||
// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
|
||||
// 3) it seems older glibc need this to include the X/Open stuff
|
||||
#ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
|
||||
#include <pthread.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#define QT_USE_XOPEN_LFS_EXTENSIONS
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_SOCKLEN_T
|
||||
|
||||
#if defined(__GLIBC__) && (__GLIBC__ >= 2)
|
||||
#define QT_SOCKLEN_T socklen_t
|
||||
#else
|
||||
#define QT_SOCKLEN_T int
|
||||
#endif
|
||||
|
||||
#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
|
||||
#define QT_SNPRINTF ::snprintf
|
||||
#define QT_VSNPRINTF ::vsnprintf
|
||||
#endif
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -6,6 +6,9 @@ MAKEFILE_GENERATOR = UNIX
|
||||
|
||||
QMAKE_COMPILER = gcc intel_icc # icc pretends to be gcc
|
||||
|
||||
QMAKE_CFLAGS_OPTIMIZE = -O2
|
||||
QMAKE_CFLAGS_OPTIMIZE_SIZE = -Os
|
||||
|
||||
QMAKE_CC = icc
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
@ -16,7 +19,7 @@ QMAKE_CFLAGS_APP = -fPIC
|
||||
QMAKE_CFLAGS_DEPS = -M
|
||||
QMAKE_CFLAGS_WARN_ON = -w1 -Wall -Wcheck -wd1572,873,2259,2261,3373
|
||||
QMAKE_CFLAGS_WARN_OFF = -w
|
||||
QMAKE_CFLAGS_RELEASE = -O2
|
||||
QMAKE_CFLAGS_RELEASE = $$QMAKE_CFLAGS_OPTIMIZE
|
||||
QMAKE_CFLAGS_DEBUG = -O0 -g
|
||||
QMAKE_CFLAGS_SHLIB = -fPIC
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
|
@ -1,83 +0,0 @@
|
||||
#
|
||||
# qmake configuration for linux-kcc
|
||||
#
|
||||
# Written for KAI C++ 4.0f for GNU/Linux
|
||||
#
|
||||
# This product has been discontinued, use Intel C++ instead.
|
||||
#
|
||||
# From the KAI C++ man page for Linux:
|
||||
# --[no_]thread_safe
|
||||
# [Waive or] Request thread-safe handling of system-allocated objects.
|
||||
# To guarantee thread safety, this option must be used when both
|
||||
# compiling and linking. Thread-safe C++ is not link-compatible with
|
||||
# (the default) non-thread-safe C++.
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = linux
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = kai_cc
|
||||
|
||||
QMAKE_CC = KCC
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS = --c --display_error_number --backend -pipe
|
||||
QMAKE_CFLAGS_DEPS = -M
|
||||
QMAKE_CFLAGS_WARN_ON =
|
||||
QMAKE_CFLAGS_WARN_OFF = -w
|
||||
QMAKE_CFLAGS_RELEASE = +K2
|
||||
QMAKE_CFLAGS_DEBUG = +K0
|
||||
QMAKE_CFLAGS_SHLIB = -fPIC
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC = --diag_suppress 111,177
|
||||
QMAKE_CFLAGS_THREAD = --thread_safe
|
||||
|
||||
QMAKE_CXX = KCC
|
||||
QMAKE_CXXFLAGS = --display_error_number --diag_suppress 611,1142 --backend -pipe
|
||||
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 =
|
||||
QMAKE_LIBDIR_X11 =
|
||||
QMAKE_INCDIR_OPENGL =
|
||||
QMAKE_LIBDIR_OPENGL =
|
||||
|
||||
QMAKE_LINK = KCC
|
||||
QMAKE_LINK_SHLIB = KCC
|
||||
QMAKE_LFLAGS =
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_DEBUG =
|
||||
QMAKE_LFLAGS_SHLIB =
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = --soname$$LITERAL_WHITESPACE
|
||||
QMAKE_LFLAGS_THREAD = --thread_safe
|
||||
QMAKE_LFLAGS_RPATH = -rpath$$LITERAL_WHITESPACE
|
||||
|
||||
QMAKE_LIBS =
|
||||
QMAKE_LIBS_DYNLOAD = -ldl
|
||||
QMAKE_LIBS_X11 = -lXext -lX11 -lm
|
||||
QMAKE_LIBS_NIS = -lnsl
|
||||
QMAKE_LIBS_OPENGL = -lGL
|
||||
QMAKE_LIBS_THREAD =
|
||||
|
||||
QMAKE_AR = ar cqs
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
QMAKE_CLEAN = -r $(OBJECTS_DIR)ti_files
|
||||
|
||||
load(qt_config)
|
@ -1,102 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
// 1) need to reset default environment if _BSD_SOURCE is defined
|
||||
// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
|
||||
// 3) it seems older glibc need this to include the X/Open stuff
|
||||
#ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
|
||||
#include <pthread.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dlfcn.h>
|
||||
// KAI C++ has at the moment problems with unloading the Qt plugins.
|
||||
// So don't unload them as a workaround for now.
|
||||
#define QT_NO_LIBRARY_UNLOAD
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#define QT_USE_XOPEN_LFS_EXTENSIONS
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_SOCKLEN_T
|
||||
|
||||
#if defined(__GLIBC__) && (__GLIBC__ >= 2)
|
||||
#define QT_SOCKLEN_T socklen_t
|
||||
#else
|
||||
#define QT_SOCKLEN_T int
|
||||
#endif
|
||||
|
||||
#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
|
||||
#define QT_SNPRINTF ::snprintf
|
||||
#define QT_VSNPRINTF ::vsnprintf
|
||||
#endif
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -1,72 +0,0 @@
|
||||
#
|
||||
# qmake configuration for linux-pgcc
|
||||
#
|
||||
# Written for the Portland Group compiler 6.0-5
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = linux
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = portland_cc
|
||||
|
||||
QMAKE_CC = pgcc
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS =
|
||||
QMAKE_CFLAGS_DEPS = -M
|
||||
QMAKE_CFLAGS_WARN_ON =
|
||||
QMAKE_CFLAGS_WARN_OFF = -w
|
||||
QMAKE_CFLAGS_RELEASE = -fast
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB = -fpic
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC =
|
||||
QMAKE_CFLAGS_THREAD = -D_REENTRANT
|
||||
|
||||
QMAKE_CXX = pgCC
|
||||
QMAKE_CXXFLAGS = --display_error_number --diag_suppress815 $$QMAKE_CFLAGS
|
||||
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 =
|
||||
QMAKE_LIBDIR_X11 =
|
||||
QMAKE_INCDIR_OPENGL =
|
||||
QMAKE_LIBDIR_OPENGL =
|
||||
|
||||
QMAKE_LINK = pgCC
|
||||
QMAKE_LINK_SHLIB = pgCC
|
||||
QMAKE_LFLAGS =
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_DEBUG =
|
||||
QMAKE_LFLAGS_SHLIB = -shared -fpic
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -Wl,-soname,
|
||||
QMAKE_LFLAGS_THREAD =
|
||||
QMAKE_LFLAGS_RPATH = -R
|
||||
|
||||
QMAKE_LIBS =
|
||||
QMAKE_LIBS_DYNLOAD = -ldl
|
||||
QMAKE_LIBS_X11 = -lXext -lX11 -lm
|
||||
QMAKE_LIBS_NIS = -lnsl
|
||||
QMAKE_LIBS_OPENGL = -lGL
|
||||
QMAKE_LIBS_THREAD = -lpthread
|
||||
|
||||
QMAKE_AR = ar cqs
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
load(qt_config)
|
@ -1,99 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
// 1) need to reset default environment if _BSD_SOURCE is defined
|
||||
// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
|
||||
// 3) it seems older glibc need this to include the X/Open stuff
|
||||
#ifndef _GNU_SOURCE
|
||||
# define _GNU_SOURCE
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
|
||||
#include <pthread.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#define QT_USE_XOPEN_LFS_EXTENSIONS
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_SOCKLEN_T
|
||||
|
||||
#if defined(__GLIBC__) && (__GLIBC__ >= 2)
|
||||
#define QT_SOCKLEN_T socklen_t
|
||||
#else
|
||||
#define QT_SOCKLEN_T int
|
||||
#endif
|
||||
|
||||
#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
|
||||
#define QT_SNPRINTF ::snprintf
|
||||
#define QT_VSNPRINTF ::vsnprintf
|
||||
#endif
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -11,12 +11,15 @@ QMAKE_COMPILER_DEFINES += __APPLE__ __GNUC__
|
||||
|
||||
QMAKE_COMPILER = gcc clang intel_icc # icc pretends to be gcc and clang
|
||||
|
||||
QMAKE_CFLAGS_OPTIMIZE = -O2
|
||||
QMAKE_CFLAGS_OPTIMIZE_SIZE = -Os
|
||||
|
||||
QMAKE_CC = icc
|
||||
QMAKE_CFLAGS =
|
||||
QMAKE_CFLAGS_DEPS = -M
|
||||
QMAKE_CFLAGS_WARN_ON = -w1 -Wcheck -wd654,1572,411,873,1125,2259,2261,3280,3373
|
||||
QMAKE_CFLAGS_WARN_OFF = -w
|
||||
QMAKE_CFLAGS_RELEASE = -O2
|
||||
QMAKE_CFLAGS_RELEASE = $$QMAKE_CFLAGS_OPTIMIZE
|
||||
QMAKE_CFLAGS_DEBUG = -g -O0
|
||||
QMAKE_CFLAGS_SHLIB = -fPIC
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
|
@ -1,67 +0,0 @@
|
||||
#
|
||||
# qmake configuration for sco-cc
|
||||
#
|
||||
# Written for SCO OpenServer with UDK
|
||||
#
|
||||
# -Wf,--diag_suppress,838
|
||||
# turns off warning about missing return types in X headers
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = sco
|
||||
|
||||
QMAKE_COMPILER = sco_cc
|
||||
|
||||
QMAKE_CC = cc
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS =
|
||||
QMAKE_CFLAGS_WARN_ON =
|
||||
QMAKE_CFLAGS_WARN_OFF = -w
|
||||
QMAKE_CFLAGS_RELEASE = -O
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB = -KPIC
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC = -Wf,--diag_suppress,111 -Wf,--diag_suppress,177
|
||||
|
||||
QMAKE_CXX = CC
|
||||
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -Wf,--display_error_number -Wf,--diag_suppress,838
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE -Tused
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 =
|
||||
QMAKE_LIBDIR_X11 = /usr/X/lib
|
||||
QMAKE_INCDIR_OPENGL =
|
||||
QMAKE_LIBDIR_OPENGL =
|
||||
|
||||
QMAKE_LINK = CC
|
||||
QMAKE_LINK_SHLIB = CC
|
||||
QMAKE_LFLAGS =
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_DEBUG =
|
||||
QMAKE_LFLAGS_SHLIB = -G
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -h$$LITERAL_WHITESPACE
|
||||
|
||||
QMAKE_LIBS =
|
||||
QMAKE_LIBS_DYNLOAD = -ldl
|
||||
QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lsocket -lnsl -lm
|
||||
|
||||
QMAKE_LIBS_OPENGL = -lGL -lXt
|
||||
|
||||
QMAKE_AR = ar cq
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
include(../common/unix.conf)
|
||||
load(qt_config)
|
@ -1,85 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
|
||||
#include <pthread.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/filio.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_SOCKLEN_T
|
||||
#define QT_SOCKLEN_T size_t
|
||||
|
||||
#define QT_SNPRINTF ::snprintf
|
||||
#define QT_VSNPRINTF ::vsnprintf
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -1,70 +0,0 @@
|
||||
#
|
||||
# qmake configuration for sco-g++
|
||||
#
|
||||
# Written for SCO OpenServer 5.0.6 with Skunkware's compiler
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = sco
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = gcc
|
||||
|
||||
QMAKE_CC = gcc
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS =
|
||||
QMAKE_CFLAGS_DEPS = -M
|
||||
QMAKE_CFLAGS_WARN_ON = -Wall -W
|
||||
QMAKE_CFLAGS_WARN_OFF = -w
|
||||
QMAKE_CFLAGS_RELEASE = -O2
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB = -fPIC
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
||||
|
||||
QMAKE_CXX = g++
|
||||
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
|
||||
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 =
|
||||
QMAKE_LIBDIR_X11 =
|
||||
QMAKE_INCDIR_OPENGL =
|
||||
QMAKE_LIBDIR_OPENGL =
|
||||
|
||||
QMAKE_LINK = g++
|
||||
QMAKE_LINK_SHLIB = g++
|
||||
QMAKE_LINK_C = gcc
|
||||
QMAKE_LINK_C_SHLIB = gcc
|
||||
QMAKE_LFLAGS =
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_DEBUG =
|
||||
QMAKE_LFLAGS_SHLIB = -G
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -h$$LITERAL_WHITESPACE
|
||||
QMAKE_LFLAGS_RPATH =
|
||||
|
||||
QMAKE_LIBS =
|
||||
QMAKE_LIBS_DYNLOAD = -ldl
|
||||
QMAKE_LIBS_X11 = -lXext -lX11 -lsocket -lm
|
||||
|
||||
QMAKE_LIBS_OPENGL = -lGL
|
||||
|
||||
QMAKE_AR = ar cqs
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
load(qt_config)
|
@ -1,89 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
// This is to have PATH_MAX defined in <limits.h>
|
||||
#ifndef _IBCS2
|
||||
# define _IBCS2
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
|
||||
#include <pthread.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_SOCKLEN_T
|
||||
#define QT_SOCKLEN_T int
|
||||
|
||||
#define QT_SNPRINTF ::snprintf
|
||||
#define QT_VSNPRINTF ::vsnprintf
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -1,69 +0,0 @@
|
||||
#
|
||||
# qmake configuration for tru64-cxx
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = tru64
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = dec_cc
|
||||
|
||||
QMAKE_CC = cc
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS =
|
||||
QMAKE_CFLAGS_DEPS = -M
|
||||
QMAKE_CFLAGS_WARN_ON =
|
||||
QMAKE_CFLAGS_WARN_OFF =
|
||||
QMAKE_CFLAGS_RELEASE = -O2
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB =
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC = -Olimit 1000
|
||||
QMAKE_CFLAGS_THREAD = -pthread
|
||||
|
||||
QMAKE_CXX = cxx
|
||||
QMAKE_CXXFLAGS = -x cxx -model ansi $$QMAKE_CFLAGS
|
||||
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 =
|
||||
QMAKE_LIBDIR_X11 =
|
||||
QMAKE_INCDIR_OPENGL =
|
||||
QMAKE_LIBDIR_OPENGL =
|
||||
|
||||
QMAKE_LINK = cxx
|
||||
QMAKE_LINK_SHLIB = cxx
|
||||
QMAKE_LFLAGS = -model ansi
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_DEBUG =
|
||||
QMAKE_LFLAGS_SHLIB = -shared
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_THREAD = -pthread
|
||||
QMAKE_LFLAGS_SONAME = -soname$$LITERAL_WHITESPACE
|
||||
QMAKE_LFLAGS_RPATH = -rpath$$LITERAL_WHITESPACE
|
||||
|
||||
QMAKE_LIBS = -lm
|
||||
QMAKE_LIBS_DYNLOAD =
|
||||
QMAKE_LIBS_X11 = -lXext -lX11
|
||||
QMAKE_LIBS_OPENGL = -lGL
|
||||
QMAKE_LIBS_THREAD = -lrt
|
||||
|
||||
QMAKE_AR = ar cqs
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
load(qt_config)
|
@ -1,107 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
|
||||
#ifndef QT_NO_THREAD
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#define QT_NO_USE_FSEEKO
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_OFF_T
|
||||
#undef QT_SOCKLEN_T
|
||||
|
||||
#define QT_OFF_T off_t
|
||||
|
||||
#if defined(_POSIX_PII_SOCKET)
|
||||
#define QT_SOCKLEN_T socklen_t
|
||||
#elif defined(_XOPEN_SOURCE_EXTENDED)
|
||||
#define QT_SOCKLEN_T size_t
|
||||
#else
|
||||
#define QT_SOCKLEN_T int
|
||||
#endif
|
||||
|
||||
#if defined(_XOPEN_SOURCE) && defined(_OSF_SOURCE)
|
||||
// Not available in the <unistd.h> header file of Tru64 4.0F.
|
||||
// Fixed in the <unistd.h> header of Tru64 5.0A so we copy/paste from there...
|
||||
extern "C" int usleep(useconds_t);
|
||||
#endif
|
||||
|
||||
#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 400)
|
||||
// Tru64 5.0 and better
|
||||
#define QT_SNPRINTF ::snprintf
|
||||
#define QT_VSNPRINTF ::vsnprintf
|
||||
#endif
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -1,71 +0,0 @@
|
||||
#
|
||||
# qmake configuration for tru64-g++
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = tru64
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = gcc
|
||||
|
||||
QMAKE_CC = gcc
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS =
|
||||
QMAKE_CFLAGS_DEPS = -M
|
||||
QMAKE_CFLAGS_WARN_ON = -Wall -W
|
||||
QMAKE_CFLAGS_WARN_OFF = -w
|
||||
QMAKE_CFLAGS_RELEASE = -O2
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB = -fPIC
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
||||
QMAKE_CFLAGS_THREAD = -D_REENTRANT
|
||||
|
||||
QMAKE_CXX = g++
|
||||
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
|
||||
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 =
|
||||
QMAKE_LIBDIR_X11 =
|
||||
QMAKE_INCDIR_OPENGL =
|
||||
QMAKE_LIBDIR_OPENGL =
|
||||
|
||||
QMAKE_LINK = g++
|
||||
QMAKE_LINK_SHLIB = g++
|
||||
QMAKE_LINK_C = gcc
|
||||
QMAKE_LINK_C_SHLIB = gcc
|
||||
QMAKE_LFLAGS =
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_DEBUG =
|
||||
QMAKE_LFLAGS_SHLIB = -shared
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_THREAD =
|
||||
QMAKE_LFLAGS_SONAME = -Wl,-soname,
|
||||
QMAKE_LFLAGS_RPATH = -Wl,-rpath,
|
||||
|
||||
QMAKE_LIBS =
|
||||
QMAKE_LIBS_DYNLOAD =
|
||||
QMAKE_LIBS_X11 = -lXext -lX11 -lm
|
||||
QMAKE_LIBS_OPENGL = -lGL
|
||||
QMAKE_LIBS_THREAD = -lpthread -lexc -lrt
|
||||
|
||||
QMAKE_AR = ar cqs
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
load(qt_config)
|
@ -1,107 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
|
||||
#ifndef QT_NO_THREAD
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#define QT_NO_USE_FSEEKO
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_OFF_T
|
||||
#undef QT_SOCKLEN_T
|
||||
|
||||
#define QT_OFF_T off_t
|
||||
|
||||
#if defined(_POSIX_PII_SOCKET)
|
||||
#define QT_SOCKLEN_T socklen_t
|
||||
#elif defined(_XOPEN_SOURCE_EXTENDED)
|
||||
#define QT_SOCKLEN_T size_t
|
||||
#else
|
||||
#define QT_SOCKLEN_T int
|
||||
#endif
|
||||
|
||||
#if defined(_XOPEN_SOURCE) && defined(_OSF_SOURCE)
|
||||
// Not available in the <unistd.h> header file of Tru64 4.0F.
|
||||
// Fixed in the <unistd.h> header of Tru64 5.0A so we copy/paste from there...
|
||||
extern "C" int usleep(useconds_t);
|
||||
#endif
|
||||
|
||||
#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 400)
|
||||
// Tru64 5.0 and better
|
||||
#define QT_SNPRINTF ::snprintf
|
||||
#define QT_VSNPRINTF ::vsnprintf
|
||||
#endif
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -1,74 +0,0 @@
|
||||
#
|
||||
# qmake configuration for unixware-cc
|
||||
#
|
||||
# Written for UnixWare 7 with UDK or OUDK
|
||||
#
|
||||
# -Wf,--diag_suppress,838
|
||||
# turns off warning about missing return types in X headers
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = unixware
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = sco_cc
|
||||
|
||||
QMAKE_CC = cc
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS =
|
||||
QMAKE_CFLAGS_WARN_ON =
|
||||
QMAKE_CFLAGS_WARN_OFF = -w
|
||||
QMAKE_CFLAGS_RELEASE = -O
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB = -KPIC
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC = -Wf,--diag_suppress,111 -Wf,--diag_suppress,177
|
||||
QMAKE_CFLAGS_THREAD = -Kthread
|
||||
|
||||
QMAKE_CXX = CC
|
||||
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -Wf,--display_error_number -Wf,--diag_suppress,838
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE -Tused
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 =
|
||||
QMAKE_LIBDIR_X11 = /usr/X/lib
|
||||
QMAKE_INCDIR_OPENGL =
|
||||
QMAKE_LIBDIR_OPENGL =
|
||||
|
||||
QMAKE_LINK = CC
|
||||
QMAKE_LINK_SHLIB = CC
|
||||
QMAKE_LFLAGS =
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_DEBUG =
|
||||
QMAKE_LFLAGS_SHLIB = -G
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -h$$LITERAL_WHITESPACE
|
||||
QMAKE_LFLAGS_THREAD = -Kthread
|
||||
QMAKE_LFLAGS_RPATH = -R
|
||||
|
||||
QMAKE_LIBS =
|
||||
QMAKE_LIBS_DYNLOAD = -ldl
|
||||
QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lsocket -lnsl -lm
|
||||
|
||||
QMAKE_LIBS_OPENGL = -lGL -lXt
|
||||
|
||||
QMAKE_LIBS_THREAD =
|
||||
|
||||
QMAKE_AR = ar cq
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
load(qt_config)
|
@ -1,89 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
|
||||
#include <pthread.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/filio.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#define QT_NO_USE_FSEEKO
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_OFF_T
|
||||
#undef QT_SOCKLEN_T
|
||||
|
||||
#define QT_OFF_T off_t
|
||||
#define QT_SOCKLEN_T size_t
|
||||
|
||||
#define QT_SNPRINTF ::snprintf
|
||||
#define QT_VSNPRINTF ::vsnprintf
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
@ -1,73 +0,0 @@
|
||||
#
|
||||
# qmake configuration for unixware-g++
|
||||
#
|
||||
# Written for UnixWare 7 with OSTK
|
||||
#
|
||||
|
||||
MAKEFILE_GENERATOR = UNIX
|
||||
QMAKE_PLATFORM = unixware
|
||||
|
||||
include(../common/unix.conf)
|
||||
|
||||
QMAKE_COMPILER = gcc
|
||||
|
||||
QMAKE_CC = gcc
|
||||
QMAKE_LEX = flex
|
||||
QMAKE_LEXFLAGS =
|
||||
QMAKE_YACC = yacc
|
||||
QMAKE_YACCFLAGS = -d
|
||||
QMAKE_CFLAGS =
|
||||
QMAKE_CFLAGS_DEPS = -M
|
||||
QMAKE_CFLAGS_WARN_ON = -Wall -W
|
||||
QMAKE_CFLAGS_WARN_OFF = -w
|
||||
QMAKE_CFLAGS_RELEASE = -O2
|
||||
QMAKE_CFLAGS_DEBUG = -g
|
||||
QMAKE_CFLAGS_SHLIB = -fPIC
|
||||
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
||||
QMAKE_CFLAGS_THREAD =
|
||||
|
||||
QMAKE_CXX = g++
|
||||
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
|
||||
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
|
||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
||||
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
|
||||
|
||||
QMAKE_INCDIR =
|
||||
QMAKE_LIBDIR =
|
||||
QMAKE_INCDIR_X11 =
|
||||
QMAKE_LIBDIR_X11 = /usr/X/lib
|
||||
QMAKE_INCDIR_OPENGL =
|
||||
QMAKE_LIBDIR_OPENGL =
|
||||
|
||||
QMAKE_LINK = g++
|
||||
QMAKE_LINK_SHLIB = g++
|
||||
QMAKE_LINK_C = gcc
|
||||
QMAKE_LINK_C_SHLIB = gcc
|
||||
QMAKE_LFLAGS =
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_DEBUG =
|
||||
QMAKE_LFLAGS_SHLIB = -shared
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME =
|
||||
QMAKE_LFLAGS_THREAD =
|
||||
QMAKE_LFLAGS_RPATH = -Wl,-R,
|
||||
|
||||
QMAKE_LIBS =
|
||||
QMAKE_LIBS_DYNLOAD = -ldl
|
||||
QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lsocket -lnsl -lm
|
||||
QMAKE_LIBS_OPENGL = -lGL -lXt
|
||||
QMAKE_LIBS_THREAD = -lthread
|
||||
|
||||
QMAKE_AR = ar cq
|
||||
QMAKE_OBJCOPY = objcopy
|
||||
QMAKE_NM = nm -P
|
||||
QMAKE_RANLIB =
|
||||
|
||||
load(qt_config)
|
@ -1,89 +0,0 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** 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 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 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.LGPL3 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-3.0.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 (at your option) the GNU General
|
||||
** Public license version 3 or any later version approved by the KDE Free
|
||||
** Qt Foundation. The licenses are as published by the Free Software
|
||||
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||
** 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-2.0.html and
|
||||
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef QPLATFORMDEFS_H
|
||||
#define QPLATFORMDEFS_H
|
||||
|
||||
// Get Qt defines/settings
|
||||
|
||||
#include "qglobal.h"
|
||||
|
||||
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||||
|
||||
|
||||
#include <pthread.h>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/filio.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
#ifndef QT_NO_IPV6IFNAME
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#define QT_NO_USE_FSEEKO
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#undef QT_OFF_T
|
||||
#undef QT_SOCKLEN_T
|
||||
|
||||
#define QT_OFF_T off_t
|
||||
#define QT_SOCKLEN_T size_t
|
||||
|
||||
#define QT_SNPRINTF ::snprintf
|
||||
#define QT_VSNPRINTF ::vsnprintf
|
||||
|
||||
#endif // QPLATFORMDEFS_H
|
20
mkspecs/winrt-arm-msvc2017/qmake.conf
Normal file
20
mkspecs/winrt-arm-msvc2017/qmake.conf
Normal file
@ -0,0 +1,20 @@
|
||||
#
|
||||
# qmake configuration for winrt-arm-msvc2017
|
||||
#
|
||||
# Written for Microsoft Visual C++ 2017
|
||||
#
|
||||
|
||||
include(../common/winrt_winphone/qmake.conf)
|
||||
DEFINES += WINAPI_FAMILY=WINAPI_FAMILY_PC_APP WINAPI_PARTITION_PHONE_APP=1 ARM __ARM__ __arm__
|
||||
|
||||
QMAKE_CFLAGS += -FS
|
||||
QMAKE_CXXFLAGS += -FS
|
||||
QMAKE_LFLAGS += /MACHINE:ARM /NODEFAULTLIB:kernel32.lib
|
||||
|
||||
QMAKE_LIBS += windowscodecs.lib WindowsApp.lib runtimeobject.lib OneCore.lib
|
||||
|
||||
VCPROJ_ARCH = ARM
|
||||
WINSDK_VER = 10.0
|
||||
WINTARGET_VER = winv10.0
|
||||
WINRT_MANIFEST = $$PWD/../common/winrt_winphone/manifests/10.0/AppxManifest.xml.in
|
||||
WINRT_MANIFEST.architecture = arm
|
@ -1,6 +1,6 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Copyright (C) 2017 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** This file is part of the qmake spec of the Qt Toolkit.
|
||||
@ -37,4 +37,4 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include "../irix-g++/qplatformdefs.h"
|
||||
#include "../common/winrt_winphone/qplatformdefs.h"
|
@ -1283,18 +1283,14 @@ MakefileGenerator::writeInstalls(QTextStream &t, bool noBuild)
|
||||
if(is_target || exists(wild)) { //real file or target
|
||||
QFileInfo fi(fileInfo(wild));
|
||||
QString dst_file = filePrefixRoot(root, dst_dir);
|
||||
if(fi.isDir() && project->isActiveConfig("copy_dir_files")) {
|
||||
if(!dst_file.endsWith(Option::dir_sep))
|
||||
dst_file += Option::dir_sep;
|
||||
dst_file += fi.fileName();
|
||||
}
|
||||
if (!dst_file.endsWith(Option::dir_sep))
|
||||
dst_file += Option::dir_sep;
|
||||
dst_file += fi.fileName();
|
||||
QString cmd;
|
||||
if (fi.isDir())
|
||||
cmd = "-$(INSTALL_DIR)";
|
||||
else if (is_target || fi.isExecutable())
|
||||
cmd = "-$(QINSTALL_PROGRAM)";
|
||||
if (is_target || (!fi.isDir() && fi.isExecutable()))
|
||||
cmd = QLatin1String("-$(QINSTALL_PROGRAM)");
|
||||
else
|
||||
cmd = "-$(QINSTALL_FILE)";
|
||||
cmd = QLatin1String("-$(QINSTALL)");
|
||||
cmd += " " + escapeFilePath(wild) + " " + escapeFilePath(dst_file);
|
||||
inst << cmd;
|
||||
if (!project->isActiveConfig("debug_info") && !project->isActiveConfig("nostrip") &&
|
||||
@ -1309,19 +1305,14 @@ MakefileGenerator::writeInstalls(QTextStream &t, bool noBuild)
|
||||
QDir::NoDotAndDotDot | QDir::AllEntries);
|
||||
if (installConfigValues.contains("no_check_exist") && files.isEmpty()) {
|
||||
QString dst_file = filePrefixRoot(root, dst_dir);
|
||||
if (!dst_file.endsWith(Option::dir_sep))
|
||||
dst_file += Option::dir_sep;
|
||||
dst_file += filestr;
|
||||
QString cmd;
|
||||
if (installConfigValues.contains("directory")) {
|
||||
cmd = QLatin1String("-$(INSTALL_DIR)");
|
||||
if (project->isActiveConfig("copy_dir_files")) {
|
||||
if (!dst_file.endsWith(Option::dir_sep))
|
||||
dst_file += Option::dir_sep;
|
||||
dst_file += filestr;
|
||||
}
|
||||
} else if (installConfigValues.contains("executable")) {
|
||||
if (installConfigValues.contains("executable"))
|
||||
cmd = QLatin1String("-$(QINSTALL_PROGRAM)");
|
||||
} else {
|
||||
cmd = QLatin1String("-$(QINSTALL_FILE)");
|
||||
}
|
||||
else
|
||||
cmd = QLatin1String("-$(QINSTALL)");
|
||||
cmd += " " + escapeFilePath(wild) + " " + escapeFilePath(dst_file);
|
||||
inst << cmd;
|
||||
uninst.append(rm_dir_contents + " " + escapeFilePath(filePrefixRoot(root, fileFixify(dst_dir + filestr, FileFixifyAbsolute, false))));
|
||||
@ -1331,12 +1322,10 @@ MakefileGenerator::writeInstalls(QTextStream &t, bool noBuild)
|
||||
uninst.append(rm_dir_contents + " " + escapeFilePath(filePrefixRoot(root, fileFixify(dst_dir + file, FileFixifyAbsolute, false))));
|
||||
QFileInfo fi(fileInfo(dirstr + file));
|
||||
QString dst_file = filePrefixRoot(root, fileFixify(dst_dir, FileFixifyAbsolute, false));
|
||||
if(fi.isDir() && project->isActiveConfig("copy_dir_files")) {
|
||||
if(!dst_file.endsWith(Option::dir_sep))
|
||||
dst_file += Option::dir_sep;
|
||||
dst_file += fi.fileName();
|
||||
}
|
||||
QString cmd = QString(fi.isDir() ? "-$(INSTALL_DIR)" : "-$(QINSTALL_FILE)") + " " +
|
||||
if (!dst_file.endsWith(Option::dir_sep))
|
||||
dst_file += Option::dir_sep;
|
||||
dst_file += fi.fileName();
|
||||
QString cmd = QLatin1String("-$(QINSTALL) ") +
|
||||
escapeFilePath(dirstr + file) + " " + escapeFilePath(dst_file);
|
||||
inst << cmd;
|
||||
if (!project->isActiveConfig("debug_info") && !project->isActiveConfig("nostrip") &&
|
||||
@ -2248,8 +2237,8 @@ MakefileGenerator::writeDefaultVariables(QTextStream &t)
|
||||
t << "INSTALL_FILE = " << var("QMAKE_INSTALL_FILE") << endl;
|
||||
t << "INSTALL_PROGRAM = " << var("QMAKE_INSTALL_PROGRAM") << endl;
|
||||
t << "INSTALL_DIR = " << var("QMAKE_INSTALL_DIR") << endl;
|
||||
t << "QINSTALL_FILE = " << var("QMAKE_QMAKE") << " -install qinstall file" << endl;
|
||||
t << "QINSTALL_PROGRAM = " << var("QMAKE_QMAKE") << " -install qinstall program" << endl;
|
||||
t << "QINSTALL = " << var("QMAKE_QMAKE") << " -install qinstall" << endl;
|
||||
t << "QINSTALL_PROGRAM = " << var("QMAKE_QMAKE") << " -install qinstall -exe" << endl;
|
||||
t << "DEL_FILE = " << var("QMAKE_DEL_FILE") << endl;
|
||||
t << "SYMLINK = " << var("QMAKE_SYMBOLIC_LINK") << endl;
|
||||
t << "DEL_DIR = " << var("QMAKE_DEL_DIR") << endl;
|
||||
|
@ -600,7 +600,7 @@ UnixMakefileGenerator::defaultInstall(const QString &t)
|
||||
dst = escapeFilePath(filePrefixRoot(root, targetdir + src.section('/', -1)));
|
||||
if(!ret.isEmpty())
|
||||
ret += "\n\t";
|
||||
ret += "-$(QINSTALL_FILE) " + escapeFilePath(Option::fixPathToTargetOS(src, false)) + ' ' + dst;
|
||||
ret += "-$(QINSTALL) " + escapeFilePath(Option::fixPathToTargetOS(src, false)) + ' ' + dst;
|
||||
if(!uninst.isEmpty())
|
||||
uninst.append("\n\t");
|
||||
uninst.append("-$(DEL_FILE) " + dst);
|
||||
@ -636,9 +636,9 @@ UnixMakefileGenerator::defaultInstall(const QString &t)
|
||||
|
||||
QString copy_cmd;
|
||||
if (bundle == SolidBundle) {
|
||||
copy_cmd += "-$(INSTALL_DIR) " + src_targ + ' ' + plain_targ;
|
||||
copy_cmd += "-$(QINSTALL) " + src_targ + ' ' + plain_targ;
|
||||
} else if (project->first("TEMPLATE") == "lib" && project->isActiveConfig("staticlib")) {
|
||||
copy_cmd += "-$(QINSTALL_FILE) " + src_targ + ' ' + dst_targ;
|
||||
copy_cmd += "-$(QINSTALL) " + src_targ + ' ' + dst_targ;
|
||||
} else if (!isAux) {
|
||||
if (bundle == SlicedBundle) {
|
||||
if (!ret.isEmpty())
|
||||
@ -698,7 +698,7 @@ UnixMakefileGenerator::defaultInstall(const QString &t)
|
||||
ret += "\n\t";
|
||||
ret += mkdir_p_asstring("\"`dirname " + dst + "`\"", false) + "\n\t";
|
||||
ret += "-$(DEL_FILE) " + dst + "\n\t"; // Can't overwrite symlinks to directories
|
||||
ret += "-$(INSTALL_DIR) " + escapeFilePath(src) + " " + dst; // Use cp -R to copy symlinks
|
||||
ret += "-$(QINSTALL) " + escapeFilePath(src) + " " + dst;
|
||||
if (!uninst.isEmpty())
|
||||
uninst.append("\n\t");
|
||||
uninst.append("-$(DEL_FILE) " + dst);
|
||||
|
@ -94,8 +94,8 @@ NmakeMakefileGenerator::writeMakefile(QTextStream &t)
|
||||
compiler += QStringLiteral("x64");
|
||||
compilerArch = QStringLiteral("amd64");
|
||||
} else {
|
||||
arch = QStringLiteral("x86");
|
||||
compiler += QStringLiteral("x86");
|
||||
compilerArch = QStringLiteral("amd64");
|
||||
}
|
||||
} else {
|
||||
if (arch == QLatin1String("arm")) {
|
||||
|
@ -530,8 +530,8 @@ void Win32MakefileGenerator::writeStandardParts(QTextStream &t)
|
||||
t << "INSTALL_FILE = " << var("QMAKE_INSTALL_FILE") << endl;
|
||||
t << "INSTALL_PROGRAM = " << var("QMAKE_INSTALL_PROGRAM") << endl;
|
||||
t << "INSTALL_DIR = " << var("QMAKE_INSTALL_DIR") << endl;
|
||||
t << "QINSTALL_FILE = " << var("QMAKE_QMAKE") << " -install qinstall file" << endl;
|
||||
t << "QINSTALL_PROGRAM = " << var("QMAKE_QMAKE") << " -install qinstall program" << endl;
|
||||
t << "QINSTALL = " << var("QMAKE_QMAKE") << " -install qinstall" << endl;
|
||||
t << "QINSTALL_PROGRAM = " << var("QMAKE_QMAKE") << " -install qinstall -exe" << endl;
|
||||
t << endl;
|
||||
|
||||
t << "####### Output directory\n\n";
|
||||
|
@ -253,4 +253,39 @@ bool IoUtils::touchFile(const QString &targetFileName, const QString &referenceF
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_UNIX
|
||||
bool IoUtils::readLinkTarget(const QString &symlinkPath, QString *target)
|
||||
{
|
||||
const QByteArray localSymlinkPath = QFile::encodeName(symlinkPath);
|
||||
# if defined(__GLIBC__) && !defined(PATH_MAX)
|
||||
# define PATH_CHUNK_SIZE 256
|
||||
char *s = 0;
|
||||
int len = -1;
|
||||
int size = PATH_CHUNK_SIZE;
|
||||
|
||||
forever {
|
||||
s = (char *)::realloc(s, size);
|
||||
len = ::readlink(localSymlinkPath.constData(), s, size);
|
||||
if (len < 0) {
|
||||
::free(s);
|
||||
break;
|
||||
}
|
||||
if (len < size)
|
||||
break;
|
||||
size *= 2;
|
||||
}
|
||||
# else
|
||||
char s[PATH_MAX+1];
|
||||
int len = readlink(localSymlinkPath.constData(), s, PATH_MAX);
|
||||
# endif
|
||||
if (len <= 0)
|
||||
return false;
|
||||
*target = QFile::decodeName(QByteArray(s, len));
|
||||
# if defined(__GLIBC__) && !defined(PATH_MAX)
|
||||
::free(s);
|
||||
# endif
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
@ -65,6 +65,9 @@ public:
|
||||
#if defined(PROEVALUATOR_FULL)
|
||||
static bool touchFile(const QString &targetFileName, const QString &referenceFileName, QString *errorString);
|
||||
#endif
|
||||
#ifdef Q_OS_UNIX
|
||||
static bool readLinkTarget(const QString &symlinkPath, QString *target);
|
||||
#endif
|
||||
};
|
||||
|
||||
} // namespace ProFileEvaluatorInternal
|
||||
|
@ -36,6 +36,7 @@
|
||||
#include <qdebug.h>
|
||||
#include <qregexp.h>
|
||||
#include <qdir.h>
|
||||
#include <qdiriterator.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
@ -43,6 +44,11 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#if defined(Q_OS_UNIX)
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
# include <qt_windows.h>
|
||||
#endif
|
||||
@ -236,17 +242,11 @@ static int doLink(int argc, char **argv)
|
||||
|
||||
#endif
|
||||
|
||||
static int installFile(const QString &source, const QString &targetFileOrDirectory, bool exe = false)
|
||||
static int installFile(const QString &source, const QString &target, bool exe = false)
|
||||
{
|
||||
QFile sourceFile(source);
|
||||
|
||||
QString target(targetFileOrDirectory);
|
||||
if (QFileInfo(target).isDir())
|
||||
target += QDir::separator() + QFileInfo(sourceFile.fileName()).fileName();
|
||||
|
||||
if (QFile::exists(target))
|
||||
QFile::remove(target);
|
||||
|
||||
QFile::remove(target);
|
||||
QDir::root().mkpath(QFileInfo(target).absolutePath());
|
||||
|
||||
if (!sourceFile.copy(target)) {
|
||||
@ -273,23 +273,64 @@ static int installFile(const QString &source, const QString &targetFileOrDirecto
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int installFileOrDirectory(const QString &source, const QString &target)
|
||||
{
|
||||
QFileInfo fi(source);
|
||||
if (false) {
|
||||
#if defined(Q_OS_UNIX)
|
||||
} else if (fi.isSymLink()) {
|
||||
QString linkTarget;
|
||||
if (!IoUtils::readLinkTarget(fi.absoluteFilePath(), &linkTarget)) {
|
||||
fprintf(stderr, "Could not read link %s: %s\n", qPrintable(fi.absoluteFilePath()), strerror(errno));
|
||||
return 3;
|
||||
}
|
||||
QFile::remove(target);
|
||||
if (::symlink(linkTarget.toLocal8Bit().constData(), target.toLocal8Bit().constData()) < 0) {
|
||||
fprintf(stderr, "Could not create link: %s\n", strerror(errno));
|
||||
return 3;
|
||||
}
|
||||
#endif
|
||||
} else if (fi.isDir()) {
|
||||
QDir::current().mkpath(target);
|
||||
|
||||
QDirIterator it(source, QDir::AllEntries | QDir::NoDotAndDotDot);
|
||||
while (it.hasNext()) {
|
||||
it.next();
|
||||
const QFileInfo &entry = it.fileInfo();
|
||||
const QString &entryTarget = target + QDir::separator() + entry.fileName();
|
||||
|
||||
const int recursionResult = installFileOrDirectory(entry.filePath(), entryTarget);
|
||||
if (recursionResult != 0)
|
||||
return recursionResult;
|
||||
}
|
||||
} else {
|
||||
const int fileCopyResult = installFile(source, target);
|
||||
if (fileCopyResult != 0)
|
||||
return fileCopyResult;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int doQInstall(int argc, char **argv)
|
||||
{
|
||||
if (argc != 3) {
|
||||
fprintf(stderr, "Error: this qinstall command requires exactly three arguments (type, source, destination)\n");
|
||||
bool installExecutable = false;
|
||||
if (argc == 3 && !strcmp(argv[0], "-exe")) {
|
||||
installExecutable = true;
|
||||
--argc;
|
||||
++argv;
|
||||
}
|
||||
|
||||
if (argc != 2 && !installExecutable) {
|
||||
fprintf(stderr, "Error: usage: [-exe] source target\n");
|
||||
return 3;
|
||||
}
|
||||
|
||||
const QString source = QString::fromLocal8Bit(argv[1]);
|
||||
const QString target = QString::fromLocal8Bit(argv[2]);
|
||||
const QString source = QString::fromLocal8Bit(argv[0]);
|
||||
const QString target = QString::fromLocal8Bit(argv[1]);
|
||||
|
||||
if (!strcmp(argv[0], "file"))
|
||||
return installFile(source, target);
|
||||
if (!strcmp(argv[0], "program"))
|
||||
if (installExecutable)
|
||||
return installFile(source, target, /*exe=*/true);
|
||||
|
||||
fprintf(stderr, "Error: Unsupported qinstall command type %s\n", argv[0]);
|
||||
return 3;
|
||||
return installFileOrDirectory(source, target);
|
||||
}
|
||||
|
||||
|
||||
|
2
src/3rdparty/gradle/qt_attribution.json
vendored
2
src/3rdparty/gradle/qt_attribution.json
vendored
@ -1,6 +1,8 @@
|
||||
{
|
||||
"Id": "android-gradle-wrapper",
|
||||
"Name": "Gradle wrapper",
|
||||
"QDocModule": "qtcore",
|
||||
"QtParts": ["tools"],
|
||||
"Homepage": "https://gradle.org",
|
||||
"Version": "3.4.1",
|
||||
"DownloadLocation": "https://github.com/gradle/gradle/releases/tag/v3.4.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2014 BogDan Vatra <bogdan@kde.org>
|
||||
** Copyright (C) 2017 BogDan Vatra <bogdan@kde.org>
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Copyright (C) 2016 Olivier Goffart <ogoffart@woboq.com>
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
@ -47,6 +47,7 @@ import android.content.Intent;
|
||||
import android.content.pm.ActivityInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.content.pm.PackageManager.NameNotFoundException;
|
||||
import android.content.res.AssetManager;
|
||||
import android.content.res.Configuration;
|
||||
import android.graphics.drawable.ColorDrawable;
|
||||
import android.graphics.drawable.Drawable;
|
||||
@ -711,58 +712,26 @@ public class QtActivityDelegate
|
||||
{
|
||||
// start application
|
||||
try {
|
||||
// FIXME turn on debuggable check
|
||||
// if the applications is debuggable and it has a native debug request
|
||||
|
||||
Bundle extras = m_activity.getIntent().getExtras();
|
||||
if (extras != null) {
|
||||
|
||||
if ( /*(ai.flags&ApplicationInfo.FLAG_DEBUGGABLE) != 0
|
||||
&&*/ extras.containsKey("native_debug")
|
||||
&& extras.getString("native_debug").equals("true")) {
|
||||
try {
|
||||
String packagePath =
|
||||
m_activity.getPackageManager().getApplicationInfo(m_activity.getPackageName(),
|
||||
PackageManager.GET_CONFIGURATIONS).dataDir + "/";
|
||||
String gdbserverPath =
|
||||
extras.containsKey("gdbserver_path")
|
||||
? extras.getString("gdbserver_path")
|
||||
: packagePath+"lib/gdbserver ";
|
||||
|
||||
String socket =
|
||||
extras.containsKey("gdbserver_socket")
|
||||
? extras.getString("gdbserver_socket")
|
||||
: "+debug-socket";
|
||||
|
||||
if (!(new File(gdbserverPath)).exists())
|
||||
gdbserverPath += ".so";
|
||||
|
||||
// start debugger
|
||||
m_debuggerProcess = Runtime.getRuntime().exec(gdbserverPath
|
||||
+ socket
|
||||
+ " --attach "
|
||||
+ android.os.Process.myPid(),
|
||||
null,
|
||||
new File(packagePath));
|
||||
} catch (IOException ioe) {
|
||||
Log.e(QtNative.QtTAG,"Can't start debugger" + ioe.getMessage());
|
||||
} catch (SecurityException se) {
|
||||
Log.e(QtNative.QtTAG,"Can't start debugger" + se.getMessage());
|
||||
} catch (NameNotFoundException e) {
|
||||
Log.e(QtNative.QtTAG,"Can't start debugger" + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ( /*(ai.flags&ApplicationInfo.FLAG_DEBUGGABLE) != 0
|
||||
&&*/ extras.containsKey("debug_ping")
|
||||
&& extras.getString("debug_ping").equals("true")) {
|
||||
try {
|
||||
final String dc = "--Added-by-androiddeployqt--/debugger.command";
|
||||
String debuggerCommand =
|
||||
new BufferedReader(new InputStreamReader(m_activity.getAssets().open(dc))).readLine();
|
||||
String packagePath =
|
||||
m_activity.getPackageManager().getApplicationInfo(m_activity.getPackageName(),
|
||||
PackageManager.GET_CONFIGURATIONS).dataDir + "/";
|
||||
|
||||
debugLog("extra parameters: " + extras);
|
||||
String packageName = m_activity.getPackageName();
|
||||
String pingFile = extras.getString("ping_file");
|
||||
String pongFile = extras.getString("pong_file");
|
||||
String gdbserverSocket = extras.getString("gdbserver_socket");
|
||||
String gdbserverCommand = extras.getString("gdbserver_command");
|
||||
String gdbserverCommand = packagePath + debuggerCommand + gdbserverSocket;
|
||||
String pingSocket = extras.getString("ping_socket");
|
||||
boolean usePing = pingFile != null;
|
||||
boolean usePong = pongFile != null;
|
||||
@ -891,9 +860,9 @@ public class QtActivityDelegate
|
||||
}
|
||||
|
||||
} catch (IOException ioe) {
|
||||
Log.e(QtNative.QtTAG,"Can't start debugger" + ioe.getMessage());
|
||||
ioe.printStackTrace();
|
||||
} catch (SecurityException se) {
|
||||
Log.e(QtNative.QtTAG,"Can't start debugger" + se.getMessage());
|
||||
se.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -52,7 +52,8 @@ import android.content.pm.PackageManager;
|
||||
import android.net.Uri;
|
||||
import android.os.Handler;
|
||||
import android.os.Looper;
|
||||
import android.text.ClipboardManager;
|
||||
import android.content.ClipboardManager;
|
||||
import android.content.ClipboardManager.OnPrimaryClipChangedListener;
|
||||
import android.os.Build;
|
||||
import android.util.Log;
|
||||
import android.view.ContextMenu;
|
||||
@ -584,7 +585,14 @@ public class QtNative
|
||||
@Override
|
||||
public void run() {
|
||||
if (m_activity != null)
|
||||
m_clipboardManager = (android.text.ClipboardManager) m_activity.getSystemService(Context.CLIPBOARD_SERVICE);
|
||||
m_clipboardManager = (android.content.ClipboardManager) m_activity.getSystemService(Context.CLIPBOARD_SERVICE);
|
||||
if (m_clipboardManager != null) {
|
||||
m_clipboardManager.addPrimaryClipChangedListener(new ClipboardManager.OnPrimaryClipChangedListener() {
|
||||
public void onPrimaryClipChanged() {
|
||||
onClipboardDataChanged();
|
||||
}
|
||||
});
|
||||
}
|
||||
semaphore.release();
|
||||
}
|
||||
});
|
||||
@ -844,6 +852,10 @@ public class QtNative
|
||||
public static native void onContextMenuClosed(Menu menu);
|
||||
// menu methods
|
||||
|
||||
// clipboard methods
|
||||
public static native void onClipboardDataChanged();
|
||||
// clipboard methods
|
||||
|
||||
// activity methods
|
||||
public static native void onActivityResult(int requestCode, int resultCode, Intent data);
|
||||
public static native void onNewIntent(Intent data);
|
||||
|
@ -608,9 +608,11 @@ public abstract class QtLoader {
|
||||
if (!(new File(stylePath)).exists() && !extractOption.equals("none")) {
|
||||
loaderParams.putString(EXTRACT_STYLE_KEY, stylePath);
|
||||
loaderParams.putBoolean(EXTRACT_STYLE_MINIMAL_KEY, extractOption.equals("minimal"));
|
||||
if (extractOption.equals("full"))
|
||||
ENVIRONMENT_VARIABLES += "\tQT_USE_ANDROID_NATIVE_STYLE=1";
|
||||
}
|
||||
|
||||
if (extractOption.equals("full"))
|
||||
ENVIRONMENT_VARIABLES += "\tQT_USE_ANDROID_NATIVE_STYLE=1";
|
||||
|
||||
ENVIRONMENT_VARIABLES += "\tMINISTRO_ANDROID_STYLE_PATH=" + stylePath
|
||||
+ "\tQT_ANDROID_THEMES_ROOT_PATH=" + themePath;
|
||||
|
||||
|
@ -606,6 +606,317 @@ QFuture<T> run(QThreadPool *pool, const Class *object, T (Class::*fn)(Param1, Pa
|
||||
return (new typename SelectStoredConstMemberFunctionPointerCall5<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5>::type(fn, object, arg1, arg2, arg3, arg4, arg5))->start(pool);
|
||||
}
|
||||
|
||||
#if defined(__cpp_noexcept_function_type) && __cpp_noexcept_function_type >= 201510
|
||||
template <typename T>
|
||||
QFuture<T> run(T (*functionPointer)() noexcept)
|
||||
{
|
||||
return (new StoredFunctorCall0<T, T (*)() noexcept>(functionPointer))->start();
|
||||
}
|
||||
template <typename T, typename Param1, typename Arg1>
|
||||
QFuture<T> run(T (*functionPointer)(Param1) noexcept, const Arg1 &arg1)
|
||||
{
|
||||
return (new StoredFunctorCall1<T, T (*)(Param1) noexcept, Arg1>(functionPointer, arg1))->start();
|
||||
}
|
||||
template <typename T, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
QFuture<T> run(T (*functionPointer)(Param1, Param2) noexcept, const Arg1 &arg1, const Arg2 &arg2)
|
||||
{
|
||||
return (new StoredFunctorCall2<T, T (*)(Param1, Param2) noexcept, Arg1, Arg2>(functionPointer, arg1, arg2))->start();
|
||||
}
|
||||
template <typename T, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
QFuture<T> run(T (*functionPointer)(Param1, Param2, Param3) noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3)
|
||||
{
|
||||
return (new StoredFunctorCall3<T, T (*)(Param1, Param2, Param3) noexcept, Arg1, Arg2, Arg3>(functionPointer, arg1, arg2, arg3))->start();
|
||||
}
|
||||
template <typename T, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
QFuture<T> run(T (*functionPointer)(Param1, Param2, Param3, Param4) noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4)
|
||||
{
|
||||
return (new StoredFunctorCall4<T, T (*)(Param1, Param2, Param3, Param4) noexcept, Arg1, Arg2, Arg3, Arg4>(functionPointer, arg1, arg2, arg3, arg4))->start();
|
||||
}
|
||||
template <typename T, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
QFuture<T> run(T (*functionPointer)(Param1, Param2, Param3, Param4, Param5) noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5)
|
||||
{
|
||||
return (new StoredFunctorCall5<T, T (*)(Param1, Param2, Param3, Param4, Param5) noexcept, Arg1, Arg2, Arg3, Arg4, Arg5>(functionPointer, arg1, arg2, arg3, arg4, arg5))->start();
|
||||
}
|
||||
|
||||
template <typename T, typename Class>
|
||||
QFuture<T> run(const Class &object, T (Class::*fn)() noexcept)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionCall0<T, Class>::type(fn, object))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
QFuture<T> run(const Class &object, T (Class::*fn)(Param1) noexcept, const Arg1 &arg1)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionCall1<T, Class, Param1, Arg1>::type(fn, object, arg1))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
QFuture<T> run(const Class &object, T (Class::*fn)(Param1, Param2) noexcept, const Arg1 &arg1, const Arg2 &arg2)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionCall2<T, Class, Param1, Arg1, Param2, Arg2>::type(fn, object, arg1, arg2))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
QFuture<T> run(const Class &object, T (Class::*fn)(Param1, Param2, Param3) noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionCall3<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3>::type(fn, object, arg1, arg2, arg3))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
QFuture<T> run(const Class &object, T (Class::*fn)(Param1, Param2, Param3, Param4) noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionCall4<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4>::type(fn, object, arg1, arg2, arg3, arg4))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
QFuture<T> run(const Class &object, T (Class::*fn)(Param1, Param2, Param3, Param4, Param5) noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionCall5<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5>::type(fn, object, arg1, arg2, arg3, arg4, arg5))->start();
|
||||
}
|
||||
|
||||
template <typename T, typename Class>
|
||||
QFuture<T> run(const Class &object, T (Class::*fn)() const noexcept)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionCall0<T, Class>::type(fn, object))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
QFuture<T> run(const Class &object, T (Class::*fn)(Param1) const noexcept, const Arg1 &arg1)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionCall1<T, Class, Param1, Arg1>::type(fn, object, arg1))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
QFuture<T> run(const Class &object, T (Class::*fn)(Param1, Param2) const noexcept, const Arg1 &arg1, const Arg2 &arg2)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionCall2<T, Class, Param1, Arg1, Param2, Arg2>::type(fn, object, arg1, arg2))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
QFuture<T> run(const Class &object, T (Class::*fn)(Param1, Param2, Param3) const noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionCall3<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3>::type(fn, object, arg1, arg2, arg3))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
QFuture<T> run(const Class &object, T (Class::*fn)(Param1, Param2, Param3, Param4) const noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionCall4<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4>::type(fn, object, arg1, arg2, arg3, arg4))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
QFuture<T> run(const Class &object, T (Class::*fn)(Param1, Param2, Param3, Param4, Param5) const noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionCall5<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5>::type(fn, object, arg1, arg2, arg3, arg4, arg5))->start();
|
||||
}
|
||||
|
||||
template <typename T, typename Class>
|
||||
QFuture<T> run(Class *object, T (Class::*fn)() noexcept)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionPointerCall0<T, Class>::type(fn, object))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
QFuture<T> run(Class *object, T (Class::*fn)(Param1) noexcept, const Arg1 &arg1)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionPointerCall1<T, Class, Param1, Arg1>::type(fn, object, arg1))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
QFuture<T> run(Class *object, T (Class::*fn)(Param1, Param2) noexcept, const Arg1 &arg1, const Arg2 &arg2)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionPointerCall2<T, Class, Param1, Arg1, Param2, Arg2>::type(fn, object, arg1, arg2))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
QFuture<T> run(Class *object, T (Class::*fn)(Param1, Param2, Param3) noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionPointerCall3<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3>::type(fn, object, arg1, arg2, arg3))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
QFuture<T> run(Class *object, T (Class::*fn)(Param1, Param2, Param3, Param4) noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionPointerCall4<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4>::type(fn, object, arg1, arg2, arg3, arg4))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
QFuture<T> run(Class *object, T (Class::*fn)(Param1, Param2, Param3, Param4, Param5) noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionPointerCall5<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5>::type(fn, object, arg1, arg2, arg3, arg4, arg5))->start();
|
||||
}
|
||||
|
||||
template <typename T, typename Class>
|
||||
QFuture<T> run(const Class *object, T (Class::*fn)() const noexcept)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionPointerCall0<T, Class>::type(fn, object))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
QFuture<T> run(const Class *object, T (Class::*fn)(Param1) const noexcept, const Arg1 &arg1)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionPointerCall1<T, Class, Param1, Arg1>::type(fn, object, arg1))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
QFuture<T> run(const Class *object, T (Class::*fn)(Param1, Param2) const noexcept, const Arg1 &arg1, const Arg2 &arg2)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionPointerCall2<T, Class, Param1, Arg1, Param2, Arg2>::type(fn, object, arg1, arg2))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
QFuture<T> run(const Class *object, T (Class::*fn)(Param1, Param2, Param3) const noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionPointerCall3<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3>::type(fn, object, arg1, arg2, arg3))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
QFuture<T> run(const Class *object, T (Class::*fn)(Param1, Param2, Param3, Param4) const noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionPointerCall4<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4>::type(fn, object, arg1, arg2, arg3, arg4))->start();
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
QFuture<T> run(const Class *object, T (Class::*fn)(Param1, Param2, Param3, Param4, Param5) const noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionPointerCall5<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5>::type(fn, object, arg1, arg2, arg3, arg4, arg5))->start();
|
||||
}
|
||||
template <typename T>
|
||||
QFuture<T> run(QThreadPool *pool, T (*functionPointer)() noexcept)
|
||||
{
|
||||
return (new StoredFunctorCall0<T, T (*)() noexcept>(functionPointer))->start(pool);
|
||||
}
|
||||
template <typename T, typename Param1, typename Arg1>
|
||||
QFuture<T> run(QThreadPool *pool, T (*functionPointer)(Param1) noexcept, const Arg1 &arg1)
|
||||
{
|
||||
return (new StoredFunctorCall1<T, T (*)(Param1) noexcept, Arg1>(functionPointer, arg1))->start(pool);
|
||||
}
|
||||
template <typename T, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
QFuture<T> run(QThreadPool *pool, T (*functionPointer)(Param1, Param2) noexcept, const Arg1 &arg1, const Arg2 &arg2)
|
||||
{
|
||||
return (new StoredFunctorCall2<T, T (*)(Param1, Param2) noexcept, Arg1, Arg2>(functionPointer, arg1, arg2))->start(pool);
|
||||
}
|
||||
template <typename T, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
QFuture<T> run(QThreadPool *pool, T (*functionPointer)(Param1, Param2, Param3) noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3)
|
||||
{
|
||||
return (new StoredFunctorCall3<T, T (*)(Param1, Param2, Param3) noexcept, Arg1, Arg2, Arg3>(functionPointer, arg1, arg2, arg3))->start(pool);
|
||||
}
|
||||
template <typename T, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
QFuture<T> run(QThreadPool *pool, T (*functionPointer)(Param1, Param2, Param3, Param4) noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4)
|
||||
{
|
||||
return (new StoredFunctorCall4<T, T (*)(Param1, Param2, Param3, Param4) noexcept, Arg1, Arg2, Arg3, Arg4>(functionPointer, arg1, arg2, arg3, arg4))->start(pool);
|
||||
}
|
||||
template <typename T, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
QFuture<T> run(QThreadPool *pool, T (*functionPointer)(Param1, Param2, Param3, Param4, Param5) noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5)
|
||||
{
|
||||
return (new StoredFunctorCall5<T, T (*)(Param1, Param2, Param3, Param4, Param5) noexcept, Arg1, Arg2, Arg3, Arg4, Arg5>(functionPointer, arg1, arg2, arg3, arg4, arg5))->start(pool);
|
||||
}
|
||||
|
||||
template <typename T, typename Class>
|
||||
QFuture<T> run(QThreadPool *pool, const Class &object, T (Class::*fn)() noexcept)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionCall0<T, Class>::type(fn, object))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
QFuture<T> run(QThreadPool *pool, const Class &object, T (Class::*fn)(Param1) noexcept, const Arg1 &arg1)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionCall1<T, Class, Param1, Arg1>::type(fn, object, arg1))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
QFuture<T> run(QThreadPool *pool, const Class &object, T (Class::*fn)(Param1, Param2) noexcept, const Arg1 &arg1, const Arg2 &arg2)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionCall2<T, Class, Param1, Arg1, Param2, Arg2>::type(fn, object, arg1, arg2))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
QFuture<T> run(QThreadPool *pool, const Class &object, T (Class::*fn)(Param1, Param2, Param3) noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionCall3<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3>::type(fn, object, arg1, arg2, arg3))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
QFuture<T> run(QThreadPool *pool, const Class &object, T (Class::*fn)(Param1, Param2, Param3, Param4) noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionCall4<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4>::type(fn, object, arg1, arg2, arg3, arg4))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
QFuture<T> run(QThreadPool *pool, const Class &object, T (Class::*fn)(Param1, Param2, Param3, Param4, Param5) noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionCall5<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5>::type(fn, object, arg1, arg2, arg3, arg4, arg5))->start(pool);
|
||||
}
|
||||
|
||||
template <typename T, typename Class>
|
||||
QFuture<T> run(QThreadPool *pool, const Class &object, T (Class::*fn)() const noexcept)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionCall0<T, Class>::type(fn, object))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
QFuture<T> run(QThreadPool *pool, const Class &object, T (Class::*fn)(Param1) const noexcept, const Arg1 &arg1)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionCall1<T, Class, Param1, Arg1>::type(fn, object, arg1))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
QFuture<T> run(QThreadPool *pool, const Class &object, T (Class::*fn)(Param1, Param2) const noexcept, const Arg1 &arg1, const Arg2 &arg2)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionCall2<T, Class, Param1, Arg1, Param2, Arg2>::type(fn, object, arg1, arg2))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
QFuture<T> run(QThreadPool *pool, const Class &object, T (Class::*fn)(Param1, Param2, Param3) const noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionCall3<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3>::type(fn, object, arg1, arg2, arg3))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
QFuture<T> run(QThreadPool *pool, const Class &object, T (Class::*fn)(Param1, Param2, Param3, Param4) const noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionCall4<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4>::type(fn, object, arg1, arg2, arg3, arg4))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
QFuture<T> run(QThreadPool *pool, const Class &object, T (Class::*fn)(Param1, Param2, Param3, Param4, Param5) const noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionCall5<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5>::type(fn, object, arg1, arg2, arg3, arg4, arg5))->start(pool);
|
||||
}
|
||||
|
||||
template <typename T, typename Class>
|
||||
QFuture<T> run(QThreadPool *pool, Class *object, T (Class::*fn)() noexcept)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionPointerCall0<T, Class>::type(fn, object))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
QFuture<T> run(QThreadPool *pool, Class *object, T (Class::*fn)(Param1) noexcept, const Arg1 &arg1)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionPointerCall1<T, Class, Param1, Arg1>::type(fn, object, arg1))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
QFuture<T> run(QThreadPool *pool, Class *object, T (Class::*fn)(Param1, Param2) noexcept, const Arg1 &arg1, const Arg2 &arg2)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionPointerCall2<T, Class, Param1, Arg1, Param2, Arg2>::type(fn, object, arg1, arg2))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
QFuture<T> run(QThreadPool *pool, Class *object, T (Class::*fn)(Param1, Param2, Param3) noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionPointerCall3<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3>::type(fn, object, arg1, arg2, arg3))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
QFuture<T> run(QThreadPool *pool, Class *object, T (Class::*fn)(Param1, Param2, Param3, Param4) noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionPointerCall4<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4>::type(fn, object, arg1, arg2, arg3, arg4))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
QFuture<T> run(QThreadPool *pool, Class *object, T (Class::*fn)(Param1, Param2, Param3, Param4, Param5) noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5)
|
||||
{
|
||||
return (new typename SelectStoredNoExceptMemberFunctionPointerCall5<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5>::type(fn, object, arg1, arg2, arg3, arg4, arg5))->start(pool);
|
||||
}
|
||||
|
||||
template <typename T, typename Class>
|
||||
QFuture<T> run(QThreadPool *pool, const Class *object, T (Class::*fn)() const noexcept)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionPointerCall0<T, Class>::type(fn, object))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
QFuture<T> run(QThreadPool *pool, const Class *object, T (Class::*fn)(Param1) const noexcept, const Arg1 &arg1)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionPointerCall1<T, Class, Param1, Arg1>::type(fn, object, arg1))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
QFuture<T> run(QThreadPool *pool, const Class *object, T (Class::*fn)(Param1, Param2) const noexcept, const Arg1 &arg1, const Arg2 &arg2)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionPointerCall2<T, Class, Param1, Arg1, Param2, Arg2>::type(fn, object, arg1, arg2))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
QFuture<T> run(QThreadPool *pool, const Class *object, T (Class::*fn)(Param1, Param2, Param3) const noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionPointerCall3<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3>::type(fn, object, arg1, arg2, arg3))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
QFuture<T> run(QThreadPool *pool, const Class *object, T (Class::*fn)(Param1, Param2, Param3, Param4) const noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionPointerCall4<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4>::type(fn, object, arg1, arg2, arg3, arg4))->start(pool);
|
||||
}
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
QFuture<T> run(QThreadPool *pool, const Class *object, T (Class::*fn)(Param1, Param2, Param3, Param4, Param5) const noexcept, const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5)
|
||||
{
|
||||
return (new typename SelectStoredConstNoExceptMemberFunctionPointerCall5<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5>::type(fn, object, arg1, arg2, arg3, arg4, arg5))->start(pool);
|
||||
}
|
||||
#endif
|
||||
|
||||
} //namespace QtConcurrent
|
||||
|
||||
#endif // Q_QDOC
|
||||
|
@ -255,6 +255,165 @@ struct SelectStoredConstMemberFunctionPointerCall0
|
||||
Type<StoredConstMemberFunctionPointerCall0 <T, Class>,
|
||||
VoidStoredConstMemberFunctionPointerCall0<T, Class> >::type type;
|
||||
};
|
||||
#if defined(__cpp_noexcept_function_type) && __cpp_noexcept_function_type >= 201510
|
||||
template <typename T, typename Class>
|
||||
class StoredNoExceptMemberFunctionCall0 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredNoExceptMemberFunctionCall0(T (Class::*_fn)() noexcept, const Class &_object)
|
||||
: fn(_fn), object(_object){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object.*fn)();
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)() noexcept;
|
||||
Class object;
|
||||
|
||||
};
|
||||
template <typename T, typename Class>
|
||||
class VoidStoredNoExceptMemberFunctionCall0 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredNoExceptMemberFunctionCall0(T (Class::*_fn)() noexcept, const Class &_object)
|
||||
: fn(_fn), object(_object){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object.*fn)();
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)() noexcept;
|
||||
Class object;
|
||||
|
||||
};
|
||||
template <typename T, typename Class>
|
||||
struct SelectStoredNoExceptMemberFunctionCall0
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredNoExceptMemberFunctionCall0 <T, Class>,
|
||||
VoidStoredNoExceptMemberFunctionCall0<T, Class> >::type type;
|
||||
};
|
||||
template <typename T, typename Class>
|
||||
class StoredConstNoExceptMemberFunctionCall0 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredConstNoExceptMemberFunctionCall0(T (Class::*_fn)() const noexcept, const Class &_object)
|
||||
: fn(_fn), object(_object){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object.*fn)();
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)() const noexcept;
|
||||
const Class object;
|
||||
|
||||
};
|
||||
template <typename T, typename Class>
|
||||
class VoidStoredConstNoExceptMemberFunctionCall0 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredConstNoExceptMemberFunctionCall0(T (Class::*_fn)() const noexcept, const Class &_object)
|
||||
: fn(_fn), object(_object){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object.*fn)();
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)() const noexcept;
|
||||
const Class object;
|
||||
|
||||
};
|
||||
template <typename T, typename Class>
|
||||
struct SelectStoredConstNoExceptMemberFunctionCall0
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredConstNoExceptMemberFunctionCall0 <T, Class>,
|
||||
VoidStoredConstNoExceptMemberFunctionCall0<T, Class> >::type type;
|
||||
};
|
||||
template <typename T, typename Class>
|
||||
class StoredNoExceptMemberFunctionPointerCall0 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredNoExceptMemberFunctionPointerCall0(T (Class::*_fn)() noexcept, Class *_object)
|
||||
: fn(_fn), object(_object){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object->*fn)();
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)() noexcept;
|
||||
Class *object;
|
||||
|
||||
};
|
||||
template <typename T, typename Class>
|
||||
class VoidStoredNoExceptMemberFunctionPointerCall0 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredNoExceptMemberFunctionPointerCall0(T (Class::*_fn)() noexcept, Class *_object)
|
||||
: fn(_fn), object(_object){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object->*fn)();
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)() noexcept;
|
||||
Class *object;
|
||||
|
||||
};
|
||||
template <typename T, typename Class>
|
||||
struct SelectStoredNoExceptMemberFunctionPointerCall0
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredNoExceptMemberFunctionPointerCall0 <T, Class>,
|
||||
VoidStoredNoExceptMemberFunctionPointerCall0<T, Class> >::type type;
|
||||
};
|
||||
template <typename T, typename Class>
|
||||
class StoredConstNoExceptMemberFunctionPointerCall0 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredConstNoExceptMemberFunctionPointerCall0(T (Class::*_fn)() const noexcept, Class const *_object)
|
||||
: fn(_fn), object(_object){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object->*fn)();
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)() const noexcept;
|
||||
Class const *object;
|
||||
|
||||
};
|
||||
template <typename T, typename Class>
|
||||
class VoidStoredConstNoExceptMemberFunctionPointerCall0 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredConstNoExceptMemberFunctionPointerCall0(T (Class::*_fn)() const noexcept, Class const *_object)
|
||||
: fn(_fn), object(_object){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object->*fn)();
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)() const noexcept;
|
||||
Class const *object;
|
||||
|
||||
};
|
||||
template <typename T, typename Class>
|
||||
struct SelectStoredConstNoExceptMemberFunctionPointerCall0
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredConstNoExceptMemberFunctionPointerCall0 <T, Class>,
|
||||
VoidStoredConstNoExceptMemberFunctionPointerCall0<T, Class> >::type type;
|
||||
};
|
||||
#endif
|
||||
|
||||
template <typename T, typename FunctionPointer, typename Arg1>
|
||||
struct StoredFunctorCall1: public RunFunctionTask<T>
|
||||
{
|
||||
@ -458,6 +617,165 @@ struct SelectStoredConstMemberFunctionPointerCall1
|
||||
Type<StoredConstMemberFunctionPointerCall1 <T, Class, Param1, Arg1>,
|
||||
VoidStoredConstMemberFunctionPointerCall1<T, Class, Param1, Arg1> >::type type;
|
||||
};
|
||||
#if defined(__cpp_noexcept_function_type) && __cpp_noexcept_function_type >= 201510
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
class StoredNoExceptMemberFunctionCall1 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredNoExceptMemberFunctionCall1(T (Class::*_fn)(Param1) noexcept, const Class &_object, const Arg1 &_arg1)
|
||||
: fn(_fn), object(_object), arg1(_arg1){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object.*fn)(arg1);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1) noexcept;
|
||||
Class object;
|
||||
Arg1 arg1;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
class VoidStoredNoExceptMemberFunctionCall1 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredNoExceptMemberFunctionCall1(T (Class::*_fn)(Param1) noexcept, const Class &_object, const Arg1 &_arg1)
|
||||
: fn(_fn), object(_object), arg1(_arg1){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object.*fn)(arg1);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1) noexcept;
|
||||
Class object;
|
||||
Arg1 arg1;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
struct SelectStoredNoExceptMemberFunctionCall1
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredNoExceptMemberFunctionCall1 <T, Class, Param1, Arg1>,
|
||||
VoidStoredNoExceptMemberFunctionCall1<T, Class, Param1, Arg1> >::type type;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
class StoredConstNoExceptMemberFunctionCall1 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredConstNoExceptMemberFunctionCall1(T (Class::*_fn)(Param1) const noexcept, const Class &_object, const Arg1 &_arg1)
|
||||
: fn(_fn), object(_object), arg1(_arg1){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object.*fn)(arg1);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1) const noexcept;
|
||||
const Class object;
|
||||
Arg1 arg1;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
class VoidStoredConstNoExceptMemberFunctionCall1 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredConstNoExceptMemberFunctionCall1(T (Class::*_fn)(Param1) const noexcept, const Class &_object, const Arg1 &_arg1)
|
||||
: fn(_fn), object(_object), arg1(_arg1){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object.*fn)(arg1);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1) const noexcept;
|
||||
const Class object;
|
||||
Arg1 arg1;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
struct SelectStoredConstNoExceptMemberFunctionCall1
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredConstNoExceptMemberFunctionCall1 <T, Class, Param1, Arg1>,
|
||||
VoidStoredConstNoExceptMemberFunctionCall1<T, Class, Param1, Arg1> >::type type;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
class StoredNoExceptMemberFunctionPointerCall1 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredNoExceptMemberFunctionPointerCall1(T (Class::*_fn)(Param1) noexcept, Class *_object, const Arg1 &_arg1)
|
||||
: fn(_fn), object(_object), arg1(_arg1){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object->*fn)(arg1);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1) noexcept;
|
||||
Class *object;
|
||||
Arg1 arg1;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
class VoidStoredNoExceptMemberFunctionPointerCall1 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredNoExceptMemberFunctionPointerCall1(T (Class::*_fn)(Param1) noexcept, Class *_object, const Arg1 &_arg1)
|
||||
: fn(_fn), object(_object), arg1(_arg1){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object->*fn)(arg1);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1) noexcept;
|
||||
Class *object;
|
||||
Arg1 arg1;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
struct SelectStoredNoExceptMemberFunctionPointerCall1
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredNoExceptMemberFunctionPointerCall1 <T, Class, Param1, Arg1>,
|
||||
VoidStoredNoExceptMemberFunctionPointerCall1<T, Class, Param1, Arg1> >::type type;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
class StoredConstNoExceptMemberFunctionPointerCall1 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredConstNoExceptMemberFunctionPointerCall1(T (Class::*_fn)(Param1) const noexcept, Class const *_object, const Arg1 &_arg1)
|
||||
: fn(_fn), object(_object), arg1(_arg1){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object->*fn)(arg1);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1) const noexcept;
|
||||
Class const *object;
|
||||
Arg1 arg1;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
class VoidStoredConstNoExceptMemberFunctionPointerCall1 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredConstNoExceptMemberFunctionPointerCall1(T (Class::*_fn)(Param1) const noexcept, Class const *_object, const Arg1 &_arg1)
|
||||
: fn(_fn), object(_object), arg1(_arg1){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object->*fn)(arg1);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1) const noexcept;
|
||||
Class const *object;
|
||||
Arg1 arg1;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1>
|
||||
struct SelectStoredConstNoExceptMemberFunctionPointerCall1
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredConstNoExceptMemberFunctionPointerCall1 <T, Class, Param1, Arg1>,
|
||||
VoidStoredConstNoExceptMemberFunctionPointerCall1<T, Class, Param1, Arg1> >::type type;
|
||||
};
|
||||
#endif
|
||||
|
||||
template <typename T, typename FunctionPointer, typename Arg1, typename Arg2>
|
||||
struct StoredFunctorCall2: public RunFunctionTask<T>
|
||||
{
|
||||
@ -661,6 +979,165 @@ struct SelectStoredConstMemberFunctionPointerCall2
|
||||
Type<StoredConstMemberFunctionPointerCall2 <T, Class, Param1, Arg1, Param2, Arg2>,
|
||||
VoidStoredConstMemberFunctionPointerCall2<T, Class, Param1, Arg1, Param2, Arg2> >::type type;
|
||||
};
|
||||
#if defined(__cpp_noexcept_function_type) && __cpp_noexcept_function_type >= 201510
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
class StoredNoExceptMemberFunctionCall2 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredNoExceptMemberFunctionCall2(T (Class::*_fn)(Param1, Param2) noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object.*fn)(arg1, arg2);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2) noexcept;
|
||||
Class object;
|
||||
Arg1 arg1; Arg2 arg2;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
class VoidStoredNoExceptMemberFunctionCall2 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredNoExceptMemberFunctionCall2(T (Class::*_fn)(Param1, Param2) noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object.*fn)(arg1, arg2);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2) noexcept;
|
||||
Class object;
|
||||
Arg1 arg1; Arg2 arg2;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
struct SelectStoredNoExceptMemberFunctionCall2
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredNoExceptMemberFunctionCall2 <T, Class, Param1, Arg1, Param2, Arg2>,
|
||||
VoidStoredNoExceptMemberFunctionCall2<T, Class, Param1, Arg1, Param2, Arg2> >::type type;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
class StoredConstNoExceptMemberFunctionCall2 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredConstNoExceptMemberFunctionCall2(T (Class::*_fn)(Param1, Param2) const noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object.*fn)(arg1, arg2);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2) const noexcept;
|
||||
const Class object;
|
||||
Arg1 arg1; Arg2 arg2;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
class VoidStoredConstNoExceptMemberFunctionCall2 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredConstNoExceptMemberFunctionCall2(T (Class::*_fn)(Param1, Param2) const noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object.*fn)(arg1, arg2);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2) const noexcept;
|
||||
const Class object;
|
||||
Arg1 arg1; Arg2 arg2;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
struct SelectStoredConstNoExceptMemberFunctionCall2
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredConstNoExceptMemberFunctionCall2 <T, Class, Param1, Arg1, Param2, Arg2>,
|
||||
VoidStoredConstNoExceptMemberFunctionCall2<T, Class, Param1, Arg1, Param2, Arg2> >::type type;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
class StoredNoExceptMemberFunctionPointerCall2 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredNoExceptMemberFunctionPointerCall2(T (Class::*_fn)(Param1, Param2) noexcept, Class *_object, const Arg1 &_arg1, const Arg2 &_arg2)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object->*fn)(arg1, arg2);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2) noexcept;
|
||||
Class *object;
|
||||
Arg1 arg1; Arg2 arg2;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
class VoidStoredNoExceptMemberFunctionPointerCall2 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredNoExceptMemberFunctionPointerCall2(T (Class::*_fn)(Param1, Param2) noexcept, Class *_object, const Arg1 &_arg1, const Arg2 &_arg2)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object->*fn)(arg1, arg2);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2) noexcept;
|
||||
Class *object;
|
||||
Arg1 arg1; Arg2 arg2;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
struct SelectStoredNoExceptMemberFunctionPointerCall2
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredNoExceptMemberFunctionPointerCall2 <T, Class, Param1, Arg1, Param2, Arg2>,
|
||||
VoidStoredNoExceptMemberFunctionPointerCall2<T, Class, Param1, Arg1, Param2, Arg2> >::type type;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
class StoredConstNoExceptMemberFunctionPointerCall2 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredConstNoExceptMemberFunctionPointerCall2(T (Class::*_fn)(Param1, Param2) const noexcept, Class const *_object, const Arg1 &_arg1, const Arg2 &_arg2)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object->*fn)(arg1, arg2);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2) const noexcept;
|
||||
Class const *object;
|
||||
Arg1 arg1; Arg2 arg2;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
class VoidStoredConstNoExceptMemberFunctionPointerCall2 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredConstNoExceptMemberFunctionPointerCall2(T (Class::*_fn)(Param1, Param2) const noexcept, Class const *_object, const Arg1 &_arg1, const Arg2 &_arg2)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object->*fn)(arg1, arg2);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2) const noexcept;
|
||||
Class const *object;
|
||||
Arg1 arg1; Arg2 arg2;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
|
||||
struct SelectStoredConstNoExceptMemberFunctionPointerCall2
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredConstNoExceptMemberFunctionPointerCall2 <T, Class, Param1, Arg1, Param2, Arg2>,
|
||||
VoidStoredConstNoExceptMemberFunctionPointerCall2<T, Class, Param1, Arg1, Param2, Arg2> >::type type;
|
||||
};
|
||||
#endif
|
||||
|
||||
template <typename T, typename FunctionPointer, typename Arg1, typename Arg2, typename Arg3>
|
||||
struct StoredFunctorCall3: public RunFunctionTask<T>
|
||||
{
|
||||
@ -864,6 +1341,165 @@ struct SelectStoredConstMemberFunctionPointerCall3
|
||||
Type<StoredConstMemberFunctionPointerCall3 <T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3>,
|
||||
VoidStoredConstMemberFunctionPointerCall3<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3> >::type type;
|
||||
};
|
||||
#if defined(__cpp_noexcept_function_type) && __cpp_noexcept_function_type >= 201510
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
class StoredNoExceptMemberFunctionCall3 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredNoExceptMemberFunctionCall3(T (Class::*_fn)(Param1, Param2, Param3) noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object.*fn)(arg1, arg2, arg3);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3) noexcept;
|
||||
Class object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
class VoidStoredNoExceptMemberFunctionCall3 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredNoExceptMemberFunctionCall3(T (Class::*_fn)(Param1, Param2, Param3) noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object.*fn)(arg1, arg2, arg3);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3) noexcept;
|
||||
Class object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
struct SelectStoredNoExceptMemberFunctionCall3
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredNoExceptMemberFunctionCall3 <T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3>,
|
||||
VoidStoredNoExceptMemberFunctionCall3<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3> >::type type;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
class StoredConstNoExceptMemberFunctionCall3 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredConstNoExceptMemberFunctionCall3(T (Class::*_fn)(Param1, Param2, Param3) const noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object.*fn)(arg1, arg2, arg3);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3) const noexcept;
|
||||
const Class object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
class VoidStoredConstNoExceptMemberFunctionCall3 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredConstNoExceptMemberFunctionCall3(T (Class::*_fn)(Param1, Param2, Param3) const noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object.*fn)(arg1, arg2, arg3);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3) const noexcept;
|
||||
const Class object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
struct SelectStoredConstNoExceptMemberFunctionCall3
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredConstNoExceptMemberFunctionCall3 <T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3>,
|
||||
VoidStoredConstNoExceptMemberFunctionCall3<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3> >::type type;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
class StoredNoExceptMemberFunctionPointerCall3 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredNoExceptMemberFunctionPointerCall3(T (Class::*_fn)(Param1, Param2, Param3) noexcept, Class *_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object->*fn)(arg1, arg2, arg3);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3) noexcept;
|
||||
Class *object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
class VoidStoredNoExceptMemberFunctionPointerCall3 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredNoExceptMemberFunctionPointerCall3(T (Class::*_fn)(Param1, Param2, Param3) noexcept, Class *_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object->*fn)(arg1, arg2, arg3);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3) noexcept;
|
||||
Class *object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
struct SelectStoredNoExceptMemberFunctionPointerCall3
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredNoExceptMemberFunctionPointerCall3 <T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3>,
|
||||
VoidStoredNoExceptMemberFunctionPointerCall3<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3> >::type type;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
class StoredConstNoExceptMemberFunctionPointerCall3 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredConstNoExceptMemberFunctionPointerCall3(T (Class::*_fn)(Param1, Param2, Param3) const noexcept, Class const *_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object->*fn)(arg1, arg2, arg3);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3) const noexcept;
|
||||
Class const *object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
class VoidStoredConstNoExceptMemberFunctionPointerCall3 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredConstNoExceptMemberFunctionPointerCall3(T (Class::*_fn)(Param1, Param2, Param3) const noexcept, Class const *_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object->*fn)(arg1, arg2, arg3);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3) const noexcept;
|
||||
Class const *object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3>
|
||||
struct SelectStoredConstNoExceptMemberFunctionPointerCall3
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredConstNoExceptMemberFunctionPointerCall3 <T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3>,
|
||||
VoidStoredConstNoExceptMemberFunctionPointerCall3<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3> >::type type;
|
||||
};
|
||||
#endif
|
||||
|
||||
template <typename T, typename FunctionPointer, typename Arg1, typename Arg2, typename Arg3, typename Arg4>
|
||||
struct StoredFunctorCall4: public RunFunctionTask<T>
|
||||
{
|
||||
@ -1067,6 +1703,165 @@ struct SelectStoredConstMemberFunctionPointerCall4
|
||||
Type<StoredConstMemberFunctionPointerCall4 <T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4>,
|
||||
VoidStoredConstMemberFunctionPointerCall4<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4> >::type type;
|
||||
};
|
||||
#if defined(__cpp_noexcept_function_type) && __cpp_noexcept_function_type >= 201510
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
class StoredNoExceptMemberFunctionCall4 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredNoExceptMemberFunctionCall4(T (Class::*_fn)(Param1, Param2, Param3, Param4) noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3, const Arg4 &_arg4)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3), arg4(_arg4){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object.*fn)(arg1, arg2, arg3, arg4);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3, Param4) noexcept;
|
||||
Class object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3; Arg4 arg4;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
class VoidStoredNoExceptMemberFunctionCall4 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredNoExceptMemberFunctionCall4(T (Class::*_fn)(Param1, Param2, Param3, Param4) noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3, const Arg4 &_arg4)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3), arg4(_arg4){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object.*fn)(arg1, arg2, arg3, arg4);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3, Param4) noexcept;
|
||||
Class object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3; Arg4 arg4;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
struct SelectStoredNoExceptMemberFunctionCall4
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredNoExceptMemberFunctionCall4 <T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4>,
|
||||
VoidStoredNoExceptMemberFunctionCall4<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4> >::type type;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
class StoredConstNoExceptMemberFunctionCall4 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredConstNoExceptMemberFunctionCall4(T (Class::*_fn)(Param1, Param2, Param3, Param4) const noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3, const Arg4 &_arg4)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3), arg4(_arg4){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object.*fn)(arg1, arg2, arg3, arg4);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3, Param4) const noexcept;
|
||||
const Class object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3; Arg4 arg4;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
class VoidStoredConstNoExceptMemberFunctionCall4 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredConstNoExceptMemberFunctionCall4(T (Class::*_fn)(Param1, Param2, Param3, Param4) const noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3, const Arg4 &_arg4)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3), arg4(_arg4){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object.*fn)(arg1, arg2, arg3, arg4);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3, Param4) const noexcept;
|
||||
const Class object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3; Arg4 arg4;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
struct SelectStoredConstNoExceptMemberFunctionCall4
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredConstNoExceptMemberFunctionCall4 <T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4>,
|
||||
VoidStoredConstNoExceptMemberFunctionCall4<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4> >::type type;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
class StoredNoExceptMemberFunctionPointerCall4 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredNoExceptMemberFunctionPointerCall4(T (Class::*_fn)(Param1, Param2, Param3, Param4) noexcept, Class *_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3, const Arg4 &_arg4)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3), arg4(_arg4){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object->*fn)(arg1, arg2, arg3, arg4);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3, Param4) noexcept;
|
||||
Class *object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3; Arg4 arg4;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
class VoidStoredNoExceptMemberFunctionPointerCall4 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredNoExceptMemberFunctionPointerCall4(T (Class::*_fn)(Param1, Param2, Param3, Param4) noexcept, Class *_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3, const Arg4 &_arg4)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3), arg4(_arg4){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object->*fn)(arg1, arg2, arg3, arg4);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3, Param4) noexcept;
|
||||
Class *object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3; Arg4 arg4;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
struct SelectStoredNoExceptMemberFunctionPointerCall4
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredNoExceptMemberFunctionPointerCall4 <T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4>,
|
||||
VoidStoredNoExceptMemberFunctionPointerCall4<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4> >::type type;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
class StoredConstNoExceptMemberFunctionPointerCall4 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredConstNoExceptMemberFunctionPointerCall4(T (Class::*_fn)(Param1, Param2, Param3, Param4) const noexcept, Class const *_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3, const Arg4 &_arg4)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3), arg4(_arg4){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object->*fn)(arg1, arg2, arg3, arg4);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3, Param4) const noexcept;
|
||||
Class const *object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3; Arg4 arg4;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
class VoidStoredConstNoExceptMemberFunctionPointerCall4 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredConstNoExceptMemberFunctionPointerCall4(T (Class::*_fn)(Param1, Param2, Param3, Param4) const noexcept, Class const *_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3, const Arg4 &_arg4)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3), arg4(_arg4){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object->*fn)(arg1, arg2, arg3, arg4);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3, Param4) const noexcept;
|
||||
Class const *object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3; Arg4 arg4;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4>
|
||||
struct SelectStoredConstNoExceptMemberFunctionPointerCall4
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredConstNoExceptMemberFunctionPointerCall4 <T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4>,
|
||||
VoidStoredConstNoExceptMemberFunctionPointerCall4<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4> >::type type;
|
||||
};
|
||||
#endif
|
||||
|
||||
template <typename T, typename FunctionPointer, typename Arg1, typename Arg2, typename Arg3, typename Arg4, typename Arg5>
|
||||
struct StoredFunctorCall5: public RunFunctionTask<T>
|
||||
{
|
||||
@ -1270,6 +2065,164 @@ struct SelectStoredConstMemberFunctionPointerCall5
|
||||
Type<StoredConstMemberFunctionPointerCall5 <T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5>,
|
||||
VoidStoredConstMemberFunctionPointerCall5<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5> >::type type;
|
||||
};
|
||||
#if defined(__cpp_noexcept_function_type) && __cpp_noexcept_function_type >= 201510
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
class StoredNoExceptMemberFunctionCall5 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredNoExceptMemberFunctionCall5(T (Class::*_fn)(Param1, Param2, Param3, Param4, Param5) noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3, const Arg4 &_arg4, const Arg5 &_arg5)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3), arg4(_arg4), arg5(_arg5){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object.*fn)(arg1, arg2, arg3, arg4, arg5);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3, Param4, Param5) noexcept;
|
||||
Class object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3; Arg4 arg4; Arg5 arg5;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
class VoidStoredNoExceptMemberFunctionCall5 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredNoExceptMemberFunctionCall5(T (Class::*_fn)(Param1, Param2, Param3, Param4, Param5) noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3, const Arg4 &_arg4, const Arg5 &_arg5)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3), arg4(_arg4), arg5(_arg5){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object.*fn)(arg1, arg2, arg3, arg4, arg5);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3, Param4, Param5) noexcept;
|
||||
Class object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3; Arg4 arg4; Arg5 arg5;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
struct SelectStoredNoExceptMemberFunctionCall5
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredNoExceptMemberFunctionCall5 <T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5>,
|
||||
VoidStoredNoExceptMemberFunctionCall5<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5> >::type type;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
class StoredConstNoExceptMemberFunctionCall5 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredConstNoExceptMemberFunctionCall5(T (Class::*_fn)(Param1, Param2, Param3, Param4, Param5) const noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3, const Arg4 &_arg4, const Arg5 &_arg5)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3), arg4(_arg4), arg5(_arg5){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object.*fn)(arg1, arg2, arg3, arg4, arg5);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3, Param4, Param5) const noexcept;
|
||||
const Class object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3; Arg4 arg4; Arg5 arg5;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
class VoidStoredConstNoExceptMemberFunctionCall5 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredConstNoExceptMemberFunctionCall5(T (Class::*_fn)(Param1, Param2, Param3, Param4, Param5) const noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3, const Arg4 &_arg4, const Arg5 &_arg5)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3), arg4(_arg4), arg5(_arg5){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object.*fn)(arg1, arg2, arg3, arg4, arg5);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3, Param4, Param5) const noexcept;
|
||||
const Class object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3; Arg4 arg4; Arg5 arg5;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
struct SelectStoredConstNoExceptMemberFunctionCall5
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredConstNoExceptMemberFunctionCall5 <T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5>,
|
||||
VoidStoredConstNoExceptMemberFunctionCall5<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5> >::type type;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
class StoredNoExceptMemberFunctionPointerCall5 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredNoExceptMemberFunctionPointerCall5(T (Class::*_fn)(Param1, Param2, Param3, Param4, Param5) noexcept, Class *_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3, const Arg4 &_arg4, const Arg5 &_arg5)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3), arg4(_arg4), arg5(_arg5){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object->*fn)(arg1, arg2, arg3, arg4, arg5);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3, Param4, Param5) noexcept;
|
||||
Class *object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3; Arg4 arg4; Arg5 arg5;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
class VoidStoredNoExceptMemberFunctionPointerCall5 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredNoExceptMemberFunctionPointerCall5(T (Class::*_fn)(Param1, Param2, Param3, Param4, Param5) noexcept, Class *_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3, const Arg4 &_arg4, const Arg5 &_arg5)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3), arg4(_arg4), arg5(_arg5){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object->*fn)(arg1, arg2, arg3, arg4, arg5);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3, Param4, Param5) noexcept;
|
||||
Class *object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3; Arg4 arg4; Arg5 arg5;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
struct SelectStoredNoExceptMemberFunctionPointerCall5
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredNoExceptMemberFunctionPointerCall5 <T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5>,
|
||||
VoidStoredNoExceptMemberFunctionPointerCall5<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5> >::type type;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
class StoredConstNoExceptMemberFunctionPointerCall5 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
StoredConstNoExceptMemberFunctionPointerCall5(T (Class::*_fn)(Param1, Param2, Param3, Param4, Param5) const noexcept, Class const *_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3, const Arg4 &_arg4, const Arg5 &_arg5)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3), arg4(_arg4), arg5(_arg5){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
this->result = (object->*fn)(arg1, arg2, arg3, arg4, arg5);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3, Param4, Param5) const noexcept;
|
||||
Class const *object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3; Arg4 arg4; Arg5 arg5;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
class VoidStoredConstNoExceptMemberFunctionPointerCall5 : public RunFunctionTask<T>
|
||||
{
|
||||
public:
|
||||
VoidStoredConstNoExceptMemberFunctionPointerCall5(T (Class::*_fn)(Param1, Param2, Param3, Param4, Param5) const noexcept, Class const *_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3, const Arg4 &_arg4, const Arg5 &_arg5)
|
||||
: fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3), arg4(_arg4), arg5(_arg5){ }
|
||||
|
||||
void runFunctor() override
|
||||
{
|
||||
(object->*fn)(arg1, arg2, arg3, arg4, arg5);
|
||||
}
|
||||
private:
|
||||
T (Class::*fn)(Param1, Param2, Param3, Param4, Param5) const noexcept;
|
||||
Class const *object;
|
||||
Arg1 arg1; Arg2 arg2; Arg3 arg3; Arg4 arg4; Arg5 arg5;
|
||||
};
|
||||
template <typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2, typename Param3, typename Arg3, typename Param4, typename Arg4, typename Param5, typename Arg5>
|
||||
struct SelectStoredConstNoExceptMemberFunctionPointerCall5
|
||||
{
|
||||
typedef typename SelectSpecialization<T>::template
|
||||
Type<StoredConstNoExceptMemberFunctionPointerCall5 <T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5>,
|
||||
VoidStoredConstNoExceptMemberFunctionPointerCall5<T, Class, Param1, Arg1, Param2, Arg2, Param3, Arg3, Param4, Arg4, Param5, Arg5> >::type type;
|
||||
};
|
||||
#endif
|
||||
|
||||
template <typename T, typename Functor>
|
||||
class StoredFunctorCall : public RunFunctionTask<T>
|
||||
|
@ -1484,5 +1484,6 @@ void QAbstractAnimation::updateDirection(QAbstractAnimation::Direction direction
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qabstractanimation.cpp"
|
||||
#include "moc_qabstractanimation_p.cpp"
|
||||
|
||||
#endif //QT_NO_ANIMATION
|
||||
|
@ -1345,7 +1345,7 @@
|
||||
#endif
|
||||
#endif
|
||||
#ifndef Q_FALLTHROUGH
|
||||
# if defined(Q_CC_GNU) && Q_CC_GNU >= 700
|
||||
# if (defined(Q_CC_GNU) && Q_CC_GNU >= 700) && !defined(Q_CC_INTEL)
|
||||
# define Q_FALLTHROUGH() __attribute__((fallthrough))
|
||||
# else
|
||||
# define Q_FALLTHROUGH() (void)0
|
||||
|
@ -68,6 +68,13 @@
|
||||
|
||||
#define QT_CRYPTOGRAPHICHASH_ONLY_SHA1
|
||||
#define QT_NO_DATASTREAM
|
||||
#define QT_FEATURE_alloca 1
|
||||
#define QT_FEATURE_alloca_h -1
|
||||
#ifdef _WIN32
|
||||
# define QT_FEATURE_alloca_malloc_h 1
|
||||
#else
|
||||
# define QT_FEATURE_alloca_malloc_h -1
|
||||
#endif
|
||||
#define QT_FEATURE_iconv -1
|
||||
#define QT_FEATURE_icu -1
|
||||
#define QT_FEATURE_journald -1
|
||||
|
@ -4035,8 +4035,10 @@ bool QInternal::registerCallback(Callback cb, qInternalCallback callback)
|
||||
bool QInternal::unregisterCallback(Callback cb, qInternalCallback callback)
|
||||
{
|
||||
if (cb >= 0 && cb < QInternal::LastCallback) {
|
||||
QInternal_CallBackTable *cbt = global_callback_table();
|
||||
return (bool) cbt->callbacks[cb].removeAll(callback);
|
||||
if (global_callback_table.exists()) {
|
||||
QInternal_CallBackTable *cbt = global_callback_table();
|
||||
return (bool) cbt->callbacks[cb].removeAll(callback);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
@ -465,7 +465,7 @@ using qssize_t = QIntegerForSizeof<std::size_t>::Signed;
|
||||
#endif
|
||||
|
||||
#ifdef QT_ASCII_CAST_WARNINGS
|
||||
# define QT_ASCII_CAST_WARN Q_DECL_DEPRECATED
|
||||
# define QT_ASCII_CAST_WARN Q_DECL_DEPRECATED_X("Use fromUtf8, QStringLiteral, or QLatin1String")
|
||||
#else
|
||||
# define QT_ASCII_CAST_WARN
|
||||
#endif
|
||||
|
@ -1226,7 +1226,7 @@ void QMessagePattern::setPattern(const QString &pattern)
|
||||
// make sure the function has "Message" in the name so the function is removed
|
||||
|
||||
#if ((defined(Q_CC_GNU) && defined(QT_COMPILER_SUPPORTS_SIMD_ALWAYS)) || QT_HAS_ATTRIBUTE(optimize)) \
|
||||
&& !defined(Q_CC_INTEL)
|
||||
&& !defined(Q_CC_INTEL) && !defined(Q_CC_CLANG)
|
||||
// force skipping the frame pointer, to save the backtrace() function some work
|
||||
__attribute__((optimize("omit-frame-pointer")))
|
||||
#endif
|
||||
|
@ -208,7 +208,7 @@
|
||||
\value AA_SetPalette Indicates whether a palette was explicitly set on the
|
||||
QApplication/QGuiApplication. This value has been added in Qt 5.5.
|
||||
|
||||
\value AA_EnableHighDpiScaling. Enables high-DPI scaling in Qt on supported
|
||||
\value AA_EnableHighDpiScaling Enables high-DPI scaling in Qt on supported
|
||||
platforms (see also \l{High DPI Displays}). Supported platforms are
|
||||
X11, Windows and Android. Enabling makes Qt scale the main (device
|
||||
independent) coordinate system according to display scale factors
|
||||
|
@ -211,11 +211,7 @@ public:
|
||||
};
|
||||
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_GCC("-Wdeprecated-declarations")
|
||||
QT_WARNING_DISABLE_CLANG("-Wdeprecated-declarations")
|
||||
QT_WARNING_DISABLE_INTEL(1478)
|
||||
QT_WARNING_DISABLE_INTEL(1786)
|
||||
QT_WARNING_DISABLE_MSVC(4996)
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
#if defined(Q_OS_WIN) || defined(Q_OS_CYGWIN)
|
||||
QT_SYSINFO_DEPRECATED_X("Use QOperatingSystemVersion::current()") static const WinVersion WindowsVersion;
|
||||
QT_SYSINFO_DEPRECATED_X("Use QOperatingSystemVersion::current()") static WinVersion windowsVersion();
|
||||
|
@ -1113,3 +1113,7 @@ qint64 QFile::size() const
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#ifndef QT_NO_QOBJECT
|
||||
#include "moc_qfile.cpp"
|
||||
#endif
|
||||
|
@ -815,3 +815,7 @@ bool QFileDevice::setFileTime(const QDateTime &newDate, QFileDevice::FileTime fi
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#ifndef QT_NO_QOBJECT
|
||||
#include "moc_qfiledevice.cpp"
|
||||
#endif
|
||||
|
@ -497,6 +497,7 @@ QStringList QFileSystemWatcher::files() const
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qfilesystemwatcher.cpp"
|
||||
#include "moc_qfilesystemwatcher_p.cpp"
|
||||
|
||||
#endif // QT_NO_FILESYSTEMWATCHER
|
||||
|
||||
|
@ -417,4 +417,6 @@ QString QInotifyFileSystemWatcherEngine::getPathFromID(int id) const
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qfilesystemwatcher_inotify_p.cpp"
|
||||
|
||||
#endif // QT_NO_FILESYSTEMWATCHER
|
||||
|
@ -151,4 +151,7 @@ void QPollingFileSystemWatcherEngine::timeout()
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qfilesystemwatcher_polling_p.cpp"
|
||||
|
||||
#endif // !QT_NO_FILESYSTEMWATCHER
|
||||
|
@ -2059,3 +2059,7 @@ QDebug operator<<(QDebug debug, QIODevice::OpenMode modes)
|
||||
#endif
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#ifndef QT_NO_QOBJECT
|
||||
#include "moc_qiodevice.cpp"
|
||||
#endif
|
||||
|
@ -317,13 +317,12 @@ void QLoggingRegistry::init()
|
||||
|
||||
const QMutexLocker locker(®istryMutex);
|
||||
|
||||
envRules = std::move(er);
|
||||
qtConfigRules = std::move(qr);
|
||||
configRules = std::move(cr);
|
||||
ruleSets[EnvironmentRules] = std::move(er);
|
||||
ruleSets[QtConfigRules] = std::move(qr);
|
||||
ruleSets[ConfigRules] = std::move(cr);
|
||||
|
||||
if (!envRules.isEmpty() || !qtConfigRules.isEmpty() || !configRules.isEmpty()) {
|
||||
if (!ruleSets[EnvironmentRules].isEmpty() || !ruleSets[QtConfigRules].isEmpty() || !ruleSets[ConfigRules].isEmpty())
|
||||
updateRules();
|
||||
}
|
||||
}
|
||||
|
||||
/*!
|
||||
@ -367,7 +366,7 @@ void QLoggingRegistry::setApiRules(const QString &content)
|
||||
|
||||
const QMutexLocker locker(®istryMutex);
|
||||
|
||||
apiRules = parser.rules();
|
||||
ruleSets[ApiRules] = parser.rules();
|
||||
|
||||
updateRules();
|
||||
}
|
||||
@ -380,13 +379,6 @@ void QLoggingRegistry::setApiRules(const QString &content)
|
||||
*/
|
||||
void QLoggingRegistry::updateRules()
|
||||
{
|
||||
rules.clear();
|
||||
rules.reserve(qtConfigRules.size() + configRules.size() + apiRules.size() + envRules.size()),
|
||||
rules += qtConfigRules;
|
||||
rules += configRules;
|
||||
rules += apiRules;
|
||||
rules += envRules;
|
||||
|
||||
for (auto it = categories.keyBegin(), end = categories.keyEnd(); it != end; ++it)
|
||||
(*categoryFilter)(*it);
|
||||
}
|
||||
@ -406,8 +398,7 @@ QLoggingRegistry::installFilter(QLoggingCategory::CategoryFilter filter)
|
||||
QLoggingCategory::CategoryFilter old = categoryFilter;
|
||||
categoryFilter = filter;
|
||||
|
||||
for (auto it = categories.keyBegin(), end = categories.keyEnd(); it != end; ++it)
|
||||
(*categoryFilter)(*it);
|
||||
updateRules();
|
||||
|
||||
return old;
|
||||
}
|
||||
@ -446,19 +437,22 @@ void QLoggingRegistry::defaultCategoryFilter(QLoggingCategory *cat)
|
||||
}
|
||||
|
||||
QString categoryName = QLatin1String(cat->categoryName());
|
||||
for (const QLoggingRule &item : reg->rules) {
|
||||
int filterpass = item.pass(categoryName, QtDebugMsg);
|
||||
if (filterpass != 0)
|
||||
debug = (filterpass > 0);
|
||||
filterpass = item.pass(categoryName, QtInfoMsg);
|
||||
if (filterpass != 0)
|
||||
info = (filterpass > 0);
|
||||
filterpass = item.pass(categoryName, QtWarningMsg);
|
||||
if (filterpass != 0)
|
||||
warning = (filterpass > 0);
|
||||
filterpass = item.pass(categoryName, QtCriticalMsg);
|
||||
if (filterpass != 0)
|
||||
critical = (filterpass > 0);
|
||||
|
||||
for (const auto &ruleSet : reg->ruleSets) {
|
||||
for (const auto &rule : ruleSet) {
|
||||
int filterpass = rule.pass(categoryName, QtDebugMsg);
|
||||
if (filterpass != 0)
|
||||
debug = (filterpass > 0);
|
||||
filterpass = rule.pass(categoryName, QtInfoMsg);
|
||||
if (filterpass != 0)
|
||||
info = (filterpass > 0);
|
||||
filterpass = rule.pass(categoryName, QtWarningMsg);
|
||||
if (filterpass != 0)
|
||||
warning = (filterpass > 0);
|
||||
filterpass = rule.pass(categoryName, QtCriticalMsg);
|
||||
if (filterpass != 0)
|
||||
critical = (filterpass > 0);
|
||||
}
|
||||
}
|
||||
|
||||
cat->setEnabled(QtDebugMsg, debug);
|
||||
|
@ -130,14 +130,20 @@ private:
|
||||
|
||||
static void defaultCategoryFilter(QLoggingCategory *category);
|
||||
|
||||
enum RuleSet {
|
||||
// sorted by order in which defaultCategoryFilter considers them:
|
||||
QtConfigRules,
|
||||
ConfigRules,
|
||||
ApiRules,
|
||||
EnvironmentRules,
|
||||
|
||||
NumRuleSets
|
||||
};
|
||||
|
||||
QMutex registryMutex;
|
||||
|
||||
// protected by mutex:
|
||||
QVector<QLoggingRule> qtConfigRules;
|
||||
QVector<QLoggingRule> configRules;
|
||||
QVector<QLoggingRule> envRules;
|
||||
QVector<QLoggingRule> apiRules;
|
||||
QVector<QLoggingRule> rules;
|
||||
QVector<QLoggingRule> ruleSets[NumRuleSets];
|
||||
QHash<QLoggingCategory*,QtMsgType> categories;
|
||||
QLoggingCategory::CategoryFilter categoryFilter;
|
||||
|
||||
|
@ -578,3 +578,4 @@ QIODevice* QNonContiguousByteDeviceFactory::wrap(QNonContiguousByteDevice* byteD
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qnoncontiguousbytedevice_p.cpp"
|
||||
|
@ -412,4 +412,8 @@ bool QSaveFile::directWriteFallback() const
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#ifndef QT_NO_QOBJECT
|
||||
#include "moc_qsavefile.cpp"
|
||||
#endif
|
||||
|
||||
#endif // QT_NO_TEMPORARYFILE
|
||||
|
@ -3515,4 +3515,8 @@ QSettings::Format QSettings::registerFormat(const QString &extension, ReadFunc r
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#ifndef QT_BOOTSTRAPPED
|
||||
#include "moc_qsettings.cpp"
|
||||
#endif
|
||||
|
||||
#endif // QT_NO_SETTINGS
|
||||
|
@ -645,4 +645,8 @@ bool QStandardPaths::isTestModeEnabled()
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#ifndef QT_NO_QOBJECT
|
||||
#include "moc_qstandardpaths.cpp"
|
||||
#endif
|
||||
|
||||
#endif // QT_NO_STANDARDPATHS
|
||||
|
@ -1,6 +1,6 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2016 The Qt Company Ltd.
|
||||
** Copyright (C) 2017 The Qt Company Ltd.
|
||||
** Copyright (C) 2016 Intel Corporation.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
@ -198,10 +198,10 @@ void QTemporaryDirPrivate::create(const QString &templateName)
|
||||
\ingroup io
|
||||
|
||||
|
||||
QTemporaryDir is used to create unique temporary dirs safely.
|
||||
The dir itself is created by the constructor. The name of the
|
||||
QTemporaryDir is used to create unique temporary directories safely.
|
||||
The directory itself is created by the constructor. The name of the
|
||||
temporary directory is guaranteed to be unique (i.e., you are
|
||||
guaranteed to not overwrite an existing dir), and the directory will
|
||||
guaranteed to not overwrite an existing directory), and the directory will
|
||||
subsequently be removed upon destruction of the QTemporaryDir
|
||||
object. The directory name is either auto-generated, or created based
|
||||
on a template, which is passed to QTemporaryDir's constructor.
|
||||
@ -214,7 +214,7 @@ void QTemporaryDirPrivate::create(const QString &templateName)
|
||||
created, using isValid(). Do not use \l {QDir::exists()}{exists()}, since a default-constructed
|
||||
QDir represents the current directory, which exists.
|
||||
|
||||
The path to the temporary dir can be found by calling path().
|
||||
The path to the temporary directory can be found by calling path().
|
||||
|
||||
A temporary directory will have some static part of the name and some
|
||||
part that is calculated to be unique. The default path will be
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user