Comments (8)
update: This should not be packaging problem. The same problem happens when using bundled files in generated/
directory.
from qevercloud.
"undefined reference to vtable" usually occurs when there's some pure virtual method left unimplemented. Or its implementation didn't make it into the final binary.
First I'd like you to see what happens if you try to link nixnote2
to the vanilla QEverCloud library, without Debian patches at all, to understand whether the bug belongs to the vanilla version or to patches.
from qevercloud.
FWIW, I regulaly test the changes to QEverCloud via a NotePoster test app + one more app which I haven't open-sourced yet. I've never seen such symbols problem there.
from qevercloud.
It looks like only a few symbols could not be found (related to OAuth and
Exception). If the example project don't use them them maybe there won't be
errors. I'm not sure. Will dig into it later.
在 2016年9月7日週三 12:50,Dmitry Ivanov [email protected] 寫道:
FWIW, I regulaly test the changes to QEverCloud via a NotePoster
https://github.com/d1vanov/QEverCloud-example-NotePoster test app + one
more app which I haven't open-sourced yet. I've never seen such symbols
problem there.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#6 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIDYFkOjhyGIQXkgvDlNBxwcX_IbMsShks5qnkKUgaJpZM4J2hMe
.
from qevercloud.
The example project does use OAuth, otherwise it won't be able to communicate with Evernote servers 😃 It doesn't use the exceptions directly though.
from qevercloud.
In the build log you attached I don't actually see the linkage to QEverCloud library at all:
-L/usr/X11R6/lib64 -lhunspell -lcurl -L/usr/lib -lpoppler-qt5 -g -rdynamic -lQt5PrintSupport -lQt5WebKitWidgets -lQt5Widgets -lQt5WebKit -lQt5Gui -lQt5Network -lQt5Sql -lQt5Xml -lQt5DBus -lQt5Core -lGL -lpthread
I'd say that should explain the undefined references you have. Try to add the linkage to QEverCloud library into the NixNote.pro file:
greaterThan(QT_MAJOR_VERSION, 4) {
QT += core gui widgets printsupport webkit webkitwidgets sql network xml dbus
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
INCLUDEPATH += /usr/include/poppler/qt5
LIBS += -lhunspell -lcurl \
-lpthread -L/usr/lib -lpoppler-qt5 -lqt5qevercloud -g -rdynamic
}
equals(QT_MAJOR_VERSION, 4) {
QT += core gui webkit sql network xml
INCLUDEPATH += /usr/include/poppler/qt4
LIBS += -lhunspell -lcurl \
-lpthread -L/usr/lib -lpoppler-qt4 -lqt4qevercloud -g -rdynamic
}
from qevercloud.
Yes you are right, silly me. Things are working well now.
在 2016年9月7日週三 15:24,Dmitry Ivanov [email protected] 寫道:
In the build log you attached I don't actually see the linkage to
QEverCloud library at all:
-L/usr/X11R6/lib64 -lhunspell -lcurl -L/usr/lib -lpoppler-qt5 -g -rdynamic
-lQt5PrintSupport -lQt5WebKitWidgets -lQt5Widgets -lQt5WebKit -lQt5Gui
-lQt5Network -lQt5Sql -lQt5Xml -lQt5DBus -lQt5Core -lGL -lpthread
I'd say that should explain the undefined references you have. Try to add
the linkage to QEverCloud library into the NixNote.pro
https://github.com/hosiet/nixnote2/blob/debian/NixNote2.pro file:greaterThan(QT_MAJOR_VERSION, 4) {
QT += core gui widgets printsupport webkit webkitwidgets sql network xml dbus
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
INCLUDEPATH += /usr/include/poppler/qt5
LIBS += -lhunspell -lcurl
-lpthread -L/usr/lib -lpoppler-qt5 -lqt5qevercloud -g -rdynamic
}equals(QT_MAJOR_VERSION, 4) {
QT += core gui webkit sql network xml
INCLUDEPATH += /usr/include/poppler/qt4
LIBS += -lhunspell -lcurl
-lpthread -L/usr/lib -lpoppler-qt4 -lqt4qevercloud -g -rdynamic
}—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#6 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIDYFlDNHLNyXFQuJEEs9-ZHa6dOW1-qks5qnmaQgaJpZM4J2hMe
.
from qevercloud.
Great, closing this one then 😃
from qevercloud.
Related Issues (15)
- Try to find a way to avoid the dependency on QtWebKit / QWebEngine for OAuth HOT 1
- Add force QtWebkit / QtWebEngine options HOT 5
- Seeking for ways to regenerate `src/generated/*` files HOT 9
- Libraries should be symlinked HOT 2
- building PDF documentation would cause FTBFS HOT 8
- Capitalisation in SONAME HOT 3
- QEverCloud library in Debian official repository HOT 2
- Support Evernote cloud API v1.29 HOT 1
- Request timeout doesn't seem to work HOT 6
- Consider generating types as QObject subclasses with data members declared as Q_PROPERTY HOT 3
- Remove Q_NAMESPACE and Q_ENUM_NS usage HOT 1
- Stop using global instance of QNetworkAccessManager HOT 3
- Use QRandomGenerator instead of qrand when building against Qt >= 5.10
- Future release features
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 qevercloud.