- Edited
Notepadqq is not maintained upstream. It uses qt5-webkit which is also unmaintained upstream and insecure. This is why notepadqq was removed from the repo. Qt5 and its libraries will be removed from Solus over time as applications in the repo migrate to Qt6 so even if you get it to build, its not going to continue to build or run.
My advice is to not use notepadqq or if you insist, use the flatpak.
flatpak install flathub com.notepadqq.Notepadqq