diff --git a/Qv2ray.pro b/Qv2ray.pro index 23e1de6a..f925bbeb 100644 --- a/Qv2ray.pro +++ b/Qv2ray.pro @@ -265,12 +265,17 @@ unix { INSTALLS += target desktop icon } -has_metainfo { +build_flatpak { # For Packaging message("Configuring for packaging platform") message(" --> Generating metainfo dependency.") appdataXml.files += ./icons/qv2ray.appdata.xml - appdataXml.path = /usr/share/metainfo/ + appdataXml.path = /app/share/metainfo/ + LIBS += -L/app/lib -lgrpc++ -lprotobuf -lgrpc + INCLUDEPATH += /app/include/ + desktop.path = /app/share/applications/ + icon.path = /app/share/icons/hicolor/256x256/apps/ + target.path = /app/bin/ INSTALLS += appdataXml }