summaryrefslogtreecommitdiffstats
path: root/src/qtsparkle_qt4-test.cpp
blob: 888311f58e84c730b6e25caa6a60730172868fee (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/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;
}