Comments (10)
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.
After retrying with QT5 compilation works fine for me. I guess all it takes is an update of the build instructions.
from iconnconfig.
updated the buid depencencies
from iconnconfig.
$ 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.
@MatthewGitter Do you use QT >= 5.2?
from iconnconfig.
from iconnconfig.
Then everything is ok. You still need QT5.2 or later and as you clearly stated you have only4.8.x.
from iconnconfig.
from iconnconfig.
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.
Ok, thanks for the finding. I will add that tip that in the dependencies file,
from iconnconfig.
Related Issues (11)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iconnconfig.