Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Unable to use OpenSSL with my Android project

Unable to use OpenSSL with my Android project

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
7 Posts 3 Posters 652 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.
  • ibiaI Offline
    ibiaI Offline
    ibia
    wrote on last edited by
    #1

    Good morning everybody ! I am in a French-speaking country. I am trying to follow the following tutorial in order to use OpenSSL with my Android project : https://doc.qt.io/qt-5/android-openssl-support.html . The problem is that it seems to me that the commands are for Linux users. I am a Windows user and the commands like ./Configure does not seems to work.

    Is there an easier way to add open ssl support to my Android project? I am very disapointed. Qt tutos use to be clear but i do not understand this one. Can you please give me detailed instructions on how to add openssl to my Android project ? I am a novice.

    1 Reply Last reply
    0
    • MarkkyboyM Offline
      MarkkyboyM Offline
      Markkyboy
      wrote on last edited by
      #2

      Hi, you should be able to use command prompt (cmd.exe) in Windows.

      Do you have a './Configure' file in your project?, if so, try the following;

      Navigate to your project folder, press and hold the RIGHT shift key in the project folder/window and then right click in the window with your mouse, this should bring up a menu that contains the link 'Open command window here'.

      You should now be able to carry out './Configure' if the configure file exists within your project.

      Don't just sit there standing around, pick up a shovel and sweep up!

      I live by the sea, not in it.

      1 Reply Last reply
      0
      • ibiaI Offline
        ibiaI Offline
        ibia
        wrote on last edited by
        #3

        No @Markkyboy i have not a ./Configure file. It seems to be q Qt default executable !

        jsulmJ 1 Reply Last reply
        0
        • ibiaI ibia

          No @Markkyboy i have not a ./Configure file. It seems to be q Qt default executable !

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @ibia Configure file is the part of OpenSSL source code archive (in the root folder). On Windows you do not call it like "./Configure" but how is shown in INSTALL file:

          on Windows (only pick one of the targets for configuration):
          $ perl Configure { VC-WIN32 | VC-WIN64A | VC-WIN64I | VC-CE }
          $ nmake
          $ nmake test
          $ nmake install
          

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • ibiaI Offline
            ibiaI Offline
            ibia
            wrote on last edited by ibia
            #5

            Do i need to install Perl ? Is yes, how do i do that ?
            Also, nmake does not seem to be installed with my Qt version !

            jsulmJ 1 Reply Last reply
            0
            • ibiaI ibia

              Do i need to install Perl ? Is yes, how do i do that ?
              Also, nmake does not seem to be installed with my Qt version !

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by jsulm
              #6

              @ibia said in Unable to use OpenSSL with my Android project:

              Is yes, how do i do that ?

              Well, download from https://www.perl.org/get.html and install

              nmake is not part of Qt, but of Visual Studio. Which exact Qt version do you use? MSVC or MinGW?
              Actually you want to build for Android, in this case you need to use what ever is used for Android (Android NDK).

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • ibiaI Offline
                ibiaI Offline
                ibia
                wrote on last edited by
                #7

                @jsulm thank you very much. I am using Qt 5.14.2 with MinGW. do i need to install Qt msvc or do i simply need to install vs code apart from qt ?
                Qt and Qml are interesting but there are many troubles using them ...

                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