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. QT5.10.1 cross compile rpi3 ubuntu 16.04 make command error

QT5.10.1 cross compile rpi3 ubuntu 16.04 make command error

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 475 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.
  • H Offline
    H Offline
    hem1
    wrote on last edited by
    #1

    I am trying to cross compile Qt 5.10.1 for rpi3 on ubuntu 16.04, i am able to run configure command succesfully but while executing make i am getting following errors, i am struggling with cross compiling thing from last one week. has anybody have any idea why i am getting these errors although i seen one post but that is unsolved the solution was not mentioned there so kindly suggest something or tell me exact procedure that anybody followed for successful compilation.

    In file included from ../../include/QtCore/qglobal.h:1:0,
    from ../corelib/global/qt_pch.h:56:
    ../../include/QtCore/../../src/corelib/global/qglobal.h:762:47: error: static assertion failed: Required feature library for file ../../include/QtCore/../../src/corelib/plugin/qlibrary.h not available.
    #define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
    ^
    ../../include/QtCore/../../src/corelib/global/qglobal.h:86:36: note: in expansion of macro 'Q_STATIC_ASSERT_X'
    #define QT_REQUIRE_CONFIG(feature) Q_STATIC_ASSERT_X(QT_FEATURE_##feature == 1, "Required feature " #feature " for file " FILE " not available.")
    ^
    ../../include/QtCore/../../src/corelib/plugin/qlibrary.h:45:1: note: in expansion of macro 'QT_REQUIRE_CONFIG'
    QT_REQUIRE_CONFIG(library);
    ^
    Makefile:27974: recipe for target '.obj/qsslsocket_opensslpre11.o' failed
    make[2]: *** [.obj/qsslsocket_opensslpre11.o] Error 1
    make[2]: Leaving directory '/home/sntd/Qt5.10.1/5.10.1/Src/qtbase/src/network'
    Makefile:273: recipe for target 'sub-network-make_first' failed
    make[1]: *** [sub-network-make_first] Error 2
    make[1]: Leaving directory '/home/sntd/Qt5.10.1/5.10.1/Src/qtbase/src'
    Makefile:48: recipe for target 'sub-src-make_first' failed
    make: *** [sub-src-make_first] Error 2

    aha_1980A 1 Reply Last reply
    0
    • H hem1

      I am trying to cross compile Qt 5.10.1 for rpi3 on ubuntu 16.04, i am able to run configure command succesfully but while executing make i am getting following errors, i am struggling with cross compiling thing from last one week. has anybody have any idea why i am getting these errors although i seen one post but that is unsolved the solution was not mentioned there so kindly suggest something or tell me exact procedure that anybody followed for successful compilation.

      In file included from ../../include/QtCore/qglobal.h:1:0,
      from ../corelib/global/qt_pch.h:56:
      ../../include/QtCore/../../src/corelib/global/qglobal.h:762:47: error: static assertion failed: Required feature library for file ../../include/QtCore/../../src/corelib/plugin/qlibrary.h not available.
      #define Q_STATIC_ASSERT_X(Condition, Message) static_assert(bool(Condition), Message)
      ^
      ../../include/QtCore/../../src/corelib/global/qglobal.h:86:36: note: in expansion of macro 'Q_STATIC_ASSERT_X'
      #define QT_REQUIRE_CONFIG(feature) Q_STATIC_ASSERT_X(QT_FEATURE_##feature == 1, "Required feature " #feature " for file " FILE " not available.")
      ^
      ../../include/QtCore/../../src/corelib/plugin/qlibrary.h:45:1: note: in expansion of macro 'QT_REQUIRE_CONFIG'
      QT_REQUIRE_CONFIG(library);
      ^
      Makefile:27974: recipe for target '.obj/qsslsocket_opensslpre11.o' failed
      make[2]: *** [.obj/qsslsocket_opensslpre11.o] Error 1
      make[2]: Leaving directory '/home/sntd/Qt5.10.1/5.10.1/Src/qtbase/src/network'
      Makefile:273: recipe for target 'sub-network-make_first' failed
      make[1]: *** [sub-network-make_first] Error 2
      make[1]: Leaving directory '/home/sntd/Qt5.10.1/5.10.1/Src/qtbase/src'
      Makefile:48: recipe for target 'sub-src-make_first' failed
      make: *** [sub-src-make_first] Error 2

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

      hi @hem1,

      which cross toolchain are you using?

      regards

      Qt has to stay free or it will die.

      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