summaryrefslogtreecommitdiffstats
path: root/src/qtsparkle-test.cpp
blob: 0594294a6e994bc1b03ec39113b509731016a5fb (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;
}