Hello guys,
I was searching for the way how to check webpage availability, and the best solution i have found here:
https://stackoverflow.com/questions/...l-is-available

howeve, i dont realy know how to make this c++ function to retrieve true/false on boolean works....

could someone walk me through how to registrer this bool variable? as far as its onle variable, can i use main.cpp without using any other external cpp file?

and then how to retrieve value from this bool variable via qml, i guess this is not correct:
property bool urlExists("https://google.com") is not correct realy... (i also shoul dinclude something in main.qml i guess).

Thanks guys