qtcreator: update to 12.0.0.

This commit is contained in:
Luciogi 2023-11-10 19:39:55 +05:00 committed by Duncan Overbruck
parent 14bf30220d
commit 6f901d928a
2 changed files with 7 additions and 15 deletions

View File

@ -1,14 +1,8 @@
From b13eb9f3dc96226d2f10a986c7e4d6c565e63c53 Mon Sep 17 00:00:00 2001
From: Piotr Wójcik <chocimier@tlen.pl>
Date: Sat, 21 Jan 2023 23:34:10 +0100
Subject: malloc_trim
diff --git a/src/plugins/coreplugin/mainwindow.cpp b/src/plugins/coreplugin/mainwindow.cpp
index 4950eb90..a3cd7f4e 100644
--- a/src/plugins/coreplugin/mainwindow.cpp
+++ b/src/plugins/coreplugin/mainwindow.cpp
@@ -216,7 +216,7 @@ MainWindow::MainWindow()
diff --git a/src/plugins/coreplugin/icore.cpp b/src/plugins/coreplugin/icore.cpp
index 1c04ebd2..d2ab425c 100644
--- a/src/plugins/coreplugin/icore.cpp
+++ b/src/plugins/coreplugin/icore.cpp
@@ -1274,7 +1274,7 @@ void ICorePrivate::init()
m_trimTimer.setSingleShot(true);
m_trimTimer.setInterval(60000);
// glibc may not actually free memory in free().
@ -17,6 +11,4 @@ index 4950eb90..a3cd7f4e 100644
connect(&m_trimTimer, &QTimer::timeout, this, [] { malloc_trim(0); });
#endif
}
--
2.39.0

View File

@ -1,6 +1,6 @@
# Template file for 'qtcreator'
pkgname=qtcreator
version=11.0.1
version=12.0.0
revision=1
build_style=cmake
configure_args="$(vopt_bool qbs BUILD_QBS) -DWITH_DOCS=ON -DBUILD_WITH_PCH=OFF"
@ -18,7 +18,7 @@ license="LGPL-3.0-or-later, custom:QtCompany-GPL-Exception-1.0"
homepage="https://wiki.qt.io/Category:Tools::QtCreator"
changelog="https://code.qt.io/cgit/qt-creator/qt-creator.git/plain/dist/changelog/changes-${version}.md"
distfiles="https://download.qt.io/official_releases/qtcreator/${version%.*}/${version}/qt-creator-opensource-src-${version}.tar.xz"
checksum=4f9e593853cf3bf806c6573abb6fc4176761416023d97dded07e19c456d6db73
checksum=399ae0dcefa3bd9e01a3f068b93dabe8b39f9b56466c389d1446e5c84c8f7b9f
replaces="qtcreator-data>=0"
python_version=3