-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ldd not finding libqgtk2 platform theme. #350
Comments
Thanks for reporting. Where is your Qt 5.12.1 coming from? Where is your |
Hi, |
Hi, I had the same problem when I use linuxdeployqt 6. I built my Qt 5.9.7 in docker and it won't build libqtgtk2style.so. When I checked my downloaded Qt(5.9.2) that works well with older linuxdeployqt 5, it doesn't have libqtgtk2style.so neither. I suppose the newest linuxdeployqt searching wrong *.so? |
How exactly are you invoking |
Hi, |
Does the file |
If it does not exist yet, what happens if you do
before invoking |
No, only gtk3 versions seems to be installed with newer Qt.. . Funny thing is that I did not have this problem last year |
Please see whether this version resolves it: |
Thanks! As soon as I get home after work I'll try! |
With that version i get this warning:
However, Appimage generated works in my pc. |
Thanks for testing. If you want it to look properly, you still should do |
I also have the same issue. Any way to resolve it? == UPDATE == |
Unfortunately I was wrong. I got Segmentation fault error. At fist place I thought it's my mistake but looks like it was not. Please let me if you can find a workaround. |
Please try #355 (comment). The segfault may be unrelated to the gtk warnings. |
Thanks bro,you solved my problem。 |
Unfortunately, compilation of the qtstyleplugins with gtk2.0 fails and I get (Qt 5.15.2):
where this seems to be the solution: https://forums.freebsd.org/threads/qt5-style-plugins-patch-to-install-with-qt-5-15-0.76084/ So obviously, setSystemPalette() moved from QApplicationPrivate:: to QApplication:: namespace. Any ideas? |
@bohning which system are you compiling this on? And using which Qt version from where? |
@probonopd This was on Appveyor CI, Ubuntu 16.04, pre-installed Qt 5.15.2. See the console output here. Thanks for your response and taking the time. |
Are you using the 5.15.2 source code for qtstyleplugins? |
Ah, now I see the problem. I simply followed your proposed solution and this is probably wrong. How would I get the 5.15.2 source code of the qtstyleplugins on AppVeyor? |
Err, looking at https://code.qt.io/cgit/qt/qtstyleplugins.git/ there seem to have been no changes in years, so that's probably not the issue. Sorry! Maybe it doesn't compile on 5.15.2 anymore? Can you try with e.g., Qt 5.9, just to be sure? |
Yes, that’s where I just looked and came to the same conclusion. With Qt 5.9 it compiles just fine. |
Sounds like an issue with qtstyleplugins then? Maybe you'd like to open an issue at https://bugreports.qt.io/? |
Hi,
This may be related to #338.
I have an Ubuntu Trusty just for building Appimages, and i've installed Qt 5.12 there. However, when running linuxdeployqt, i have this:
How can i fix this? should i use older Qt??
The text was updated successfully, but these errors were encountered: