- refresh Qt version + refresh linuxdeployqt + better logging in idle tracking + version increase

This commit is contained in:
Dmytro Bogovych 2025-04-26 21:49:28 +03:00
parent 61ef94b474
commit 9c48fe5f38
5 changed files with 14 additions and 7 deletions

View File

@ -4,10 +4,10 @@
// App version
#define QBREAK_VERSION_MAJOR 0
#define QBREAK_VERSION_MINOR 1
#define QBREAK_VERSION_SUFFIX 16
#define QBREAK_VERSION_SUFFIX 17
// How often UI is updated - interval in seconds
#define INTERVAL_UPDATE_UI (15)
#define INTERVAL_UPDATE_UI (10)
// How often progress bar is updated - interval in milliseconds
#define INTERVAL_UPDATE_PROGRESS (1000)

View File

@ -210,6 +210,7 @@ int get_idle_time_kde_wayland()
#endif
static bool Warning_X11InWayland = false;
int get_idle_time_dynamically()
{
const char* wl_display = std::getenv("WAYLAND_DISPLAY");
@ -235,8 +236,14 @@ int get_idle_time_dynamically()
#else
// Restrict to X11
if (wl_display)
{
// One time error message
if (!Warning_X11InWayland) {
qDebug() << "Wayland is found, but app built for X11 only. Idle tracking is not supported.";
Warning_X11InWayland = true;
}
return 0;
}
return get_idle_time_x11();
#endif
}

View File

@ -2,9 +2,9 @@
# I use this script on two different hosts so there are logic to find proper Qt installation
export QT_HOME=/home/$USER/tools/qt/6.4.2/gcc_64
export QT_HOME=/home/$USER/tools/qt/6.8.0/gcc_64
if [ ! -d "$QT_HOME" ] ; then
export QT_HOME=/home/$USER/tools/qt/6.4.2/gcc_64
export QT_HOME=/home/$USER/tools/qt/6.8.0/gcc_64
fi
# Build .appimage

View File

@ -2,9 +2,9 @@
# I use this script on two different hosts so there are logic to find proper Qt installation
export QT_HOME=/home/$USER/tools/qt/6.4.2/gcc_64
export QT_HOME=/home/$USER/tools/qt/6.8.0/gcc_64
if [ ! -d "$QT_HOME" ] ; then
export QT_HOME=/home/$USER/tools/qt/6.4.2/gcc_64
export QT_HOME=/home/$USER/tools/qt/6.8.0/gcc_64
fi
# Build .appimage

Binary file not shown.