diff --git a/project/qmake/vba-m.pro b/project/qmake/vba-m.pro new file mode 100644 index 00000000..d42d2d6a --- /dev/null +++ b/project/qmake/vba-m.pro @@ -0,0 +1,5 @@ +TEMPLATE = app +CONFIG += qt +TARGET = VisualBoyAdvance +HEADERS += ../../src/qt/main.h +SOURCES += ../../src/qt/main.cpp diff --git a/project/vc2008/vba-m.sln b/project/vc2008/vba-m.sln new file mode 100644 index 00000000..ec80a3c8 --- /dev/null +++ b/project/vc2008/vba-m.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual C++ Express 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vba-m", "vba-m.vcproj", "{714B3EF3-5D43-421F-A97E-447540E7C137}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + debug|Win32 = debug|Win32 + release|Win32 = release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {714B3EF3-5D43-421F-A97E-447540E7C137}.debug|Win32.ActiveCfg = debug|Win32 + {714B3EF3-5D43-421F-A97E-447540E7C137}.debug|Win32.Build.0 = debug|Win32 + {714B3EF3-5D43-421F-A97E-447540E7C137}.release|Win32.ActiveCfg = release|Win32 + {714B3EF3-5D43-421F-A97E-447540E7C137}.release|Win32.Build.0 = release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/project/vc2008/vba-m.vcproj b/project/vc2008/vba-m.vcproj new file mode 100644 index 00000000..6404911e --- /dev/null +++ b/project/vc2008/vba-m.vcproj @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/qt/main.cpp b/src/qt/main.cpp new file mode 100644 index 00000000..859cbf48 --- /dev/null +++ b/src/qt/main.cpp @@ -0,0 +1,16 @@ +#include "main.h" + +#include +#include + + +int main( int argc, char *argv[] ) +{ + QApplication theApp( argc, argv ); + + QPushButton hello( TEST_STRING ); + hello.resize( 192, 48 ); + hello.show(); + + return theApp.exec(); +} diff --git a/src/qt/main.h b/src/qt/main.h new file mode 100644 index 00000000..d94d5d67 --- /dev/null +++ b/src/qt/main.h @@ -0,0 +1,6 @@ +#ifndef MAIN_H +#define MAIN_H + +#define TEST_STRING "Hello World!" + +#endif // #ifndef MAIN_H