0

I installed Ubuntu 20.04 and updated it to 22.04 and wanted to install a Windows 7 theme onto it, so I installed KDE Plasma and tried to run the AeroThemePlasma installer. I installed all of the dependencies, but it then failed giving me the error: Dependency '/usr/lib/qt/qml/QtGraphicalEffects/qmldir' is missing.

   KDE Plasma version: 5.24.7
   KDE Frameworks Version: 5.92.0
   Qt Version: 5.15.3
   Kernel Version: 5.15.0-112-generic (64-bit)
   Graphics Platform: X11
   CPU: Intel Core i3-1115g4
   Integrated Graphics: Mesa Intel UHD Graphics

1
  • To be clear you are trying to run a Windows app in Ubuntu?
    – David
    Commented Jun 21 at 17:32

1 Answer 1

0

This may be a cause of Ubuntu being unsupported by the script, as stated in the installation instructions. However, I am getting the same error despite running on a fully-updated arch installation.

This error arises during the for-loop of line 148 in the installation script, specifically at the point where it runs command -v /usr/lib/qt/qml/QtGraphicalEffects/qmldir and gets a return code != 0. This means that qmldir is not an executable file OR simply doesn't exist (in which case it is not any sort of file).

In my case, it was that the file was not marked as executable, and I suspect your case is the same.

to fix this, you can just run the following

sudo chmod +x /usr/lib/qt/qml/QtGraphicalEffects/qmldir

and may have to do the same for the next dependency as well.

However, this does sort of raise the questions of why it is expected to be executable by the installation script to begin with...

New contributor
mistekko is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
1
  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented 59 mins ago

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .