Add qt pro file

This commit is contained in:
BlackMark 2020-06-21 17:10:27 +02:00
parent c38b992d54
commit 28e268e963
2 changed files with 33 additions and 0 deletions

2
.gitignore vendored
View File

@ -6,3 +6,5 @@ x64
*VC.opendb
*.vcxproj.user
*.o
.qmake.stash
Makefile*

View File

@ -0,0 +1,31 @@
QT += core gui widgets serialport
TEMPLATE = app
TARGET = AdaptiveBrightness
CONFIG += warn_on
QMAKE_CXXFLAGS += -std=c++17 -Wextra -pedantic
DEPENDPATH += .
HEADERS += ./AdaptiveBrightness.hpp
SOURCES += ./AdaptiveBrightness.cpp \
./main.cpp
FORMS += ./AdaptiveBrightness.ui
RESOURCES += ./AdaptiveBrightness.qrc
win32:RC_FILE = ./AdaptiveBrightness.rc
CONFIG(debug, debug|release) {
DESTDIR = ../x64/Debug
MOC_DIR += ./x64/Debug/moc
OBJECTS_DIR += ./x64/Debug
UI_DIR += ./x64/Debug/uic
RCC_DIR += ./x64/Debug/rcc
}
CONFIG(release, debug|release) {
DESTDIR = ../x64/Release
MOC_DIR += ./x64/Release/moc
OBJECTS_DIR += ./x64/Release
UI_DIR += ./x64/Release/uic
RCC_DIR += ./x64/Release/rcc
}