User of Qt app needs Mouse cursor size help
-
wrote on 11 Jun 2023, 08:41 last edited by Dinosaur1946 6 Nov 2023, 09:21
Hi All
Have searched for the correct place to post this, so if wrong please correct me.I am using an application that was developed in Qt6 for the 4WD market.
Basically it allows the user to plot routes along 4wd tracks and follow them.
The app is on an industrial PC, mounted in the vehicle with an 11" lcd.Their main target audience is Windows & iOS.
However they ported the utility to Linux but refuse to offer support for it,
So I am looking to solve a problem with the mouse cursor size, which is minuscule
and rejects all attempts to grow it's size.The hours of googling seem to all come back to "export XCURSOR_SIZE=48" for example.
In Ubuntu 20.04 I managed to get the same size cursor as the system, but only after the
app was terminated from it's 'Autostart" and then restarted.In Debian Bookworm (which I am migrating to) that doesn't work.
I was hoping there was a command line argument that would affect the mouse, but haven't found that either.
Obviously I can't re-compile this commercial application, so.......Can someone please tell me if there are configuration files that I can edit to resolve this
or by any other meansRegards
-
Hi All
Have searched for the correct place to post this, so if wrong please correct me.I am using an application that was developed in Qt6 for the 4WD market.
Basically it allows the user to plot routes along 4wd tracks and follow them.
The app is on an industrial PC, mounted in the vehicle with an 11" lcd.Their main target audience is Windows & iOS.
However they ported the utility to Linux but refuse to offer support for it,
So I am looking to solve a problem with the mouse cursor size, which is minuscule
and rejects all attempts to grow it's size.The hours of googling seem to all come back to "export XCURSOR_SIZE=48" for example.
In Ubuntu 20.04 I managed to get the same size cursor as the system, but only after the
app was terminated from it's 'Autostart" and then restarted.In Debian Bookworm (which I am migrating to) that doesn't work.
I was hoping there was a command line argument that would affect the mouse, but haven't found that either.
Obviously I can't re-compile this commercial application, so.......Can someone please tell me if there are configuration files that I can edit to resolve this
or by any other meansRegards
Hi and welcome to devnet,
Are you sure you are using Xorg with Bookworm ?
-
wrote on 11 Jun 2023, 20:03 last edited by
@SGaist
Thank you and for the reply.echo $XDG_SESSION_TYPE x11
I had already disabled Wayland because of it's incompatibility with osd_cat
Regards
-
@SGaist
Thank you and for the reply.echo $XDG_SESSION_TYPE x11
I had already disabled Wayland because of it's incompatibility with osd_cat
Regards
wrote on 11 Jun 2023, 23:05 last edited byHi All
Qt6 was not installed on my machine, as all the qt6 files and folders were in the application folder.
So, I installed Qt6ct (and it's associated libraries) and tried setting the theme different.
However it did not change the problem.
qt6ct does report that QT_QPA_PLATFORMTHEME was not set, however printing the env shows it is set ??Regards
-
Hi All
Qt6 was not installed on my machine, as all the qt6 files and folders were in the application folder.
So, I installed Qt6ct (and it's associated libraries) and tried setting the theme different.
However it did not change the problem.
qt6ct does report that QT_QPA_PLATFORMTHEME was not set, however printing the env shows it is set ??Regards
wrote on 12 Jun 2023, 07:46 last edited byIn the hope that being able to change the theme in Qt6ct will allow a larger mouse pointer,
I have put 'export QT_QPA_PLATFORMTHEME=qt6ct'
in as many places as I could find.
Debian manual says ~/.profile
then also;
/config/qt6ct/qt6ct.conf
/etc/environment
/etc/environment.d/90qt-a11y.confIt is in all of them and when printing env it shows the variable set.
Running qt6ct still comes up with the error that the environment variable is not set.
Have checked and double checked the spelling to no avail.
So, Qt must not be reading the environment, because when I do it from within one of my applications, it shows.Regards
-
In the hope that being able to change the theme in Qt6ct will allow a larger mouse pointer,
I have put 'export QT_QPA_PLATFORMTHEME=qt6ct'
in as many places as I could find.
Debian manual says ~/.profile
then also;
/config/qt6ct/qt6ct.conf
/etc/environment
/etc/environment.d/90qt-a11y.confIt is in all of them and when printing env it shows the variable set.
Running qt6ct still comes up with the error that the environment variable is not set.
Have checked and double checked the spelling to no avail.
So, Qt must not be reading the environment, because when I do it from within one of my applications, it shows.Regards
Are you using a desktop environment ?
-
wrote on 13 Jun 2023, 02:51 last edited by
-
Then I would check with them about that issue.
-
wrote on 15 Jun 2023, 09:10 last edited by
Regardless of your knowledge of Qt and my lack thereof, I have to disagree with that conclusion.
I have the correct size mouse cursor in Cinnamon and when I open dozens of applications, they respect that cursor size.
Now I open my one and only Qt application and as soon as I move the cursor over
the Qt app screen, the cursor resizes. Move it back to the Cinnamon desktop and the correct size cursor re-appears.This indicates to me that Qt is dictating the cursor size.
Regards
-
Regardless of your knowledge of Qt and my lack thereof, I have to disagree with that conclusion.
I have the correct size mouse cursor in Cinnamon and when I open dozens of applications, they respect that cursor size.
Now I open my one and only Qt application and as soon as I move the cursor over
the Qt app screen, the cursor resizes. Move it back to the Cinnamon desktop and the correct size cursor re-appears.This indicates to me that Qt is dictating the cursor size.
Regards
My bad, I misunderstood your issue when using Cinnamon.
Does your application do any changes to the cursor in code ? I would guess not since it did work before, however it does sound surprising that only your application is affected.
Do you have the same issue if you build a dummy application with Qt 6 ?
Does it also happen if you use the distribution provided Qt 6 packages ? -
My bad, I misunderstood your issue when using Cinnamon.
Does your application do any changes to the cursor in code ? I would guess not since it did work before, however it does sound surprising that only your application is affected.
Do you have the same issue if you build a dummy application with Qt 6 ?
Does it also happen if you use the distribution provided Qt 6 packages ?wrote on 15 Jun 2023, 19:47 last edited by Dinosaur1946I have not written or am I knowledgeable on Qt code, so I have not modified the cursor.
Te Qt application is supplied by a third party, also the installation is a very basic Debian install, so I would have to find another 3rd party Qt app to try.EDIT: Featherpad (Qt based) has the same problem.
-
I have not written or am I knowledgeable on Qt code, so I have not modified the cursor.
Te Qt application is supplied by a third party, also the installation is a very basic Debian install, so I would have to find another 3rd party Qt app to try.EDIT: Featherpad (Qt based) has the same problem.
wrote on 19 Jun 2023, 02:13 last edited byObviously nobody here either recognises it as a Qt or problem or can solve the problem.
Account cancelled. -
Obviously nobody here either recognises it as a Qt or problem or can solve the problem.
Account cancelled.@Dinosaur1946 said in User of Qt app needs Mouse cursor size help:
Obviously nobody here either recognises it as a Qt or problem
This is user forum mainly driven by volunteers.
If you think this is a Qt bug then you should report it here: https://bugreports.qt.io/secure/Dashboard.jspa
1/13