From 9786a6be7cccc01dece894cb254a22c7e79a0de3 Mon Sep 17 00:00:00 2001 From: Daniel Brunner <0xFEEDC0DE64@gmail.com> Date: Sat, 3 Jun 2017 10:16:25 +0200 Subject: [PATCH] Added qt project files --- .gitignore | 92 +++++++++++++++++++++++++++++++++--------------- QtGameEngine.pro | 23 ++++++++++++ main.cpp | 8 +++++ 3 files changed, 94 insertions(+), 29 deletions(-) create mode 100644 QtGameEngine.pro create mode 100644 main.cpp diff --git a/.gitignore b/.gitignore index 6732e72..fab7372 100644 --- a/.gitignore +++ b/.gitignore @@ -1,39 +1,73 @@ -# C++ objects and libs +# This file is used to ignore files which are generated +# ---------------------------------------------------------------------------- -*.slo -*.lo -*.o +*~ +*.autosave *.a -*.la -*.lai +*.core +*.moc +*.o +*.obj +*.orig +*.rej *.so -*.dll -*.dylib - -# Qt-es - +*.so.* +*_pch.h.cpp +*_resource.rc +*.qm +.#* +*.*# +core +!core/ +tags +.DS_Store +.directory +*.debug +Makefile* +*.prl +*.app +moc_*.cpp +ui_*.h +qrc_*.cpp +Thumbs.db +*.res +*.rc /.qmake.cache /.qmake.stash -*.pro.user -*.pro.user.* -*.qbs.user -*.qbs.user.* -*.moc -moc_*.cpp -moc_*.h -qrc_*.cpp -ui_*.h -Makefile* -*build-* -# QtCreator +# qtcreator generated files +*.pro.user* -*.autosave +# xemacs temporary files +*.flc -# QtCtreator Qml -*.qmlproject.user -*.qmlproject.user.* +# Vim temporary files +.*.swp -# QtCtreator CMake -CMakeLists.txt.user* +# Visual Studio generated files +*.ib_pdb_index +*.idb +*.ilk +*.pdb +*.sln +*.suo +*.vcproj +*vcproj.*.*.user +*.ncb +*.sdf +*.opensdf +*.vcxproj +*vcxproj.* + +# MinGW generated files +*.Debug +*.Release + +# Python byte code +*.pyc + +# Binaries +# -------- +*.dll +*.exe diff --git a/QtGameEngine.pro b/QtGameEngine.pro new file mode 100644 index 0000000..8b3afae --- /dev/null +++ b/QtGameEngine.pro @@ -0,0 +1,23 @@ +QT += core +QT -= gui + +CONFIG += c++11 + +TARGET = QtGameEngine +CONFIG += console +CONFIG -= app_bundle + +TEMPLATE = app + +SOURCES += main.cpp + +# The following define makes your compiler emit warnings if you use +# any feature of Qt which as been marked deprecated (the exact warnings +# depend on your compiler). Please consult the documentation of the +# deprecated API in order to know how to port your code away from it. +DEFINES += QT_DEPRECATED_WARNINGS + +# You can also make your code fail to compile if you use deprecated APIs. +# In order to do so, uncomment the following line. +# You can also select to disable deprecated APIs only up to a certain version of Qt. +#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..470a030 --- /dev/null +++ b/main.cpp @@ -0,0 +1,8 @@ +#include + +int main(int argc, char *argv[]) +{ + QCoreApplication a(argc, argv); + + return a.exec(); +}