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.

Toolchain for compiling Qt application for TDA2 board?

Other Parts Discussed in Thread: TDA2

Hello All,

I am looking for information on how to compile a Qt application for deployment on TI's TDA2 (ARM A15 based) board. In particular which toolchain should be used? I've found Qt documentation for other boards, but nothing specific to the TDA2. Any pointers on how to get started with this board would be greatly appreciated.

Regards,


Eric Gilbertson

ejg@peloton-tech.com

  • Hello,

    I am not aware with TDA2 but have you tried with CodeSourcery?
    processors.wiki.ti.com/.../Building_Qt

    BR
    Margarita
  • Here is the qmake.conf I used for the TDA2. Note, I'm still having a problem with GLES2 but I believe that is unrelated to the conf settings.

    HTH,

    Eric G.

    qmake.conf for TDA2:
    include(../common/linux_device_pre.conf)

    DISTRO_OPTS += hard-float

    QMAKE_INCDIR           += $$[QT_SYSROOT]/usr/include
    QMAKE_LIBDIR           += $$[QT_SYSROOT]/usr/lib \
                              $$[QT_SYSROOT]/lib/arm-linux-gnueabihf \
                              $$[QT_SYSROOT]/usr/lib/arm-linux-gnueabihf

    QMAKE_LFLAGS           += -Wl,-rpath-link,$$[QT_SYSROOT]/usr/lib \
                              -Wl,-rpath-link,$$[QT_SYSROOT]/usr/lib/arm-linux-gnueabihf \
                              -Wl,-rpath-link,$$[QT_SYSROOT]/lib/arm-linux-gnueabihf

    TDA2_CFLAGS           = -mtune=cortex-a15 -mfloat-abi=hard -mfpu=vfpv3-d16
    QMAKE_CFLAGS           += $$TDA2_CFLAGS
    QMAKE_CXXFLAGS         += $$TDA2_CFLAGS

    include(../common/linux_arm_device_post.conf)

    load(qt_config)
    ~