Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Cross compile Qt 4.8.5 with openssl suport

Cross compile Qt 4.8.5 with openssl suport

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 2.4k 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.
  • L Offline
    L Offline
    lifeissad
    wrote on last edited by
    #1

    Hello,

    I'm try qt4.8.5 cross compile following config
    ./configure -v -opensource -confirm-license -prefix /opt/qt -xplatform qws/linux-arm-gnueabi-g++ -embedded arm -depths all -nomake demos -nomake tools -qt-zlib -no-webkit -no-qt3support -openssl

    I see this error

    OpenSSL auto-detection... ()
    arm-none-linux-gnueabi-g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/qws/linux-arm-gnueabi-g++ -I. -o openssl.o openssl.cpp
    openssl.cpp:42:30: fatal error: openssl/opensslv.h: No such file or directory
    #include <openssl/opensslv.h>
    ^
    compilation terminated.
    make: *** [openssl.o] Error 1
    OpenSSL disabled.
    OpenSSL support cannot be enabled due to functionality tests!
    Turn on verbose messaging (-v) to ./configure to see the final report.
    If you believe this message is in error you may use the continue
    switch (-continue) to ./configure to continue.

    I checked opensslv.h /usr/include/openssl/openssl folder. All openssl file inclued /usr/include/openssl/openssl

    Can you help me ?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You need to tell configure where to find these headers (i.e. add -I /usr/include). Also, do you have a cross-compiled version of OpenSSL ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lifeissad
        wrote on last edited by
        #3

        Dear SGaist, thank you for answer I replaced my files. Everything is works.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          You're welcome !

          Since you have your build working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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