Compare commits

..

No commits in common. "91720c4b7c9b0815ea8ffef8d20b879a066f5e08" and "187fbd0208e10d5e68e532ce6f763787e238bea4" have entirely different histories.

8 changed files with 15 additions and 22 deletions

View file

@ -355,14 +355,15 @@ macos_task_template: &MACOS_TASK_TEMPLATE
# This won't display anything secret.
- security find-identity -v -p codesigning
- brew update > /dev/null
- brew install qt6 coreutils ccache qbs cmake ninja git openssl@1.1 pkg-config poppler xerces-c
- brew install qt6 coreutils ccache qbs cmake ninja git openssl@1.1 pkg-config poppler xerces-c pipx
- brew outdated
- brew upgrade qt6
- pipx ensurepath
- echo $PATH
- export PATH="${HOME}/.local/bin:`python3 -m site --user-base`/bin:$PATH"
- echo $PATH
- python3 --version
- pip3 install --break-system-packages --user --upgrade pip dropbox py7zr 'urllib3<2.0' conan==1.63.0 requests
- pipx install pip dropbox py7zr 'urllib3<2.0' conan==1.63.0 requests
- ccache --set-config sloppiness=pch_defines,time_macros max_size="$CCACHE_SIZE"
- qmake --version
- which qmake
@ -372,7 +373,6 @@ macos_task_template: &MACOS_TASK_TEMPLATE
- export PATH="${HOME}/.local/bin:`python3 -m site --user-base`/bin:$PATH"
- echo $PATH
- whereis python3
- sudo mkdir /usr/local/bin
- sudo ln -s -f /usr/bin/python3 /usr/local/bin/python
- sudo ln -s /Library/Developer/CommandLineTools/usr/bin/python3 /Library/Developer/CommandLineTools/usr/bin/python
- whereis python
@ -384,7 +384,7 @@ macos_task_template: &MACOS_TASK_TEMPLATE
- conan profile new valentina
- conan profile update settings.build_type=Release valentina
- conan profile update settings.os=Macos valentina
- conan profile update settings.os.sdk_version=${MACOS_DEPLOYMENT_TARGET} valentina
- conan profile update settings.os.Macos.sdk_version=${MACOS_DEPLOYMENT_TARGET} valentina
- conan profile update settings.compiler=clang valentina
- conan profile update settings.compiler.cppstd=17 valentina
- conan profile update settings.compiler.libcxx=libstdc++11 valentina

View file

@ -683,13 +683,13 @@ for:
- conan profile new valentina
- conan profile update settings.build_type=Release valentina
- conan profile update settings.os=Macos valentina
- conan profile update settings.os.sdk_version=${MACOS_DEPLOYMENT_TARGET} valentina
- conan profile update settings.os.Macos.sdk_version=${MACOS_DEPLOYMENT_TARGET} valentina
- conan profile update settings.os.os_build=Macos valentina
- conan profile update settings.os.arch=x86_64 valentina
- conan profile update settings.os.arch_build=x86_64 valentina
- conan profile update settings.compiler=apple-clang valentina
- conan profile update settings.compiler.cppstd=17 valentina
- conan profile update settings.compiler.libcxx=libc++ valentina
- conan profile update settings.compiler.libcxx=libstdc++11 valentina
- conan profile update settings.compiler.version=15 valentina
- qbs setup-toolchains --detect
- qbs config --list profiles
@ -882,13 +882,13 @@ for:
- conan profile new valentina
- conan profile update settings.build_type=Release valentina
- conan profile update settings.os=Macos valentina
- conan profile update settings.os.sdk_version=${MACOS_DEPLOYMENT_TARGET} valentina
- conan profile update settings.os.Macos.sdk_version=${MACOS_DEPLOYMENT_TARGET} valentina
- conan profile update settings.os_build=Macos valentina
- conan profile update settings.os.arch=x86_64 valentina
- conan profile update settings.os.arch_build=x86_64 valentina
- conan profile update settings.compiler=apple-clang valentina
- conan profile update settings.compiler.cppstd=17 valentina
- conan profile update settings.compiler.libcxx=libc++ valentina
- conan profile update settings.compiler.libcxx=libstdc++11 valentina
- conan profile update settings.compiler.version=14 valentina
- qbs setup-toolchains --detect
- qbs config --list profiles

View file

@ -24,7 +24,9 @@ class Recipe(ConanFile):
def requirements(self):
if not self.options.with_xerces:
del self.requires["xerces-c"]
if "xerces-c" in self.requires:
del self.requires["xerces-c"]
if not self.options.with_crash_reporting:
del self.requires["sentry-crashpad"]
if "sentry-crashpad/0.6.5" in self.requires:
del self.requires["sentry-crashpad/0.6.5"]

View file

@ -37,7 +37,7 @@ VLib {
windeployqt.languages: i18nconfig.qtTranslationLocales.join(',')
}
installDebugInformation: qbs.buildVariant !== "release" || buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled
installDebugInformation: qbs.buildVariant !== "release"
Properties {
condition: !qbs.targetOS.contains("macos") || (qbs.targetOS.contains("macos") && !buildconfig.enableMultiBundle)

View file

@ -12,7 +12,7 @@ VApp {
version: buildconfig.projectVersion
install: true
installDir: buildconfig.installBinaryPath
installDebugInformation: qbs.buildVariant !== "release" || buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled
installDebugInformation: qbs.buildVariant !== "release"
consoleApplication: false
property bool primaryApp: false

View file

@ -36,9 +36,6 @@ def generate_sym_files(install_root):
debug_files = glob.glob(os.path.join(install_root, "**", "*" + debug_ext), recursive=True)
if not debug_files:
print("No debug files found.")
for debug_file in debug_files:
print(f"Generating symbols for: {os.path.basename(debug_file)}")
@ -86,11 +83,6 @@ def upload_symbols(install_root, val_version, commit_hash, qt_version, clean=Fal
# Platform-specific commands for generating and uploading symbol files
platform = sys.platform
sym_files = generate_sym_files(install_root)
if not sym_files:
print("No symbol files found. Exiting upload process.")
return
app_version = generate_version_string(val_version, commit_hash, qt_version)
print(f"Uploading symbols for version {app_version}")

View file

@ -82,8 +82,8 @@ auto VCrashPaths::GetPlatformString(const QString &string) -> base::FilePath::St
#if defined(Q_OS_UNIX)
return string.toStdString();
#elif defined(Q_OS_WINDOWS)
return string.toStdWString();
#else
return string.toStdWString();
#error GetPlatformString not implemented on this platform
#endif
}

View file

@ -275,7 +275,6 @@ auto VAbstractApplication::QtTranslationsPath(const QString &locale) -> QString
#endif // QBS_BUILD
#if defined(APPIMAGE)
Q_UNUSED(locale)
/* Fix path to translations when run inside AppImage. */
return AppImageRoot() + APPIMAGE_QT_TRANSLATIONS;
#else