ff7tk
0.02
Toolkit for making FF7 Tools
Main Page
Related Pages
Classes
Files
File List
File Members
main.cpp
Go to the documentation of this file.
1
/****************************************************************************/
2
// copyright 2012 - 2016 Chris Rizzitello <sithlord48@gmail.com> //
3
// //
4
// This file is part of FF7tk //
5
// //
6
// FF7tk is free software: you can redistribute it and/or modify //
7
// it under the terms of the GNU General Public License as published by //
8
// the Free Software Foundation, either version 3 of the License, or //
9
// (at your option) any later version. //
10
// //
11
// FF7tk is distributed in the hope that it will be useful, //
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
14
// GNU General Public License for more details. //
15
/****************************************************************************/
16
17
#include "qglobal.h"
18
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
19
#include <QtWidgets/QApplication>
20
#else
21
#include <QtGui/QApplication>
22
#endif
23
#include "
mainwindow.h
"
24
25
#if defined(STATIC) && (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
26
#include <QtPlugin>
//FOR STATIC BUILD. Q_IMPORT_PLUGIN: Allow to make use of a static plugins (qjpcodecs)
27
//FOR STATIC BUILD.(WILL FAIL HERE IF NOT STATICLY BUILT QT!)
28
Q_IMPORT_PLUGIN(qcncodecs)
29
Q_IMPORT_PLUGIN(qjpcodecs)
//(Japanese Text Support)
30
Q_IMPORT_PLUGIN(qtwcodecs)
31
Q_IMPORT_PLUGIN(qkrcodecs)
32
#endif
33
34
int
main
(
int
argc,
char
*argv[])
35
{
36
QApplication a(argc, argv);
37
MainWindow
w;
38
w.show();
39
40
return
a.exec();
41
}
mainwindow.h
MainWindow
Definition:
mainwindow.h:47
main
int main(int argc, char *argv[])
Definition:
main.cpp:34
ff7tkDemo
main.cpp
Generated on Sun Jul 31 2016 10:31:33 for ff7tk by
1.8.11