qt5base-lts/examples/network/rsslisting/main.cpp

17 lines
390 B
C++
Raw Normal View History

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "rsslisting.h"
#include <QtWidgets>
using namespace Qt::StringLiterals;
//! [0]
int main(int argc, char **argv)
{
QApplication app(argc, argv);
RSSListing rsslisting(u"https://www.qt.io/blog/rss.xml"_s);
rsslisting.show();
return app.exec();
}
//! [0]