Menu

[b84aab]: / src / platform / qt / main.cpp  Maximize  Restore  History

Download this file

26 lines (20 with data), 542 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// This file is part of SmallBASIC
//
// Copyright(C) 2001-2012 Chris Warren-Smith.
//
// This program is distributed under the terms of the GPL v2.0 or later
// Download the GNU Public License (GPL) from www.gnu.org
//
#include <QtGui/QApplication>
#include "mainwindow.h"
#include "form_ui.h"
MainWindow *wnd;
int main(int argc, char *argv[]) {
// register WidgetInfo to enable invoked() slot
qRegisterMetaType <WidgetInfo>("WidgetInfo");
QApplication a(argc, argv);
MainWindow w;
wnd = &w;
w.show();
return a.exec();
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.