Giter Site home page Giter Site logo

lemirep / qtleapmotionlibrary Goto Github PK

View Code? Open in Web Editor NEW
24.0 24.0 13.0 3.91 MB

Qt LeapMotion library adding inputs and gestures to a Qt application

License: GNU General Public License v3.0

QMake 2.88% C++ 70.03% C 0.49% IDL 5.36% Makefile 16.42% QML 4.82%

qtleapmotionlibrary's People

Contributors

diro avatar lemirep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

qtleapmotionlibrary's Issues

Running QtLeapMotionLibrary does not initialize Leap controller

I just compiled your program on Qt 5.2.1 Linux x64, but when running the application all I get is a light blue screen, and none of the lights on the Leap controller are on. I have verified with the Leap Control Panel that it indeed works, I did a calibration and it responds perfectly.

Any idea what could be wrong?

Cannot run QTLeapMotionLibrary on Window

Dear Mr.paullemire
I followed your instruction in README file. However, I couldn't build your project on Qt.
I got the error message as follows:
C1083: Cannot open include file: 'QtLeapGlobal/QtLeapGlobal.h': No such file or directory
Although the file already existed, Qt still informed the bugs.
Plz help you to fix the bug!
Thank you so much for your generosity!

Building QtLeapMotionLibrary

Hi
I'm testing your QtLeapMotionLibrary at the moment.
I was faced with the following issues.
LeapSDK include path:
I suggest that you should add some kind of global LeapSDK path variable to your main project file. From there it would be much easyer to find the include path and the library path.

Adding librarys to your projectfile should be done this way:
LIBS += -L -l
e.g.
LIBS += -L/usr/local/LeapSDK/lib/x86 -lLeap

This line is not working:
linux-g++-32 {
LIBS += -L/usr/local/LeapSDK/lib/x86 -lLeap
LIBS += $$PWD/Leap/x86/libLeap.so
install_folder.files += $$LIBS
}

It never reaches the LIBS settings. My machine is a 32bit x86
It would be better if you would use "unix {" instead.

Cheers
Juergen

Better to include the main.qml to a resource file.

Hi

Add main.qml to a resource file.
In this case there will be no hassle with the deployment.

this->setSource(QUrl("qrc:/qml/main.qml"));

Maybe it would be better to split the project in two seperate project. Library and Test program.

Cheers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.