QuasarApp / CQtDeployer

This project is used to deploy applications written using QML, qt or other С / С++ frameworks.
https://quasarapp.ddns.net:3031/docs/QuasarApp/CQtDeployer/latest/
GNU Lesser General Public License v3.0
570 stars 89 forks source link

Lack of functionality QDesktopServices #817

Closed avttrue closed 2 months ago

avttrue commented 2 months ago

Build config: KDE Neon, Qt 6.7.1 Test config KDE Neon (Wayland), KDE Neon (X11)

Greetings. I found such a problem.

How I build: cqtdeployer -bin [MyApp] -extraLibs "libb2,libxcb-cursor,libvdpau_va_gl" -enablePlugins "wayland-graphics-integration-client,wayland-graphics-integration-server" -disablePlugins "platformthemes,styles,wayland-decoration-client" -qmake ~/Qt/6.7.1/gcc_64/bin/qmake -verbose 3 >&verboselog.txt

As I understand it, something does not get into the "lib" directory. Because I copied the "plugins" directory completely from Qt. Can you tell me how to fix this problem?

Additional files: lib.txt plugins.txt ldd.txt verboselog.txt

avttrue commented 2 months ago

I'll clarify. The functionality of working with files and directories disappears. The web links are functioning.

EndrII commented 2 months ago

If it's trouble of the distribution (plugins or some else) the Qt should print error message on the application log after invoke openURL function.

Check please what happened after invoke openURL function.

avttrue commented 2 months ago

If it's trouble of the distribution (plugins or some else) the Qt should print error message on the application log after invoke openURL function.

Check please what happened after invoke openURL function.

Nothing, only my logging. "qt.multimedia.ffmpeg.libsymbolsresolver: Couldn't load VAAPI library" at start - does not affect the work of the application.

log.txt

avttrue commented 2 months ago

By the way. Just observations.

Could this have something to do with the rights in the console? Although, I use everything by default. It's about opening files/directories. No. I have now checked the launch from the console / mc - what worked, it works there.

EndrII commented 2 months ago

By the way. Just observations.

* It works from the build directory.

* Through Qt Creator - does **not** work.

* Through DistributionKit/karass.sh - does **not** work.

* Through Distribution Kit/bin/karass - it works.

Could this have something to do with the rights in the console? Although, I use everything by default. It's about opening files/directories. No. I have now checked the launch from the console / mc - what worked, it works there.

It's very weird behavior, because qt Desktop located in the GUI library that load immediately with your app.

avttrue commented 2 months ago

t's very weird behavior, because qt Desktop located in the GUI library that load immediately with your app.

I build a test application, the same story. Архив.zip

avttrue commented 2 months ago

I can upload a DistributionKit

EndrII commented 2 months ago

I can upload a DistributionKit

i run your test application. its works fine for me. OS Ubuntu 24.04 (Wayland)

Probably trouble in your OS. I can't help you with this issue, because I can't reproduce it.

One way testing for you: if you install Qt from Distribution repository, remove them. And try again. If you use Qt- corp prebuilt framework, remove them and rebuild your app with qt from repository.

We already have a one incident (QProcess) with system-depended functions of Qt. see https://github.com/QuasarApp/CQtDeployer/issues/808#issuecomment-2069508602

avttrue commented 2 months ago

I can upload a DistributionKit

i run your test application. its works fine for me. OS Ubuntu 24.04 (Wayland)

Probably trouble in your OS. I can't help you with this issue, because I can't reproduce it.

Thank you! I have now checked the Distribution Kit on KDE Neon Plasma 5 (LTS) - the problem is not reproduced i.e. everything works correctly. Initially, I was testing on Plasma 6, this is not the LTS version. I attribute this problem to a glitch in my non-LTS Plasma. Yes, I installed Qt with the standard installer.

P.S. I looked how directories are opened in the Qt Creator sources - my respect, no some QDesktopServices, etc.

avttrue commented 2 months ago

OS Feature (glitch)