diff --git a/src/tools/icons/GenericDocumentIcon.iconset/readme.txt b/src/tools/icons/GenericDocumentIcon.iconset/readme.txt deleted file mode 100644 index a00748fafd0..00000000000 --- a/src/tools/icons/GenericDocumentIcon.iconset/readme.txt +++ /dev/null @@ -1,15 +0,0 @@ -This directory needs to contain the files - - icon_128x128.png - icon_128x128@2x.png - icon_16x16.png - icon_16x16@2x.png - icon_256x256.png - icon_256x256@2x.png - icon_32x32.png - icon_32x32@2x.png - icon_512x512.png - icon_512x512@2x.png - -On OSX, they are obtainable by executing the following command: -iconutil -c iconset /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/GenericDocumentIcon.icns diff --git a/src/tools/icons/applicationicons.svg b/src/tools/icons/applicationicons.svg deleted file mode 100644 index 018fb75ea52..00000000000 --- a/src/tools/icons/applicationicons.svg +++ /dev/null @@ -1,2206 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/tools/icons/documenttypeicons.svg b/src/tools/icons/documenttypeicons.svg deleted file mode 100644 index d34829f5b4f..00000000000 --- a/src/tools/icons/documenttypeicons.svg +++ /dev/null @@ -1,879 +0,0 @@ - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - UI - - - - - - - - - - - - - - - - - - - - - - UI - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PRO - - - - - PRO - - - - - PRO - - - - - PRO - - - - - - - - - - PRO - - - - - PRO - - - - - PRO - - - - - PRO - - - - diff --git a/src/tools/icons/exportapplicationicons.sh b/src/tools/icons/exportapplicationicons.sh deleted file mode 100644 index eb74acbb90d..00000000000 --- a/src/tools/icons/exportapplicationicons.sh +++ /dev/null @@ -1,102 +0,0 @@ -#!/bin/sh - -# Copyright (C) 2016 The Qt Company Ltd. -# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 - -# This script creates several application icon files by using -# Inkscape to rasterize .svg items to .png, adding shadows via -# imagemagick, creating .ico files via imagemagick and .icns -# files via iconutil (OSX only). - -# optipng is required by this script -if ! hash optipng 2>/dev/null; then - echo "optipng was not found in PATH" >&2 - exit 1 -fi - -# Imagemagick convert is required by this script -if ! hash convert 2>/dev/null; then - echo "Imagemagick convert was not found in PATH" >&2 - exit 1 -fi - -cd `dirname $0` - -applicationNames="qtcreator designer linguist assistant qdbusviewer qmlviewer" -applicationIconDimensions="16:0 24:0 32:1 48:1 64:1 128:2 256:3 512:7 1024:15" - -# Creating the list of svg IDs to export -for applicationName in $applicationNames;\ -do - for applicationIconDimension in $applicationIconDimensions;\ - do - applicationIconSize=`echo $applicationIconDimension | awk -F: '{ print $1 }'` - iconIDs="${iconIDs} ${applicationName}_icon_${applicationIconSize}x${applicationIconSize}" - done -done - -# Copying the logos for Qt Creator's sources. Without shadows! -creatorLogoDir="logo" -rm -rf $creatorLogoDir -mkdir $creatorLogoDir -for uiFileIconSize in 16 24 32 48 64 128 256 512;\ -do - creatorLogoSource="qtcreator_icon_${uiFileIconSize}x${uiFileIconSize}.png" - creatorLogoTargetDir="${creatorLogoDir}/${uiFileIconSize}" - creatorLogoTarget="${creatorLogoTargetDir}/QtProject-qtcreator.png" - optipng $creatorLogoSource -o 7 -strip all - mkdir $creatorLogoTargetDir - cp $creatorLogoSource $creatorLogoTarget -done - -# Adding the shadows to the .png files -for applicationName in $applicationNames;\ -do - for applicationIconDimension in $applicationIconDimensions;\ - do - iconSize=`echo $applicationIconDimension | awk -F: '{ print $1 }'` - shadowSize=`echo $applicationIconDimension | awk -F: '{ print $2 }'` - iconFile=${applicationName}_icon_${iconSize}x${iconSize}.png - if [ "$shadowSize" != "0" ] - then - convert -page ${iconSize}x${iconSize} ${iconFile} \( +clone -background black -shadow 25x1+0+0 \) +swap -background none -flatten ${iconFile} - convert -page ${iconSize}x${iconSize} ${iconFile} \( +clone -background black -shadow 40x${shadowSize}+0+${shadowSize} \) +swap -background none -flatten ${iconFile} - fi - done -done - -# Creating the .ico files -iconSizes="256 128 64 48 32 24 16" -for applicationName in $applicationNames;\ -do - icoFiles="" - for iconSize in $iconSizes;\ - do - icoFiles="$icoFiles ${applicationName}_icon_${iconSize}x${iconSize}.png" - done - convert ${icoFiles} ${applicationName}.ico -done - -# Optimizing the .pngs -for iconID in $iconIDs;\ -do - optipng "${iconID}.png" -o 7 -strip all -done - -# Preparing application .iconsets for the conversion to .icns -for applicationName in $applicationNames;\ -do - inconsetName=${applicationName}.iconset - rm -rf $inconsetName - mkdir $inconsetName - cp ${applicationName}_icon_16x16.png ${inconsetName}/icon_16x16.png - cp ${applicationName}_icon_32x32.png ${inconsetName}/icon_32x32.png - cp ${applicationName}_icon_128x128.png ${inconsetName}/icon_128x128.png - cp ${applicationName}_icon_256x256.png ${inconsetName}/icon_256x256.png - cp ${applicationName}_icon_512x512.png ${inconsetName}/icon_512x512.png - cp ${applicationName}_icon_32x32.png ${inconsetName}/icon_16x16@2x.png - cp ${applicationName}_icon_64x64.png ${inconsetName}/icon_32x32@2x.png - cp ${applicationName}_icon_256x256.png ${inconsetName}/icon_128x128@2x.png - cp ${applicationName}_icon_512x512.png ${inconsetName}/icon_256x256@2x.png - cp ${applicationName}_icon_1024x1024.png ${inconsetName}/icon_512x512@2x.png -done diff --git a/src/tools/icons/exportdocumenttypeicons.sh b/src/tools/icons/exportdocumenttypeicons.sh deleted file mode 100644 index f0d8351c63d..00000000000 --- a/src/tools/icons/exportdocumenttypeicons.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -# Copyright (C) 2016 The Qt Company Ltd. -# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 - -# optipng is required by this script -if ! hash optipng 2>/dev/null; then - echo "optipng was not found in PATH" >&2 - exit 1 -fi - -cd `dirname $0` - -# Adding the icons for the OSX document type icon for .ui files -for documentTypeName in "uifile" "qtcreator-project";\ -do - inconsetName=${documentTypeName}.iconset - rm -rf $inconsetName - mkdir $inconsetName - for iconSize in 16 32 128 256 512;\ - do - iconShortID="icon_${iconSize}x${iconSize}" - iconLongID="${documentTypeName}_${iconShortID}" - for sizeVariation in "" "@2x";\ - do - iconSourcePng="${iconLongID}${sizeVariation}.png" - iconTargetPng="${inconsetName}/${iconShortID}${sizeVariation}.png" - optipng $iconSourcePng -o 7 -strip all - cp $iconSourcePng $iconTargetPng - done - done -done