GithubHelp home page GithubHelp logo

Comments (7)

cll008 avatar cll008 commented on September 1, 2024

Which app are you building besides Examples? The line you added is usually found in app specific CMakeLists.txt so maybe it may be missing from somewhere else.

from labstreaminglayer.

colmconn avatar colmconn commented on September 1, 2024

I used the following cmake command line: cmake .. -DLSLAPPS_Examples=ON -DLSLAPPS_LabRecorder=ON -DLSLAPPS_Benchmarks=ON -DLSLAPPS_XDFBrowser=ON -DQt5_DIR=/opt/local/lib/cmake/Qt5/

from labstreaminglayer.

cboulay avatar cboulay commented on September 1, 2024

If it were to go anywhere, the find_package(Qt5 COMPONENTS Widgets) line should probably go here:
https://github.com/labstreaminglayer/App-Examples/blob/master/CMakeLists.txt#L7

However, it shouldn't be necessary at all because none of the Examples use Qt.
@tstenner Have you encountered this before?

from labstreaminglayer.

tstenner avatar tstenner commented on September 1, 2024

This warning is harmless, but tricky to remove. Basically, we tell CMake to run moc, uic und rcc if needed. liblsl and the examples don't use Qt, so the warning says "I can't run moc, uic and rcc because you haven't imported Qt", but since it's not needed everything still builds.

We can't get rid of the warning, because by the time we find out an app uses Qt it's too late and we can't import Qt by default because then the warning would complain about Qt not being found.

from labstreaminglayer.

cboulay avatar cboulay commented on September 1, 2024

@tstenner , Any objections to adding QUIET to the find_package arguments?

from labstreaminglayer.

tstenner avatar tstenner commented on September 1, 2024

Any objections to adding QUIET to the find_package arguments?

Yes, it wouldn't work :-)

The most promising solution is to require apps to set the CMAKE_AUTO* variables themselves, so I added them in all apps in the repository.
After a grace period, we can drop them from LSLCMake.cmake.

from labstreaminglayer.

tstenner avatar tstenner commented on September 1, 2024

I found a different solution (sccn/liblsl@dfa0fbd).

from labstreaminglayer.

Related Issues (20)

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.