Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. cross compile error
Forum Updated to NodeBB v4.3 + New Features

cross compile error

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 583 Views 1 Watching
  • 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.
  • T Offline
    T Offline
    tiagobr
    wrote on last edited by
    #1

    Hello!
    I tried to cross compile QT on ubuntu for raspberry Pi. After make install I got the following error:
    .rcc/qrc_retro_style.cpp
    .rcc/qrc_retro_style.cpp:2459:8: error: expected ‘}’ at end of input
    0xf5,0
    ^
    .rcc/qrc_retro_style.cpp:2459:8: error: expected ‘,’ or ‘;’ at end of input
    Makefile:9451: recipe for target '.obj/qrc_retro_style.o' failed
    make[3]: *** [.obj/qrc_retro_style.o] Error 1
    make[3]: Leaving directory '/opt/qt5pi/qt5build/qtvirtualkeyboard/src/virtualkeyboard'
    Makefile:59: recipe for target 'sub-virtualkeyboard-install_subtargets' failed
    make[2]: *** [sub-virtualkeyboard-install_subtargets] Error 2
    make[2]: Leaving directory '/opt/qt5pi/qt5build/qtvirtualkeyboard/src'
    Makefile:58: recipe for target 'sub-src-install_subtargets' failed
    make[1]: *** [sub-src-install_subtargets] Error 2
    make[1]: Leaving directory '/opt/qt5pi/qt5build/qtvirtualkeyboard'
    Makefile:876: recipe for target 'module-qtvirtualkeyboard-install_subtargets' failed
    make: *** [module-qtvirtualkeyboard-install_subtargets] Error 2

    I dont know how to fix it. Can someone help me?

    aha_1980A 1 Reply Last reply
    0
    • T tiagobr

      Hello!
      I tried to cross compile QT on ubuntu for raspberry Pi. After make install I got the following error:
      .rcc/qrc_retro_style.cpp
      .rcc/qrc_retro_style.cpp:2459:8: error: expected ‘}’ at end of input
      0xf5,0
      ^
      .rcc/qrc_retro_style.cpp:2459:8: error: expected ‘,’ or ‘;’ at end of input
      Makefile:9451: recipe for target '.obj/qrc_retro_style.o' failed
      make[3]: *** [.obj/qrc_retro_style.o] Error 1
      make[3]: Leaving directory '/opt/qt5pi/qt5build/qtvirtualkeyboard/src/virtualkeyboard'
      Makefile:59: recipe for target 'sub-virtualkeyboard-install_subtargets' failed
      make[2]: *** [sub-virtualkeyboard-install_subtargets] Error 2
      make[2]: Leaving directory '/opt/qt5pi/qt5build/qtvirtualkeyboard/src'
      Makefile:58: recipe for target 'sub-src-install_subtargets' failed
      make[1]: *** [sub-src-install_subtargets] Error 2
      make[1]: Leaving directory '/opt/qt5pi/qt5build/qtvirtualkeyboard'
      Makefile:876: recipe for target 'module-qtvirtualkeyboard-install_subtargets' failed
      make: *** [module-qtvirtualkeyboard-install_subtargets] Error 2

      I dont know how to fix it. Can someone help me?

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi @tiagobr, welcome

      • which Qt version is that?
      • which version does the cross compiler have?
      • how does your configure command look like?

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      1
      • T Offline
        T Offline
        tiagobr
        wrote on last edited by
        #3

        Hi,

        I am using QT 5.11.

        It was a build problem I gess. I did a Make Clean / Make Install and it worked.

        Thank You!

        1 Reply Last reply
        1

        • Login

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