Coder Social home page Coder Social logo

Build dependencies about iconnconfig HOT 10 CLOSED

dehnhardt avatar dehnhardt commented on August 28, 2024
Build dependencies

from iconnconfig.

Comments (10)

dehnhardt avatar dehnhardt commented on August 28, 2024

Ok, again I broke the compatibility with QT4.8...
Qt5.2 is about 3 Years old. Do you think backward compatibility to QT4.x ist still needed? What distro are you on?

from iconnconfig.

taisto avatar taisto commented on August 28, 2024

After retrying with QT5 compilation works fine for me. I guess all it takes is an update of the build instructions.

from iconnconfig.

dehnhardt avatar dehnhardt commented on August 28, 2024

updated the buid depencencies

from iconnconfig.

MatthewGitter avatar MatthewGitter commented on August 28, 2024

$ make
g++ -c -m64 -pipe -std=c++11 -O2 -Wall -W -D_REENTRANT -DQT_DEPRECATED_WARNINGS -D__LINUX_ALSA__ -D__MIO_DEBUG__ -D__RTMIDI_DEBUG__ -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/libusb-1.0 -I. -I. -o main.o src/main.cpp
In file included from src/main.cpp:1:0:
src/iconnconfigmain.h:8:10: fatal error: QCommandLineParser: No such file or directory
#include <QCommandLineParser>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:516: recipe for target 'main.o' failed
make: *** [main.o] Error 1
$ locate QCommandLineParser
/usr/include/x86_64-linux-gnu/qt5/QtCore/QCommandLineParser

from iconnconfig.

dehnhardt avatar dehnhardt commented on August 28, 2024

@MatthewGitter Do you use QT >= 5.2?

from iconnconfig.

MatthewGitter avatar MatthewGitter commented on August 28, 2024

from iconnconfig.

dehnhardt avatar dehnhardt commented on August 28, 2024

Then everything is ok. You still need QT5.2 or later and as you clearly stated you have only4.8.x.

from iconnconfig.

MatthewGitter avatar MatthewGitter commented on August 28, 2024

from iconnconfig.

MatthewGitter avatar MatthewGitter commented on August 28, 2024

I noticed in the BUILD.md doc that I needed to install libclalsadrv-dev , so I did. I ran qmake -qt=5 ; make again (this time including the -qt=5). This time no problem (except a warning on a switch/case default fallthru) building, and it runs and finds my device. I suppose it what the -qt-5 switch to qmake that made the difference.

from iconnconfig.

dehnhardt avatar dehnhardt commented on August 28, 2024

Ok, thanks for the finding. I will add that tip that in the dependencies file,

from iconnconfig.

Related Issues (11)

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.