summaryrefslogtreecommitdiffstats
path: root/src/qtsparkle-test.cpp
blob: 62054b19241a7f06f788b145be7ffcf8596287cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * This file is part of MXE. See LICENSE.md for licensing information.
 */

#include <qtsparkle-qt5/Updater>
#include <QWidget>
#include <QUrl>

int main()
{
    QWidget w;
    qtsparkle::Updater* updater = new qtsparkle::Updater(
        QUrl("http://www.example.com/sparkle.xml"), &w);
    updater->SetVersion("1.0");

    return 0;
}