Hi All,
We have been working on Qwt graphs and would like to deploy the application on AM335x EVM.
As for desktop applications, we installed Qwt to run chart applications on ubuntu desktop.
Below were the step we followed:
1. Set QMAKESPEC in .bashrc : QMAKESPEC=/opt/Qt5.0/5.0.0/gcc/mkspecs/linux-g++-32
2. Set qmake path in .bashrc (this qmake is from qt5.0 Desktop installation) : export PATH=$PATH:/opt/Qt5.0/5.0.0/gcc/bin
3. Ran qmake in terminal to generate makefile: qmake qwt.pro
4. Installed qwt and relative libraries: make && make install
5. Ran sample binaries(x86) and created chart projects in qtcreator by adding Qwt libraries in project.
As for running Qt sample applications, we are able to cross-compile them and have run on board by doing below steps:
1. Set qmake in .bashrc (this qmake is from sitara, lets call it qmake-arm) to /home/ti-sdk/linux-devkit/bin
2. Set QMAKESPEC in .bashrc : /home/ti-sdk/linux-devkit/arm-arago-linux-gnueabi/usr/include/qtopia/linux-g++
3. source environment-setup
4. qmake-arm -QtProject
5. make
6. Got ARM executable file and successfully ran the same on board.
But to run Qwt chart projects, we need to install its libraries by using "qmake" of sitara. Makefile is being created
after running: qmake-arm -qwt.pro
but running "make" command leads us to make error and displaying below message:
root@cts-desktop:/home/cts/Desktop/arm/qwt-6.1.0-rc2# qmake qwt.pro
root@cts-desktop:/home/cts/Desktop/arm/qwt-6.1.0-rc2# qmake
root@cts-desktop:/home/cts/Desktop/arm/qwt-6.1.0-rc2# make
output:
cd src/ && /home/cts/ti-sdk-am335x-evm-05.05.00.00/linux-devkit/bin/qmake /home/cts/Desktop/arm/qwt-6.1.0-rc2/src/src.pro -o Makefile
cd src/ && make -f Makefile
make[1]: Entering directory `/home/cts/Desktop/arm/qwt-6.1.0-rc2/src'
compiling qwt_abstract_scale_draw.cpp
/bin/sh: -c: not found
make[1]: *** [obj/qwt_abstract_scale_draw.o] Error 127
make[1]: Leaving directory `/home/cts/Desktop/arm/qwt-6.1.0-rc2/src'
make: *** [sub-src-make_default-ordered] Error 2
---> In simple words qmake of Qt5.0-sdk is working fine with Qwt-charts, but qmake of sitara doesn't.
In addition, could anyone tell about the qt version with sitara SDk? Any help will be greatly appreciated..
Regards,
Nitin