Can't make NetworkManagerQt work.
-
Hello,
I have a problem activating the NetworkManagerQt in Qt 6.4. My S.O is Manjaro.
I have installed NetworkManager and NetworkManager-qt. When I execute the this command:locate networkmanager
I can see that networkmanagerqt can be found under the directory /usr/include/KF5/NetworkManagerQt.
But this is when I get stuck. I don't know how to add NetworkManagerQt to my project. If I simply try to add a header (e.g: #include <NetworkManagerQt/AccessPoint>), I get the "file not found" error. I've tried to add in my .pro file the following lines:LIBS += -lNetworkManagerQt CONFIG += link_pkgconfig PKGCONFIG += networkmanager-qt
But doesn't seem to solve anything, the error persist. Plus, when trying to add the third line, I get the error: ":-1: error: Project ERROR: networkmanager-qt development package not found", which seems unfixable because I can't find a way to install networkmanager-qt development package.
Any help on how to solve this or where I can find more information is really appreciated.
Thanks to all in advance.
-
According to the manjaro package list there is no Qt6 version of networkmanager-Qt available yet so you either can't use it or use Qt5.
-
According to the manjaro package list there is no Qt6 version of networkmanager-Qt available yet so you either can't use it or use Qt5.
@Christian-Ehrlicher Thank you for the response. I'm pretty new to manjaro, so I didn't know that website existed. It'll come in handy in the future! Thanks again.