forked from qt/qtbase
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge "Merge remote-tracking branch 'origin/5.8' into dev" into refs/…
…staging/dev
- Loading branch information
Showing
329 changed files
with
193,122 additions
and
2,590 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
SOURCES = fontconfig.cpp | ||
CONFIG -= qt | ||
include(../../unix/freetype/freetype.pri) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
SOURCES = freetype.cpp | ||
CONFIG -= qt | ||
include(freetype.pri) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/**************************************************************************** | ||
** | ||
** Copyright (C) 2016 The Qt Company Ltd. | ||
** Contact: https://www.qt.io/licensing/ | ||
** | ||
** This file is part of the config.tests 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$ | ||
** | ||
****************************************************************************/ | ||
|
||
#include <libinput.h> | ||
|
||
int main() | ||
{ | ||
libinput_event_pointer_has_axis(nullptr, LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL); | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SOURCES = libinput_axis_api.cpp | ||
CONFIG -= qt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
TEMPLATE = aux | ||
|
||
global_docs.files = $$PWD/global | ||
global_docs.path = $$[QT_INSTALL_DOCS] | ||
INSTALLS += global_docs | ||
!prefix_build:!equals(OUT_PWD, $$PWD): \ | ||
COPIES += global_docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,7 +86,7 @@ private slots: | |
|
||
QLocalSocket *socket; | ||
QString currentFortune; | ||
quint16 blockSize; | ||
quint32 blockSize; | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
mkspecs/common/winrt_winphone/manifests/8.1_wp/AppxManifest.xml.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
# QMAKE_ASSET_CATALOGS | ||
# Paths to xcassets directories to be compiled | ||
# | ||
# QMAKE_ASSET_CATALOGS_BUILD_PATH | ||
# Location which asset catalogs will be compiled to. | ||
# If the current target is an app bundle, defaults to its Resources directory. | ||
# Otherwise, this value must be set manually. | ||
# | ||
# QMAKE_ASSET_CATALOGS_APP_ICON | ||
# Name of the icon resource in the asset catalogs that will be used as the app icon. | ||
# Defaults to AppIcon. | ||
# | ||
# QMAKE_ASSET_CATALOGS_INSTALL_PATH | ||
# Base path to install files to. Falls back to a path relative to the target install path, | ||
# based on QMAKE_ASSET_CATALOGS_BUILD_PATH. | ||
|
||
!have_target|if(!build_pass:!isEmpty(BUILDS)): \ | ||
return() | ||
|
||
!isEmpty(QMAKE_ASSET_CATALOGS) { | ||
load(resolve_target) | ||
|
||
isEmpty(QMAKE_ASSET_CATALOGS_BUILD_PATH) { | ||
!isEmpty(QMAKE_RESOLVED_BUNDLE):equals(TEMPLATE, app):app_bundle { | ||
macos: \ | ||
QMAKE_ASSET_CATALOGS_BUILD_PATH = $$QMAKE_RESOLVED_BUNDLE/Contents/Resources | ||
else: \ | ||
QMAKE_ASSET_CATALOGS_BUILD_PATH = $$QMAKE_RESOLVED_BUNDLE | ||
} else { | ||
error("QMAKE_ASSET_CATALOGS_BUILD_PATH must be set when using QMAKE_ASSET_CATALOGS.") | ||
} | ||
} | ||
|
||
QMAKE_ASSET_CATALOGS_BUILD_PATH = $$clean_path($$QMAKE_ASSET_CATALOGS_BUILD_PATH) | ||
|
||
macx-xcode { | ||
!isEmpty(QMAKE_ASSET_CATALOGS_APP_ICON) { | ||
asset_catalog_appicon.name = "ASSETCATALOG_COMPILER_APPICON_NAME" | ||
asset_catalog_appicon.value = $$QMAKE_ASSET_CATALOGS_APP_ICON | ||
QMAKE_MAC_XCODE_SETTINGS += asset_catalog_appicon | ||
} | ||
|
||
asset_catalog_compiler.files = $$QMAKE_ASSET_CATALOGS | ||
macos: asset_catalog_compiler.path = Contents/Resources | ||
QMAKE_BUNDLE_DATA += asset_catalog_compiler | ||
} else { | ||
!isEmpty(QMAKE_ASSET_CATALOGS_APP_ICON) { | ||
asset_catalog_app_icon_arg = \ | ||
--app-icon $$shell_quote($$QMAKE_ASSET_CATALOGS_APP_ICON) | ||
} | ||
|
||
asset_catalog_compiler.target = $$OUT_PWD/asset_catalog_compiler.Info.plist | ||
asset_catalog_compiler.commands = $$shell_quote($$QMAKE_ACTOOL) \ | ||
$$asset_catalog_app_icon_arg \ | ||
--output-partial-info-plist $$shell_quote($$asset_catalog_compiler.target) \ | ||
--platform $${version_identifier} \ | ||
--minimum-deployment-target $${deployment_target} \ | ||
--compile $$shell_quote($$QMAKE_ASSET_CATALOGS_BUILD_PATH) | ||
|
||
for (catalog, QMAKE_ASSET_CATALOGS) { | ||
asset_catalog_compiler.commands += $${catalog} | ||
asset_catalog_compiler.depends += $$files($$catalog/*, true) | ||
} | ||
|
||
actool_output_files = $$system(\ | ||
mkdir -p $$system_quote($$QMAKE_ASSET_CATALOGS_BUILD_PATH) && \ | ||
/usr/libexec/PlistBuddy -c \'Print :com.apple.actool.compilation-results:output-files\' \ | ||
/dev/stdin <<< $($${asset_catalog_compiler.commands} 2>/dev/null) | grep \'^ .*$\', lines) | ||
|
||
for (output_file, actool_output_files) { | ||
!equals(output_file, $$asset_catalog_compiler.target): \ | ||
actool_output_files_rel += $$relative_path($$output_file, $$QMAKE_ASSET_CATALOGS_BUILD_PATH) | ||
} | ||
|
||
QMAKE_EXTRA_TARGETS += asset_catalog_compiler | ||
PRE_TARGETDEPS += $$asset_catalog_compiler.target | ||
|
||
isEmpty(QMAKE_ASSET_CATALOGS_INSTALL_PATH) { | ||
!isEmpty(target.path): \ | ||
QMAKE_ASSET_CATALOGS_INSTALL_PATH = $${target.path}/ | ||
QMAKE_ASSET_CATALOGS_INSTALL_PATH = $${QMAKE_ASSET_CATALOGS_INSTALL_PATH}$$relative_path(\ | ||
$$QMAKE_ASSET_CATALOGS_BUILD_PATH, $$absolute_path($$DESTDIR, $$OUT_PWD)) | ||
} | ||
|
||
for (ac_install_file, actool_output_files_rel) { | ||
asset_catalogs_files.files += \ | ||
$$QMAKE_ASSET_CATALOGS_BUILD_PATH/$$ac_install_file | ||
} | ||
contains(INSTALLS, target): asset_catalogs_files.depends += install_target | ||
asset_catalogs_files.path = $$QMAKE_ASSET_CATALOGS_INSTALL_PATH | ||
asset_catalogs_files.CONFIG += no_check_exist | ||
INSTALLS += asset_catalogs_files | ||
} | ||
} else: macx-xcode { | ||
# Backwards compatibility | ||
for (bundle_data, QMAKE_BUNDLE_DATA) { | ||
for (bundle_file, $${bundle_data}.files) { | ||
!contains(bundle_file, .*\.xcassets$): next() | ||
warning("*.xcassets in QMAKE_BUNDLE_DATA is deprecated. Use QMAKE_ASSET_CATALOGS instead.") | ||
!exists($$absolute_path($$bundle_file/AppIcon.appiconset, $$_PRO_FILE_PWD_)): next() | ||
|
||
asset_catalog_appicon.name = "ASSETCATALOG_COMPILER_APPICON_NAME" | ||
asset_catalog_appicon.value = "AppIcon" | ||
QMAKE_MAC_XCODE_SETTINGS += asset_catalog_appicon | ||
break() | ||
} | ||
!isEmpty(asset_catalog_appicon.name): break() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.