Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7582703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:30:01+00:00 2026-05-30T18:30:01+00:00

I am trying to build some KDE software I am writing in KDevelop but

  • 0

I am trying to build some KDE software I am writing in KDevelop but am getting these errors:

CMakeFiles/kquickformat.dir/deviceinfo.o: In function `QList<Solid::Device>::node_destruct(QList<Solid::Device>::Node*, QList<Solid::Device>::Node*)':
/usr/include/QtCore/qlist.h:418: undefined reference to `Solid::Device::~Device()'
CMakeFiles/kquickformat.dir/deviceinfo.o: In function `DeviceInfo':
/home/kemra102/projects/KDE/kquickformat/src/deviceinfo.cpp:5: undefined reference to `Solid::DeviceNotifier::instance()'
/home/kemra102/projects/KDE/kquickformat/src/deviceinfo.cpp:7: undefined reference to `Solid::Device::listFromType(Solid::DeviceInterface::Type const&, QString const&)'
CMakeFiles/kquickformat.dir/deviceinfo.o: In function `DeviceNotifier':
/usr/include/KDE/Solid/../../solid/devicenotifier.h:42: undefined reference to `vtable for Solid::DeviceNotifier'
CMakeFiles/kquickformat.dir/deviceinfo.o: In function `~DeviceNotifier':
/usr/include/KDE/Solid/../../solid/devicenotifier.h:42: undefined reference to `vtable for Solid::DeviceNotifier'

The relevant code is as follows:

#include "deviceinfo.h"

DeviceInfo::DeviceInfo(Solid::DeviceNotifier *parent)
{
  Solid::DeviceNotifier *notifier = Solid::DeviceNotifier::instance();

  QList<Solid::Device> list =  Solid::Device::listFromType(Solid::DeviceInterface::StorageDrive, QString());
}

and

#ifndef DEVICEINFO_H
#define DEVICEINFO_H

#include <QList>
#include <QString>
#include <Solid/Device>
#include <Solid/DeviceNotifier>
#include <Solid/StorageDrive>

class DeviceInfo : public Solid::DeviceNotifier
{
  public:


  private:
    DeviceInfo(Solid::DeviceNotifier *parent=0);
    Solid::DeviceNotifier* notifier;
    QList<Solid::Device> list;
};

#endif

I definitely have the libraries installed and can see them on my file system, so I cannot understand why Kdevelop refuses to build it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T18:30:02+00:00Added an answer on May 30, 2026 at 6:30 pm

    Did you tell CMake to link those libraries? I believe you can use the “${SOLID_LIBS}” var, like so:

    target_link_libraries(... ${SOLID_LIBS} ...)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to build firefox but I'm having some problems. I currently have Visual
I'm trying to build some code. Here is the error I'm getting: main.o: In
I'm trying to build some objects to make my life a bit easier, but
I am trying to build some simulation software using makefile provided by them after
I am trying to build some software on a brand new install of CentOS
I'm trying to build some of our software, which was designed to run solely
I'm trying to build some functionality for a project, but I'm stuck with this:
I'm trying to build some .ascx controls into a class library for plugins for
At the moment I'm trying to build some integration tests for an android project.
I am starting to I am learning scala, and trying to build some simple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.