From 8333f17199123c1ffc76302bb91ec4302ea7d0a0 Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Fri, 11 Apr 2025 12:54:15 +0800 Subject: [PATCH] chore(CI): add portable mode to qmake build Resolve https://github.com/BLumia/pineapple-pictures/issues/148 This change is sponsored by @EdgarHartel. --- pineapple-pictures.pro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pineapple-pictures.pro b/pineapple-pictures.pro index 384139e..8f0ddf5 100644 --- a/pineapple-pictures.pro +++ b/pineapple-pictures.pro @@ -9,6 +9,10 @@ TARGET = ppic TEMPLATE = app DEFINES += PPIC_VERSION_STRING=\\\"x.y.z\\\" +win32 { + DEFINES += FLAG_PORTABLE_MODE_SUPPORT=1 +} + # The following define makes your compiler emit warnings if you use # any feature of Qt which has been marked as deprecated (the exact warnings # depend on your compiler). Please consult the documentation of the