Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Can't make NetworkManagerQt work.
Forum Updated to NodeBB v4.3 + New Features

Can't make NetworkManagerQt work.

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 609 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • supergS Offline
    supergS Offline
    superg
    wrote on last edited by superg
    #1

    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.

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      supergS 1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher

        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.

        supergS Offline
        supergS Offline
        superg
        wrote on last edited by
        #3

        @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.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved