ADDED very basic Qt build system and a VC2008 project file using the QMake file.
This commit is contained in:
parent
33299f49d3
commit
f914494cb1
|
@ -0,0 +1,5 @@
|
|||
TEMPLATE = app
|
||||
CONFIG += qt
|
||||
TARGET = VisualBoyAdvance
|
||||
HEADERS += ../../src/qt/main.h
|
||||
SOURCES += ../../src/qt/main.cpp
|
|
@ -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
|
|
@ -0,0 +1,90 @@
|
|||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9,00"
|
||||
Name="vba-m"
|
||||
ProjectGUID="{714B3EF3-5D43-421F-A97E-447540E7C137}"
|
||||
RootNamespace="vba-m"
|
||||
Keyword="MakeFileProj"
|
||||
TargetFrameworkVersion="196613"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="debug|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="0"
|
||||
>
|
||||
<Tool
|
||||
Name="VCNMakeTool"
|
||||
BuildCommandLine="qmake -makefile -win32 -Wall ../qmake/vba-m.pro
nmake $(ConfigurationName)"
|
||||
ReBuildCommandLine="qmake -makefile -win32 -Wall ../qmake/vba-m.pro
nmake $(ConfigurationName)"
|
||||
CleanCommandLine="nmake distclean
rmdir /S /Q debug
rmdir /S /Q release
"
|
||||
Output="$(OutDir)/VisualBoyAdvance.exe"
|
||||
PreprocessorDefinitions="WIN32;_DEBUG"
|
||||
IncludeSearchPath=""
|
||||
ForcedIncludes=""
|
||||
AssemblySearchPath=""
|
||||
ForcedUsingAssemblies=""
|
||||
CompileAsManaged=""
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="release|Win32"
|
||||
OutputDirectory="$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="0"
|
||||
>
|
||||
<Tool
|
||||
Name="VCNMakeTool"
|
||||
BuildCommandLine="qmake -makefile -win32 -Wall ../qmake/vba-m.pro
nmake $(ConfigurationName)"
|
||||
ReBuildCommandLine="qmake -makefile -win32 -Wall ../qmake/vba-m.pro
nmake $(ConfigurationName)"
|
||||
CleanCommandLine="nmake distclean
rmdir /S /Q debug
rmdir /S /Q release
"
|
||||
Output="$(OutDir)/VisualBoyAdvance.exe"
|
||||
PreprocessorDefinitions="WIN32;NDEBUG"
|
||||
IncludeSearchPath=""
|
||||
ForcedIncludes=""
|
||||
AssemblySearchPath=""
|
||||
ForcedUsingAssemblies=""
|
||||
CompileAsManaged=""
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="GUI"
|
||||
>
|
||||
<Filter
|
||||
Name="main"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\src\qt\main.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\qt\main.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Makefile"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\qmake\vba-m.pro"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
|
@ -0,0 +1,16 @@
|
|||
#include "main.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QPushButton>
|
||||
|
||||
|
||||
int main( int argc, char *argv[] )
|
||||
{
|
||||
QApplication theApp( argc, argv );
|
||||
|
||||
QPushButton hello( TEST_STRING );
|
||||
hello.resize( 192, 48 );
|
||||
hello.show();
|
||||
|
||||
return theApp.exec();
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
#ifndef MAIN_H
|
||||
#define MAIN_H
|
||||
|
||||
#define TEST_STRING "Hello World!"
|
||||
|
||||
#endif // #ifndef MAIN_H
|
Loading…
Reference in New Issue