From c205cd7eec9d8d24ea7d26e6c69432b864785c42 Mon Sep 17 00:00:00 2001 From: Miklos Marton Date: Thu, 19 Jul 2018 15:31:51 +0200 Subject: [PATCH] Add temporary files to .gitignore Add pri file for easy inclusion in projects --- .gitignore | 6 ++++++ LedIndicator.pri | 13 +++++++++++++ LedIndicator.pro | 12 +++--------- 3 files changed, 22 insertions(+), 9 deletions(-) create mode 100644 LedIndicator.pri diff --git a/.gitignore b/.gitignore index 0def275..686d7a2 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,9 @@ *.exe *.out *.app + +LedIndicator +ui_* +moc_* +*.pro.user +Makefile \ No newline at end of file diff --git a/LedIndicator.pri b/LedIndicator.pri new file mode 100644 index 0000000..f274d02 --- /dev/null +++ b/LedIndicator.pri @@ -0,0 +1,13 @@ +#------------------------------------------------- +# +# Project created by QtCreator 2014-08-12T10:36:26 +# +#------------------------------------------------- + +QT += core gui + +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets + +SOURCES += $$PWD/ledindicator.cpp + +HEADERS += $$PWD/ledindicator.h diff --git a/LedIndicator.pro b/LedIndicator.pro index fac55a0..2cc7bcc 100644 --- a/LedIndicator.pro +++ b/LedIndicator.pro @@ -4,19 +4,13 @@ # #------------------------------------------------- -QT += core gui - -greaterThan(QT_MAJOR_VERSION, 4): QT += widgets +include(LedIndicator.pri) TARGET = LedIndicator TEMPLATE = app SOURCES += main.cpp\ - ledindicatortest.cpp\ - ledindicator.cpp - -HEADERS += ledindicatortest.h\ - ledindicator.h - + ledindicatortest.cpp +HEADERS += ledindicatortest.h FORMS += ledindicatortest.ui