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. Help with displaying final value inside a line edit.

Help with displaying final value inside a line edit.

Scheduled Pinned Locked Moved Unsolved General and Desktop
13 Posts 5 Posters 2.2k Views 2 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.
  • M Offline
    M Offline
    MrCrackPotBuilder
    wrote on last edited by
    #3

    Hi, I installed direct from the qt website same as i have done previously.

    I tried without the secure connection and still the same 2 errors and the 2 errors plus the result if main.cpp is used.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MrCrackPotBuilder
      wrote on last edited by
      #4

      Ah the error for the sslv2 is because its no longer pre compiled in ubuntu due to it being in secure hhhhmmm thats kind of a big issue for qt to not update. Now i have to reconfigure openssl without the sslv2 no-flag.....

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Fuel
        wrote on last edited by
        #5

        You can just put libeay32.dll and ssleay32.dll Librarys in your Build Directory. Works for me. Thats OpenSSL Librarys.

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

          Hi,

          These two are just warnings. They mean that your application is loading a version of OpenSSL that is different from the one used to build Qt. By default Qt doesn't link to OpenSSL because of international laws regarding exporting and import cryptographically enabled software. The library is dlopened.

          By the way, which version of Qt are you using ?
          Which version of OpenSSL did you install ?

          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
          2
          • F Fuel

            You can just put libeay32.dll and ssleay32.dll Librarys in your Build Directory. Works for me. Thats OpenSSL Librarys.

            M Offline
            M Offline
            MrCrackPotBuilder
            wrote on last edited by
            #7

            @Fuel I dont think it would work for me as im using ubuntu not windows.

            @SGaist I'm running ubuntu 16.04 with the latest QT

            Qt Creator 4.4.1
            Based on Qt 5.9.2 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
            Built on Oct 4 2017 04:14:10
            From revision 6afdb8bdf9

            jsulmJ 1 Reply Last reply
            0
            • F Offline
              F Offline
              Fuel
              wrote on last edited by
              #8

              Are'nt there Development Packages for OpenSSL on Ubuntu? Like openssl-dev.

              1 Reply Last reply
              0
              • M MrCrackPotBuilder

                @Fuel I dont think it would work for me as im using ubuntu not windows.

                @SGaist I'm running ubuntu 16.04 with the latest QT

                Qt Creator 4.4.1
                Based on Qt 5.9.2 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
                Built on Oct 4 2017 04:14:10
                From revision 6afdb8bdf9

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

                @MrCrackPotBuilder That's not the Qt version you're using but the one QtCreator was built against. Which Qt version did you install? What is OpenSSL version?

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

                M 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @MrCrackPotBuilder That's not the Qt version you're using but the one QtCreator was built against. Which Qt version did you install? What is OpenSSL version?

                  M Offline
                  M Offline
                  MrCrackPotBuilder
                  wrote on last edited by
                  #10

                  @jsulm I have no idea what you mean. Thats all the information from the about section and the install is direct from the qt website i just chose the latest version.

                  openSSL 1.0.2g 1 MAR 2016.

                  The problem from what i can see with those two errors is just sslv2 is insecure and as such ubuntu prevents it. but QT still needs it. as for using other ssl etc etc i have no idea it took me a few weeks just to learn to get the ip to show. Now all id like is to get the end result displayed into its line edit

                  jsulmJ 1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    MrCrackPotBuilder
                    wrote on last edited by
                    #11

                    Why would it work inside the main.cpp and not the weatherballoon.cpp???

                    mrjjM 1 Reply Last reply
                    0
                    • M MrCrackPotBuilder

                      Why would it work inside the main.cpp and not the weatherballoon.cpp???

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #12

                      @MrCrackPotBuilder
                      It works the same but often when people transfer from main.cpp into a function in other class
                      they reuse the code from main and the exec() in main prevents objects from running out of scope
                      where as same code in constructor will not.

                      WeatherBalloon::WeatherBalloon(QWidget *parent) :
                      {
                          QNetworkAccessManager networkManager; // this is a local variable
                      } // and here it no longer exits.
                      
                      1 Reply Last reply
                      1
                      • M MrCrackPotBuilder

                        @jsulm I have no idea what you mean. Thats all the information from the about section and the install is direct from the qt website i just chose the latest version.

                        openSSL 1.0.2g 1 MAR 2016.

                        The problem from what i can see with those two errors is just sslv2 is insecure and as such ubuntu prevents it. but QT still needs it. as for using other ssl etc etc i have no idea it took me a few weeks just to learn to get the ip to show. Now all id like is to get the end result displayed into its line edit

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

                        @MrCrackPotBuilder said in Help with displaying final value inside a line edit.:

                        I have no idea what you mean.

                        The information you posted only tells something about QtCreator. QtCreator is NOT Qt, it is an IDE. QtCreator can handle many different Qt versions. So, either you know which Qt version you selected during installation or you go to the Kit you're using in QtCreator and check which Qt version is configured there.

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

                        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