This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

how to use codec engine APIs in QT project

Hello

In our project,we use QT to design  UI applications on arm side,and  use CODEC ENGINE to communicate with DSP, which XDC is used.

First,i can build the QT4.6.2 with the DVSDK/linux-devkit ,but when i add the ./configure -qt-mouse-tslib ...,the build output

"tslib auto-detection... ()
/usr/local/arm/arm-2008q1/bin/arm-none-linux-gnueabi-g++ -c -pipe   -Wall -W  -I/home/ema/dvsdk_4_00_00_17/linux-devkit/arm-none-linux-gnueabi/usr/share/qtopia/mkspecs/linux-g++ -I. -I/usr/local/tslib/include -o tslib.o tslib.cpp
/usr/local/arm/arm-2008q1/bin/arm-none-linux-gnueabi-g++  -o tslib tslib.o    -L/usr/local/tslib/lib -lglib-2.0 -lts
/usr/local/arm/arm-2008q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lglib-2.0
collect2: ld returned 1 exit status
make: *** [tslib] Error 1
tslib disabled.
The tslib functionality test failed!
 You might need to modify the include and library search paths by editing
 QMAKE_INCDIR and QMAKE_LIBDIR in
 /home/ema/dvsdk_4_00_00_17/linux-devkit/arm-none-linux-gnueabi/usr/share/qtopia/mkspecs/default."

And i can confirm the QMAKE_INCDIR and QMAKE_LIBDIR  is right in the file.

But if i don't use the DVSDK, I can add the tslib into QT4.6.2.So i want to know

whether the DVSDK support TSLIB?and how to solve.

Second ,if when I create a UI project ,the QT will  generate a makefile,which we use to make a application .i also can get the right compiler.opt and linker.cmd use the xdc tools .

so the question is how to add these two file into the Makefile of the UI project?

 

  • Baomin,

    This thread was moved to the BIOS forum because of your reference to "Codec Engine"; however, it appears to be a generic Linux question.  I have moved this thread to the Linux forum in hopes that it will get a faster response there.

    Dave

  • DAVE

          Thanks!

         I will look forward to the responses.

  • baomin li87233 said:
    whether the DVSDK support TSLIB?and how to solve.

    Which device are you trying? QT in the DVSDK maybe built without TSLib for that device.

    baomin li87233 said:

    Second ,if when I create a UI project ,the QT will  generate a makefile,which we use to make a application .i also can get the right compiler.opt and linker.cmd use the xdc tools .

    so the question is how to add these two file into the Makefile of the UI project?

    You need to include linker.cmd and any .a files in the .pro file. The Signal Analyzer demo for DM816x device is one example of this. You can download the signal analyzer demo at https://gforge.ti.com/gf/download/frsrelease/626/4922/signal-analyzer-demo_1_00_00_12.tar.gz to look at the .pro file.