Comments (20)
Ahh, thanks. I'll update that as soon as I can. What versions of Akonadi are there? :)
from theshell.
There are:
- libakonadi-dev (doesn't work, have tried it)
- libkf5akonadi-dev
- libkf5akonadi-dev-bin
- libkf5akonadicalendar-dev
- llibkf5akonadicalendar-dev
- libkf5akonadimime-dev
- libkf5akonadinotes-dev
...
more
from theshell.
I think libkf5akonadi-dev should work. I'll also put on the README that if there are KDE 4 and KDE 5 libraries in the repositories, they should get the KDE 5 versions. :)
from theshell.
just rerun make with libkf5akonadi-dev but it doesn't work yet.
from theshell.
What error are you getting?
from theshell.
thewaveworker.h:30:29: fatal error: akonadi/control.h: No such file or directory
from theshell.
Does /usr/include/KF5/AkonadiCore/control.h
exist on your system?
Oh, and thanks for telling me about these depencencies. I'm horrible at tracking them. :)
from theshell.
Yes it is there.
from theshell.
OK, I worked it out. Turns out I was using KDE4 PIM libraries rather than KF5.
Could you try opening thewaveworker.h
and up the top, near the bottom of the #include
s, replace
#include <akonadi/control.h>
#include <akonadi/servermanager.h>
#include <akonadi/session.h>
with
#include <KF5/AkonadiCore/control.h>
#include <KF5/AkonadiCore/servermanager.h>
#include <KF5/AkonadiCore/session.h>
If this works for you, I'll do a commit to fix that up when my Git starts working again. :)
from theshell.
Fixed it by changing the include to include <KF5/AkonadiCore/control.h>
but there should be a better solution like a soft-link or an option for make.
from theshell.
Cool. I'll commit that change as soon as I am able to. Thanks. :)
from theshell.
I figured out some more required libs/packages:
- libxcb-utils-dev
- libxcursor-dev
but now I'm hanging at some different kind of error:
mainwindow.cpp:607:51: error: no matching function for call to ‘QAction::QAction()’ QAction* action = new QAction();
btw: can't aur tell you the required build-depencies?
from theshell.
Thanks, I'll take a look. Sorry about all the build issues.
Can you try adding #include <QAction>
at the top of mainwindow.h? You are using Qt 5, correct? :)
No, namcap
doesn't work for me. :(
from theshell.
The error suggested: QAction(QObject *parent)
and some more. I tried QAction* action = new QAction(this);
which made make work but it hung on start (I also have to install the dependencies made by you). And yes I use Qt 5.
from theshell.
Anyway I followed your suggestion and here's the full error message (same as before I did change the line):
mainwindow.cpp: In member function ‘void MainWindow::updateMpris()’:
mainwindow.cpp:607:51: error: no matching function for call to ‘QAction::QAction()’
QAction* action = new QAction();
^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmenu.h:40:0,
from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMenu:1,
from mainwindow.h:16,
from mainwindow.cpp:1:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:174:5: note: candidate: QAction::QAction(QActionPrivate&, QObject*)
QAction(QActionPrivate &dd, QObject parent);
^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:174:5: note: candidate expects 2 arguments, 0 provided
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:89:5: note: candidate: QAction::QAction(const QIcon&, const QString&, QObject)
QAction(const QIcon &icon, const QString &text, QObject* parent);
^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:89:5: note: candidate expects 3 arguments, 0 provided
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:88:5: note: candidate: QAction::QAction(const QString&, QObject*)
QAction(const QString &text, QObject* parent);
^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:88:5: note: candidate expects 2 arguments, 0 provided
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:87:14: note: candidate: QAction::QAction(QObject*)
explicit QAction(QObject* parent);
from theshell.
Can you try QAction* action = new QAction(NULL);
please? parent should be an optional parameter, but for some reason your system doesn't like it.
from theshell.
I checked the Qt documentation which says it's not optional (might have changed during some versions, I have Qt5.6.1)
from theshell.
Hmm... In my QAction header, I have explicit QAction(QObject *parent = nullptr);
Either way, I think I might initialize my QAction objects from now on. (Qt 5.7, but definitely had no problems when I was usinig Qt 5.6) Thanks :)
Does it build now? :)
from theshell.
Build runs with both the QAction(this)
and QAction(NULL)
.
from theshell.
Thanks. I'll push commits with the changes as soon as I can. :)
from theshell.
Related Issues (20)
- Configure- System Setting Module - Desktop Effect doesn't respect theme style. HOT 6
- Hovering on volume bar actually lowers the volume HOT 4
- Display scaling doesn't apply to apps HOT 1
- translation not there HOT 2
- Segmentation fault when opening HOT 7
- Where is mouse settings? HOT 1
- Many battery power notifications whenever the computer is on AC HOT 4
- How to DualBoot HOT 2
- Some kind of green notification gets spawned endlessly upon start HOT 1
- Screen resolution HOT 1
- Some basic shortcuts and panel customization would prolly be really useful. HOT 1
- Not good resolutions HOT 8
- Translation documentation HOT 6
- Translation page problem HOT 3
- []Packaging HOT 1
- This. HOT 2
- Startup/autostart not working HOT 13
- Arch Linux: Multiple errors during compilation HOT 7
- Display resolution
- memory issue HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from theshell.