Adding Qt Troubleshooting to developer documentation

Hello,

I’d like to know if we could add some Qt Troubleshooting steps to the developer documentation
Indeed, when launching ./run for the first time, there are often some packages missing which prevent Qt from starting. However, it is not directly indicated which packages are missing and one need to type export QT_DEBUG_PLUGINS=1 before debugging so as to know what to install.

I personally lost quite some time debugging that at first, so I think it would be useful to indicate these steps directly in development.md to help new developers who encouter that problem.

Other references : Qt: Could not load (the provided tutorial link doesn’t work : https://anki.tenderapp.com/discussions/ankidesktop/33753-could-not-load-the-qt-platform-plugin-xcb)

Sincerely,

It’s difficult to provide instructions for everyone, as the required libs will depend on the distro and distro version, but I’ve added a link to Missing Libraries - Anki Manual in development.md.

1 Like

Of course, thank you !