kurtpattyn / qtsocketio Goto Github PK
View Code? Open in Web Editor NEWsocket.io implementation in Qt
License: GNU Lesser General Public License v2.1
socket.io implementation in Qt
License: GNU Lesser General Public License v2.1
Compiling the project source throws the following message:
F:\QtSocketIo-master\src\socketio\qcallback.h:23: error: C2143: syntax error : missing ',' before '...'
It seems like the errors point to many instances like template <typename...> in qcallback.h where there are three dots in the brackets. Is it kinda new feature of C++? Thanks!
BTW: I'm using QtCreator 3.2.1 with VS2010 x64 compiler.
I have built the module with:
qmake
make
make install
However when I try to build my project using QSocketIo I receive alot of error messages in:
/usr/include/qt/QtSocketIo/qcallback.h:58: error: 'decltype' has not been declared
template static char test(decltype(&Func::operator()));
Other errors include:
/usr/include/qt/QtSocketIo/qcallback.h:58: error: 'decltype' has not been declared
template static char test(decltype(&Func::operator()));
^
/usr/include/qt/QtSocketIo/qcallback.h:70: error: '&' cannot appear in a constant-expression
enum { argument_count = function_traits<decltype(&Function::operator())>::argument_count };
^
I also get alot of warnings relating to c++ 11 only features.
I'm using Qt Creator 3.2.1(MSVC 2010, 32bit) to open the project file socketio.pro.
But got the following Error message from Qt Creator:
Error while parsing file F:/QtSocketIo-master/src/imports/qmlsocketio/qmlsocketio.pro. Giving up.
Error while parsing file F:/QtSocketIo-master/src/socketio/socketio.pro. Giving up.
Project ERROR: Unknown module(s) in QT: socketio
Project ERROR: Project has no top-level .qmake.conf file.
Project ERROR: Module does not define version.
Project ERROR: Unknown module(s) in QT: socketio
Been looking for a Qt socket.io client without all the additional unnecessary dependencies and this project is a perfect fit!
However, it doesn't appear to support socket.io 2.0? Last commit is ~4 years ago so I'm wondering if it is maintained at all?
Hi,
Does this support socket.io 1.0 version or above? http://socket.io/
I want to implement mobile client with Qt and QML for SailfishOs. Sailfish using Qt5.2 currently and I was checking your QtSocketIo if I could use it. Server is implemented with node.js and I cannot much affect that implementation.
Br
-Samuli
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.