I'm not interested in the QNetWork class and all its callbacks, I want a static function or something where I can simply:
QString html = QHttpHelperThingy::fetch("http://blah.com");
Is there such a thing?
I believe this is the replacement path: http://doc.qt.io/archives/4.6/qnetworkaccessmanager.html , but QHttp will work in all 4.x series.
QHttp exists and works just as you expect, but it has been deprecated. I have not yet found a replacement for this.
Source: https://habr.com/ru/post/1299927/More articles:C #, validation is correct - c #How to sketch using system libraries on Linux - linuxHow to automatically synchronize tables in different databases - sql-serverSymbol "|" in sms - javaif I know the class, how can I find out which bank it is from? - jarPrinting a WPF Window on One Page - PrintingHow to determine if a driver is a flexible or removable flash drive in C ++? - c ++If User.IsInRole with a string array? - c #Intelligent agents "tutorial" - artificial-intelligenceHow to get Visual Studio to adhere to the specification at the beginning of a UTF-8 encoded CSS file? - cssAll Articles