version: 1

project:
  name: org.raspberrypi.rpi-imager
  version: 1.9.2

build:
  cmake:
    source_dir: src/
    # You should also set your Qt6_ROOT here, like so:
    extra_variables:
      Qt6_ROOT: /home/corey/Qt/6.7.3/gcc_64
      Qt6_DIR: /home/corey/Qt/6.7.3/gcc_64/lib/cmake/Qt6
  environment:
    BUILD_TYPE: MinSizeRel

appimage:
  linuxdeploy:
    plugins:
      - qt 
    raw_environment:
      QMAKE: /home/corey/Qt/6.7.3/gcc_64/bin/qmake
      QML_SOURCES_PATHS: "\"$PROJECT_ROOT\"/src/qmlcomponents/"
    environment:
      EXTRA_PLATFORM_PLUGINS: "libqwayland-egl.so;libqwayland-generic.so"
      EXTRA_QT_PLUGINS: "waylandcompositor"

