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.

[参考译文] Linux/OMAP-L138:端口 Qt 至 OMAPL138

Guru**** 2616675 points

Other Parts Discussed in Thread: LINUXSDK-OMAPL138, OMAP-L138

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/650721/linux-omap-l138-port-qt-to-omapl138

器件型号:OMAP-L138
主题中讨论的其他器件:OMAPL138LINUXSDK-OMAPL138

工具/软件:Linux

我使用的是 OMAPL138 LCDK (TMDSLCDK138)、PROCESSOR-SDK-LINUX_OMAPL138 04_01_00_06。

如此处所述   OMAP-L138 器件不支持 e2e.ti.com/.../2256363 Qt。

我有几个问题:

1) 1)手动将 Qt5或至少 Qt4移植到不支持 GUI 的 OMAPL138是否真实(仅需要 QtCore 和 QtNetwork)?  

2) 2) 手动将 Qt5或至少 Qt4移植到具有 LinuxFB 上 GUI 支持的 OMAPL138是否真实?

3) Qt 支持在古 LINUXSDK-OMAPL138 http://www.ti.com/tool/linuxsdk-omapl138中提供 。 在较新版本的 SDK 中放弃 Qt 支持的原因是什么?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    是的、您应该自行移植 qt。

    我不知道为什么在 OMAP-L138的最新 TISDK 上放弃对 QT 的支持。

    此致、
    Yordan
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    如果它有助于任何身体...

    我将 Qt 5.5.1移植到此平台、但没有 GUI、只有 QtCore、QtNetwork 和 Qt d-bus。  

    我已经测试了具有网络功能的简单应用程序(Qt Fortune Server 示例和 Fortune Client 示例)。 并非所有 Qt 特性都已经过测试。

    任何评论都是有用的。

    QT mkspec:

    Makefile_generator = UNIX
    配置 += incremental
    qmake_incremental = subib
    
    include (./common/linux.conf)
    include (./common/gcc-base-unix.conf)
    include (./common/g) include (.+-UNIX.conf
    
    )#修改了 g++.conf
    qmake_CC = arm-linux-gnueabi-gcc
    qmake_CXX = arm-linux-gnueabi-g++
    qmake_link = arm-linux-gnueabi-g++
    qmake_link_shLIB = arm-linux-gnueabi-g++
    
    修改 linux.conf
    qmake_ar = arm-linux-gnueabi-ar cqs
    qmake_objcopy = arm-linux-gnueabi-objcopy
    qmake_nm = arm-linux-gnueabi-nm -P
    qmake_strip = ARM-Linux-gnueabi-strip
    
    Compiler_flags =-March = armv5e -marm
    
    qmake_CFLAGS +=$${Compiler_flags}
    qmake_CXXFLAGS +=$${Compiler_flags}
    
    load (qt_config) 

    QT 配置:

    $QT_SRC_PATH/configure \
    -release \
    xplatform linux-arm-ti-gnueabi-g++\
    -sysroot $target_ROOTFS \
    -no-gcc-sysroot \
    -extrefix $target_install_SYSROOT \
    -hostprefix $host_install_SYSROOT \
    -opensource \
    -confirme-license \
    详细\
    -qt-zlib \
    -nomake 示例\
    -nomake 测试\
    -no-largefile \
    不可访问性\
    -no-SQL-DB2 \
    -no-SQL-IBASE \
    -no-sql-mysql \
    -no-SQL-OCI \
    -no-SQL-ODBC \
    -no-sq-psql \
    -no-SQL-SQLite \
    -no-sqlite2 \
    -no-SQL-TDS \
    -no-sse2 \
    -no-QML-debug \
    -mtdev \
    -no-journald \
    -no-gif \
    -no-libpng \
    -no-libjpeg \
    -qt-freeType \
    -no-harfbuzz \
    -no-openssl \
    -no-libproxy \
    -qt-pcre \
    -no-xkbcommon-evdev \
    -no-xinput2 \
    -no-xcb-xlib \
    -no-glib \
    -no-PulseAudio \
    -no-alsa \
    -no-gtkStyle \
    -no-GUI \
    -no-widget \
    -无杯子\
    -no-iconv \
    -no-evdev \
    -no-tlib \
    -no-ICU \
    -no-fontconfig \
    dbus \
    -no-xcb \
    -no-eglfs \
    -no-kms \
    -no-DirectFB \
    -no-linuxfb \
    -no-OpenGL \
    -no-libinput \
    -no-gstreamer \
    跳过 qt3d \
    -跳过 qtcanvas3d \
    跳过 qtmultimedia \
    跳过 qtquickcontrol\
    跳过 qtwebchannel \
    -跳过触感应 qt \
    跳过 qtandroidextras \
    跳过 qtdeclarative \
    跳过 qtimageformats \
    -跳过 qtmacextras \
    跳过 qtserialport \
    跳过 qtx11extras \
    跳过 qtxmlpatterns \
    跳过 qtconnectivity \
    跳过 qtdoc \
    -跳过 qtenginio \
    跳过 qtgraphicaleffects \
    跳过 qtlocation \
    -跳过 qtsensors \
    跳过 qttools \
    跳过 qttranslations \
    -跳过 qtwayland \
    跳过 qtwebchannel \
    -跳过 qtwebengine \
    跳过 qtwebkit \
    跳过 qtwebsockets \
    -跳过 qtwinextras \
    跳过 qtsvg \
    跳过 qtscript