{
 "app_id": "io.qt.qtdesignstudio",
 "source_url": "https://raw.githubusercontent.com/flathub/io.qt.qtdesignstudio/master/io.qt.qtdesignstudio.yaml",
 "runtime": "org.kde.Sdk",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=ssh-auth",
  "--socket=x11",
  "--device=dri",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=host",
  "--allow=devel",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-20T15:28:03.387675+00:00",
 "manifest": {
  "app-id": "io.qt.qtdesignstudio",
  "runtime": "org.kde.Sdk",
  "runtime-version": "6.10",
  "base": "io.qt.qtwebengine.BaseApp",
  "base-version": "6.10",
  "sdk": "org.kde.Sdk",
  "command": "qtdesignstudio",
  "rename-icon": "QtProject-qtdesignstudio",
  "finish-args": [
   "--share=ipc",
   "--share=network",
   "--socket=x11",
   "--socket=ssh-auth",
   "--filesystem=host",
   "--device=dri",
   "--allow=devel",
   "--env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess",
   "--env=QML_IMPORT_PATH=/app/lib/qml",
   "--env=QT_QPA_PLATFORM=xcb"
  ],
  "modules": [
   {
    "name": "qtquickdesigner-components",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://code.qt.io/qt-labs/qtquickdesigner-components",
      "tag": "qds-dev-4.8",
      "commit": "04d81a7514e66b571e51e416a9ce85964d9f81cb",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^qds-dev-(\\d+\\.\\d+\\.?\\d*)$"
      }
     }
    ]
   },
   {
    "name": "linker-setup",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm644 ld.so.conf /app/etc/ld.so.conf"
    ],
    "sources": [
     {
      "type": "inline",
      "dest-filename": "ld.so.conf",
      "contents": "/app/lib/x86_64-linux-gnu\n"
     }
    ]
   },
   {
    "name": "qt-creator",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DSHOW_BUILD_DATE=ON",
     "-DWITH_ONLINE_DOCS=ON",
     "-DBUILD_DEVELOPER_DOCS=ON",
     "-DBUILD_DESIGNSTUDIO=ON",
     "-DFETCHCONTENT_SOURCE_DIR_EFSW=efsw",
     "-DFETCHCONTENT_SOURCE_DIR_QDS_QML_IMPORT_OVERRIDE=qml_override",
     "-DQDS_AUTO_INSTALL_QUICK_DESIGNER_COMPONENTS=OFF",
     "-Wno-dev"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/SpartanJ/efsw.git",
      "tag": "1.5.0",
      "commit": "112e89c00f362709b887b65199694ef061519ebb",
      "dest": "efsw"
     },
     {
      "type": "git",
      "url": "https://git.qt.io/design-studio/qds-qml-import-override.git",
      "tag": "qds-4.8.0-beta4",
      "commit": "87b7cf77d5cc754e7e921d78767f6c50aece7642",
      "dest": "qml_override"
     },
     {
      "type": "git",
      "url": "https://github.com/qt-creator/qt-creator.git",
      "tag": "qds/v4.8.2",
      "commit": "6a7efe3cb350ece7c6498d252350c09d50f1ecd8",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^qds\\/v(\\d+\\.\\d+\\.?\\d*)$"
      }
     }
    ]
   },
   {
    "name": "docs",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p $FLATPAK_DEST/share/doc/qtcreator",
     "cp * $FLATPAK_DEST/share/doc/qtcreator"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/tools_qtdesignstudio_generation2/qt.tools.qtdesignstudio/4.8.2-0-202604291709docs.7z",
      "sha256": "d6fbf3d115df7d0928e6f8d37b8452b8c710b91e689ed6d188ff357a5ef2fca3",
      "x-checker-data": {
       "type": "html",
       "url": "https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/tools_qtdesignstudio_generation2/Updates.xml",
       "version-pattern": "<Version>([2-9].+)<\\/Version>",
       "url-template": "https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/tools_qtdesignstudio_generation2/qt.tools.qtdesignstudio/$versiondocs.7z"
      }
     }
    ]
   }
  ]
 }
}