Help with displaying final value inside a line edit.
-
@MrCrackPotBuilder Did you try without SSL (http instead of https)? It looks like you're missing OpenSSL library. How did you install Qt?
-
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.
-
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.....
-
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 ? -
-
@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?
-
@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
-
Why would it work inside the main.cpp and not the weatherballoon.cpp???
-
@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.
-
@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.