1
Programming / Re: Qt6 Application Testing
« on: Today at 07:14:54 am »
Remy's cmd seems to work fairly well, on the 2nd try youtube works as expected for a while then the UI gets kind of stuck needing to close Dooble.
OS2World.com Forum is back !!!
Remember to visit OS2World at:
http://www.os2world.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
25:53.50 cc1plus.exe: out of memory allocating 65536 bytes after a total of 0 bytes
With a popup with a sys0147 which blocked until I allowed it to kill the program (cc1plus.exe I think)SYS0147: Not enough resources are available to process this command.
The process for which this pop-up is displayed will end.
EXPLANATION: All available memory is in use. If segment swapping is
active, the swap file may be full.
ACTION: Do one of the following and retry the command:
o Reduce the number of running programs.
o Reduce the value of the BUFFERS=, TRACEBUF=, DISKCACHE=, THREADS=,
RMSIZE=, or DEVICE=VDISK.SYS statement in the CONFIG.SYS file and
restart the system.
o Remove unwanted files from the swap file disk and restart the system.
o Install additional memory on your system.
o Contact the supplier of the application.
# This is an entry for ArcaOS 5.1 in UEFI mode
menuentry ArcaOS-5.1 {
icon \EFI\refind\icons\os_aos.png
loader \EFI\OS2\OS2LDR.EFI
options "M:"
}
Can't you do things like win32|os2 to follow that path on win32 or os2?
I was wondering the same, will test.
Can't you do things like win32|os2 to follow that path on win32 or os2?
Cmake install is used to package things. I'll take a look at the scripts - it's possible there are different install paths depending on platform...
From 02958934b6771efdebbb9dfdc8d77e3d7018c2c2 Mon Sep 17 00:00:00 2001
From: textbrowser <textbrowser@gmail.com>
Date: Fri, 26 Apr 2024 18:35:35 -0400
Subject: [PATCH] Improved error messages.
---
Source/dooble_settings.cc | 22 ++++++++++++++--------
dooble.sh | 4 ++++
2 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/Source/dooble_settings.cc b/Source/dooble_settings.cc
index a84e9f76..0ff17f49 100644
--- a/Source/dooble_settings.cc
+++ b/Source/dooble_settings.cc
@@ -2304,21 +2304,22 @@ void dooble_settings::show_panel(dooble_settings::Panels panel)
void dooble_settings::show_qtwebengine_dictionaries_warning_label(void)
{
- m_ui.qtwebengine_dictionaries_warning_label->setText
- (tr("<b>Warning!</b> "
- "The directory qtwebengine_dictionaries cannot be accessed. "
- "Dooble searched QTWEBENGINE_DICTIONARIES_PATH and the relative "
- "qtwebengine_dictionaries directories. "
- "Please read %1, line %2.").arg(__FILE__).arg(__LINE__));
m_ui.qtwebengine_dictionaries_warning_label->setVisible(false);
auto bytes(qgetenv("QTWEBENGINE_DICTIONARIES_PATH"));
if(bytes.trimmed().isEmpty())
{
- bytes = "qtwebengine_dictionaries";
+ auto directory
+ (QDir::currentPath() + QDir::separator() + "qtwebengine_dictionaries");
- if(!QFileInfo(bytes).isReadable())
+ m_ui.qtwebengine_dictionaries_warning_label->setText
+ (tr("<b>Warning!</b> "
+ "The directory qtwebengine_dictionaries cannot be accessed. "
+ "Dooble searched %1. Please read %2, line %3.").
+ arg(directory).arg(__FILE__).arg(__LINE__));
+
+ if(!QFileInfo(directory).isReadable())
{
m_ui.qtwebengine_dictionaries_warning_label->setVisible(true);
return;
@@ -2326,6 +2327,11 @@ void dooble_settings::show_qtwebengine_dictionaries_warning_label(void)
}
else if(!QFileInfo(bytes).isReadable())
{
+ m_ui.qtwebengine_dictionaries_warning_label->setText
+ (tr("<b>Warning!</b> "
+ "The directory qtwebengine_dictionaries cannot be accessed. "
+ "Dooble searched %1. Please read %2, line %3.").
+ arg(bytes.constData()).arg(__FILE__).arg(__LINE__));
m_ui.qtwebengine_dictionaries_warning_label->setVisible(true);
return;
}
diff --git a/dooble.sh b/dooble.sh
index dd7f8d02..ac5d06a8 100755
--- a/dooble.sh
+++ b/dooble.sh
@@ -28,6 +28,7 @@ export QT_X11_NO_MITSHM=1
if [ -r ./Dooble ] && [ -x ./Dooble ]
then
echo "Launching a local Dooble."
+ export QTWEBENGINE_DICTIONARIES_PATH=qtwebengine_dictionaries
if [ -r ./Lib ]
then
@@ -46,6 +47,7 @@ then
echo "Launching an official Dooble."
export DOOBLE_TRANSLATIONS_PATH=/opt/dooble/Translations
export LD_LIBRARY_PATH=/opt/dooble/Lib
+ export QTWEBENGINE_DICTIONARIES_PATH=/opt/dooble/qtwebengine_dictionaries
export QT_PLUGIN_PATH=/opt/dooble/plugins
cd /opt/dooble && exec ./Dooble "$@"
exit $?
@@ -54,6 +56,8 @@ then
echo "Launching an official Dooble."
export DOOBLE_TRANSLATIONS_PATH=/usr/local/dooble/Translations
export LD_LIBRARY_PATH=/usr/local/dooble/Lib
+ export QTWEBENGINE_DICTIONARIES_PATH=/usr/local/dooble/\
+ qtwebengine_dictionaries
export QT_PLUGIN_PATH=/usr/local/dooble/plugins
cd /usr/local/dooble && exec ./Dooble "$@"
exit $?
--
2.30.2