[Qt5] Project doesn't start when trying to instance QtQmlBot #78
ruudschouten
started this conversation in
General
Replies: 1 comment 1 reply
-
I get the same error. Did you find a solution? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've have installed AnyRPC and Spix, and have added the lines specified in the readme into my .pro file;
Building and running this by itself works fine, and doesn't produce any errors.
When I create a
spix::AnyRpcServer
instance with the default port, it also still works fine;but as soon as I uncomment the
auto bot = new spix::QtQmlBot();
line, I get the following errors in Qt Creator:👎 error: /usr/local/lib/libSpix.a(QtItemTools.cpp.o): in function
QByteArray::compare(char const*, Qt::CaseSensitivity) const': QtItemTools.cpp:-1: error: undefined reference to
qstrnicmp(char const*, long long, char const*, long long)'👎 error: collect2: error: ld returned 1 exit status
👎 error: [Makefile:82: mainapp] Error 1
And the following in the compile output
Any help would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions