Add Design Studio for Linux
Add AppStream data and desktop file for Design Studio. Change-Id: Icc5cca03a3c0945a2f90b39fdd4c7dcecd0e8d6b Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
@@ -8,6 +8,8 @@ set(IDE_DISPLAY_NAME "Qt Creator") # The IDE display name.
|
|||||||
set(IDE_ID "qtcreator") # The IDE id (no spaces, lowercase!)
|
set(IDE_ID "qtcreator") # The IDE id (no spaces, lowercase!)
|
||||||
set(IDE_CASED_ID "QtCreator") # The cased IDE id (no spaces!)
|
set(IDE_CASED_ID "QtCreator") # The cased IDE id (no spaces!)
|
||||||
set(IDE_BUNDLE_IDENTIFIER "org.qt-project.${IDE_ID}") # The macOS application bundle identifier.
|
set(IDE_BUNDLE_IDENTIFIER "org.qt-project.${IDE_ID}") # The macOS application bundle identifier.
|
||||||
|
set(IDE_APP_ID "org.qt-project.${IDE_ID}") # The free desktop application identifier.
|
||||||
|
|
||||||
|
|
||||||
set(PROJECT_USER_FILE_EXTENSION .user)
|
set(PROJECT_USER_FILE_EXTENSION .user)
|
||||||
set(IDE_DOC_FILE "qtcreator/qtcreator.qdocconf")
|
set(IDE_DOC_FILE "qtcreator/qtcreator.qdocconf")
|
||||||
@@ -17,5 +19,5 @@ set(IDE_DOC_FILE_ONLINE "qtcreator/qtcreator-online.qdocconf")
|
|||||||
# Should contain qtcreator.ico, qtcreator.xcassets
|
# Should contain qtcreator.ico, qtcreator.xcassets
|
||||||
set(IDE_ICON_PATH "")
|
set(IDE_ICON_PATH "")
|
||||||
# Absolute, or relative to <qtcreator>/src/app
|
# Absolute, or relative to <qtcreator>/src/app
|
||||||
# Should contain images/logo/(16|24|32|48|64|128|256|512)/QtProject-qtcreator.png
|
# Should contain images/logo/(16|24|32|48|64|128|256|512)/QtProject-${IDE_ID}.png
|
||||||
set(IDE_LOGO_PATH "")
|
set(IDE_LOGO_PATH "")
|
||||||
|
@@ -9,6 +9,7 @@ set(IDE_DISPLAY_NAME "Qt Design Studio") # The IDE display name.
|
|||||||
set(IDE_ID "qtdesignstudio") # The IDE id (no spaces, lowercase!)
|
set(IDE_ID "qtdesignstudio") # The IDE id (no spaces, lowercase!)
|
||||||
set(IDE_CASED_ID "QtDesignStudio") # The cased IDE id (no spaces!)
|
set(IDE_CASED_ID "QtDesignStudio") # The cased IDE id (no spaces!)
|
||||||
set(IDE_BUNDLE_IDENTIFIER "org.qt-project.${IDE_ID}") # The macOS application bundle identifier.
|
set(IDE_BUNDLE_IDENTIFIER "org.qt-project.${IDE_ID}") # The macOS application bundle identifier.
|
||||||
|
set(IDE_APP_ID "io.qt.${IDE_ID}") # The free desktop application identifier.
|
||||||
|
|
||||||
set(PROJECT_USER_FILE_EXTENSION .qtds)
|
set(PROJECT_USER_FILE_EXTENSION .qtds)
|
||||||
set(IDE_DOC_FILE "qtdesignstudio/qtdesignstudio.qdocconf")
|
set(IDE_DOC_FILE "qtdesignstudio/qtdesignstudio.qdocconf")
|
||||||
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 482 B After Width: | Height: | Size: 482 B |
Before Width: | Height: | Size: 529 B After Width: | Height: | Size: 529 B |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 735 B After Width: | Height: | Size: 735 B |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
@@ -6,17 +6,17 @@ if (NOT APPLE AND NOT WIN32)
|
|||||||
string(TIMESTAMP timestamp "%Y-%m-%d")
|
string(TIMESTAMP timestamp "%Y-%m-%d")
|
||||||
set(DATE_ATTRIBUTE " date=\"${timestamp}\"")
|
set(DATE_ATTRIBUTE " date=\"${timestamp}\"")
|
||||||
endif()
|
endif()
|
||||||
configure_file(metainfo/org.qt-project.qtcreator.appdata.xml.cmakein metainfo/org.qt-project.qtcreator.appdata.xml)
|
configure_file(metainfo/${IDE_APP_ID}.appdata.xml.cmakein metainfo/${IDE_APP_ID}.appdata.xml)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
DIRECTORY
|
FILES
|
||||||
applications
|
applications/${IDE_APP_ID}.desktop
|
||||||
DESTINATION
|
DESTINATION
|
||||||
${CMAKE_INSTALL_DATAROOTDIR}
|
${CMAKE_INSTALL_DATAROOTDIR}/applications/
|
||||||
)
|
)
|
||||||
install(
|
install(
|
||||||
FILES
|
FILES
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/metainfo/org.qt-project.qtcreator.appdata.xml
|
${CMAKE_CURRENT_BINARY_DIR}/metainfo/${IDE_APP_ID}.appdata.xml
|
||||||
DESTINATION
|
DESTINATION
|
||||||
${CMAKE_INSTALL_DATAROOTDIR}/metainfo/
|
${CMAKE_INSTALL_DATAROOTDIR}/metainfo/
|
||||||
)
|
)
|
||||||
|
11
share/applications/io.qt.qtdesignstudio.desktop
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Exec=qtdesignstudio %F
|
||||||
|
Name=Qt Design Studio
|
||||||
|
GenericName=UI Designer for Qml applications
|
||||||
|
X-KDE-StartupNotify=true
|
||||||
|
Icon=QtProject-qtdesignstudio
|
||||||
|
StartupWMClass=org.qt-project.qtdesignstudio
|
||||||
|
Terminal=false
|
||||||
|
Categories=Development;GUIDesigner;Qt;
|
||||||
|
MimeType=application/x-qmlproject
|
58
share/metainfo/io.qt.qtdesignstudio.appdata.xml.cmakein
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Copyright (C) 2016 The Qt Company Ltd. Contact: https://www.qt.io/licensing/ -->
|
||||||
|
<component type="desktop">
|
||||||
|
<id>io.qt.qtdesignstudio</id>
|
||||||
|
<name>Qt Design Studio</name>
|
||||||
|
<developer id="Qt Design Studio team">
|
||||||
|
<name>Qt Project</name>
|
||||||
|
</developer>
|
||||||
|
<summary>UI Designer for Qml applications</summary>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<project_license>GPL-3.0</project_license>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
Define the look and feel of the UI from wireframe to final implementation
|
||||||
|
with preset UI components. Import UI design files from 2D and 3D tools
|
||||||
|
to Qt Design Studio, which can turn them into code for developers.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Qt Design Studio prototyping features bring your designs to life and
|
||||||
|
simulate and validate interactions and dynamic behavior.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
You can test, preview, and fine-tune your designs to pixel-perfection live
|
||||||
|
on the desktop or target device.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<launchable type="desktop-id">io.qt.qtdesignstudio.desktop</launchable>
|
||||||
|
|
||||||
|
<url type="homepage">https://www.qt.io/ide/</url>
|
||||||
|
<project_group>Qt</project_group>
|
||||||
|
<content_rating type="oars-1.1" />
|
||||||
|
<screenshots>
|
||||||
|
<screenshot type="default">
|
||||||
|
<caption>Overview 2D</caption>
|
||||||
|
<image>https://www.qt.io/hs-fs/hubfs/image-png-Dec-13-2021-02-04-37-16-PM.png</image>
|
||||||
|
</screenshot>
|
||||||
|
<screenshot>
|
||||||
|
<caption>Welcome</caption>
|
||||||
|
<image>https://www.qt.io/hs-fs/hubfs/welcomescreen.png</image>
|
||||||
|
</screenshot>
|
||||||
|
<screenshot>
|
||||||
|
<caption>Overview 3D</caption>
|
||||||
|
<image>https://www.qt.io/hs-fs/hubfs/image-png-Feb-28-2022-03-08-54-80-PM.png</image>
|
||||||
|
</screenshot>
|
||||||
|
<screenshot>
|
||||||
|
<caption>Examples</caption>
|
||||||
|
<image>https://www.qt.io/hs-fs/hubfs/image-png-May-23-2022-12-38-02-61-PM.png</image>
|
||||||
|
</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
<releases>
|
||||||
|
<release version="${IDE_VERSION_DISPLAY}"${DATE_ATTRIBUTE}>
|
||||||
|
<description>
|
||||||
|
<p>Qt Design Studio ${IDE_VERSION_DISPLAY}</p>
|
||||||
|
</description>
|
||||||
|
<url>https://www.qt.io/blog/qt-design-studio-${IDE_VERSION_DISPLAY}-released</url>
|
||||||
|
</release>
|
||||||
|
</releases>
|
||||||
|
</component>
|
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- Copyright (C) 2016 The Qt Company Ltd. Contact: https://www.qt.io/licensing/ -->
|
<!-- Copyright (C) 2016 The Qt Company Ltd. Contact: https://www.qt.io/licensing/ -->
|
||||||
<component type="desktop">
|
<component type="desktop">
|
||||||
<id>org.qt-project.qtcreator.desktop</id>
|
<id>org.qt-project.qtcreator</id>
|
||||||
<name>Qt Creator</name>
|
<name>Qt Creator</name>
|
||||||
<summary>Provides a cross-platform, complete integrated development environment (IDE) for application developers to create applications for multiple platforms and devices</summary>
|
<summary>Provides a cross-platform, complete integrated development environment (IDE) for application developers to create applications for multiple platforms and devices</summary>
|
||||||
<metadata_license>CC0-1.0</metadata_license>
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
@@ -10,7 +10,9 @@ endif()
|
|||||||
configure_file(app_logo.qrc.cmakein app_logo_cmake.qrc)
|
configure_file(app_logo.qrc.cmakein app_logo_cmake.qrc)
|
||||||
|
|
||||||
add_qtc_executable(qtcreator
|
add_qtc_executable(qtcreator
|
||||||
DEFINES IDE_LIBRARY_BASENAME=\"${IDE_LIBRARY_BASE_PATH}\"
|
DEFINES
|
||||||
|
IDE_LIBRARY_BASENAME=\"${IDE_LIBRARY_BASE_PATH}\"
|
||||||
|
IDE_APP_ID=\"${IDE_APP_ID}\"
|
||||||
DEPENDS Aggregation ExtensionSystem Qt::Core Qt::Widgets Utils shared_qtsingleapplication app_version
|
DEPENDS Aggregation ExtensionSystem Qt::Core Qt::Widgets Utils shared_qtsingleapplication app_version
|
||||||
SOURCES
|
SOURCES
|
||||||
main.cpp
|
main.cpp
|
||||||
@@ -156,7 +158,7 @@ if ((NOT WIN32) AND (NOT APPLE))
|
|||||||
# install logo
|
# install logo
|
||||||
foreach(size 16 24 32 48 64 128 256 512)
|
foreach(size 16 24 32 48 64 128 256 512)
|
||||||
install(
|
install(
|
||||||
FILES ${IDE_LOGO_PATH}/images/logo/${size}/QtProject-qtcreator.png
|
FILES ${IDE_LOGO_PATH}/images/logo/${size}/QtProject-${IDE_ID}.png
|
||||||
DESTINATION share/icons/hicolor/${size}x${size}/apps
|
DESTINATION share/icons/hicolor/${size}x${size}/apps
|
||||||
)
|
)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
<RCC>
|
<RCC>
|
||||||
<qresource prefix="/core">
|
<qresource prefix="/core">
|
||||||
<file alias="images/qtcreatorlogo-big.png">${IDE_LOGO_PATH}/images/logo/128/QtProject-qtcreator.png</file>
|
<file alias="images/qtcreatorlogo-big.png">${IDE_LOGO_PATH}/images/logo/128/QtProject-${IDE_ID}.png</file>
|
||||||
<file alias="images/qtcreatorlogo-big@2x.png">${IDE_LOGO_PATH}/images/logo/256/QtProject-qtcreator.png</file>
|
<file alias="images/qtcreatorlogo-big@2x.png">${IDE_LOGO_PATH}/images/logo/256/QtProject-${IDE_ID}.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
@@ -760,7 +760,7 @@ int main(int argc, char **argv)
|
|||||||
if (!overrideCodecForLocale.isEmpty())
|
if (!overrideCodecForLocale.isEmpty())
|
||||||
QTextCodec::setCodecForLocale(QTextCodec::codecForName(overrideCodecForLocale));
|
QTextCodec::setCodecForLocale(QTextCodec::codecForName(overrideCodecForLocale));
|
||||||
|
|
||||||
app.setDesktopFileName("org.qt-project.qtcreator");
|
app.setDesktopFileName(IDE_APP_ID);
|
||||||
|
|
||||||
// Make sure we honor the system's proxy settings
|
// Make sure we honor the system's proxy settings
|
||||||
QNetworkProxyFactory::setUseSystemConfiguration(true);
|
QNetworkProxyFactory::setUseSystemConfiguration(true);
|
||||||
|