qt6windows7/examples/network/rsslisting/main.cpp

17 lines
390 B
C++
Raw Normal View History

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