Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Problem building Qt 5.4.2 to embedded linux
Qt 6.11 is out! See what's new in the release blog

Problem building Qt 5.4.2 to embedded linux

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • maikeloM Offline
    maikeloM Offline
    maikelo
    wrote on last edited by A Former User
    #1

    Hello,

    This is my first time in this forum and sorry for my English, it isn't my native language.

    I'm trying to build Qt for a custom embedded linux on an intel NUC and I'm getting some problems.

    My steps were:

    ./configure -release -opengl es2 -device linux-d6cx-g++ -device-option CROSS_COMPILE=/home/pf/ssdk-d6cx/host/usr/bin/x86_64-buildroot-linux-gnu- -sysroot /home/pf/ssdk-d6cx/host/usr/x86_64-buildroot-linux-gnu/sysroot -prefix /usr/local/qt5.4-d6cx -opensource -confirm-license -v -qt-xcb -nomake examples 
    

    after that,

    sudo make -j2
    

    and here I'm getting the problem. I got an Illegal instruction (core dumped) when trying to update assistant_da.qm

    I pasted the output below:

    ...
    ...
    make[1]: Entering directory `/home/pf/qt5/qtscript'
    cd src/ && ( test -e Makefile || /home/pf/qt5/qtbase/bin/qmake /home/pf/qt5/qtscript/src/src.pro -o Makefile ) && make -f Makefile 
    make[1]: Entering directory `/home/pf/qt5/qttranslations'
    cd translations/ && ( test -e Makefile || /home/pf/qt5/qtbase/bin/qmake /home/pf/qt5/qttranslations/translations/translations.pro -o Makefile ) && make -f Makefile 
    make[2]: Entering directory `/home/pf/qt5/qtscript/src'
    cd script/ && ( test -e Makefile || /home/pf/qt5/qtbase/bin/qmake /home/pf/qt5/qtscript/src/script/script.pro -o Makefile ) && make -f Makefile 
    make[2]: Entering directory `/home/pf/qt5/qttranslations/translations'
    QMAKE=/home/pf/qt5/qtbase/bin/qmake /home/pf/qt5/qttools/bin/lrelease assistant_da.ts -qm assistant_da.qm
    Updating 'assistant_da.qm'...
    Illegal instruction (core dumped)
    make[2]: *** [assistant_da.qm] Error 132
    make[2]: Leaving directory `/home/pf/qt5/qttranslations/translations'
    make[1]: *** [sub-translations-make_first] Error 2
    make[1]: Leaving directory `/home/pf/qt5/qttranslations'
    

    I had done some search to see is someone had have this problem before but I have found nothing.

    I thought that a possible way to bypass this problem is build Qt without the tools (I don't need its) and I did that but I got other problems whit a libQt5Designer that wasn't found.... that problem was when I did "sudo make install". so I come back to the first configuration.

    Could someone help me to solve that error?

    Thank you so much in advance!!

    So

    1 Reply Last reply
    0
    • maikeloM Offline
      maikeloM Offline
      maikelo
      wrote on last edited by
      #2

      I found for myself a way to build qt for that device. I couldn't solve the error I got, but I bypass it. What I did was skip the modules qttools, qttranslations, qtdocs, qtscript, and qtquick1 in the configure. With that configuration I don't get any more the error.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved