src/src.pro

Sun, 08 Sep 2013 16:14:58 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Sun, 08 Sep 2013 16:14:58 +0300
changeset 20
a5457405cc9b
parent 19
c9b6dd9dd4cd
child 30
6b82f6a3ad53
permissions
-rw-r--r--

Use the cfg:: namespace system I made up a while ago instead of using QSettings directly, it's unsafe

CONFIG         += qt debug
TARGET          = ../zandemo
DEPENDPATH     += .
INCLUDEPATH    += .
RC_FILE         = ../zandemo.rc
RESOURCES       = ../zandemo.qrc
RCC_DIR         = ./build/
OBJECTS_DIR     = ./build/
MOC_DIR         = ./build/
RCC_DIR         = ./build/
SOURCES         = *.cpp
HEADERS         = *.h
FORMS           = ui/*.ui
QMAKE_CXXFLAGS += -std=c++0x

# The widgets are separated into a different module in Qt5, so we need to add
# it here. Doing so under Qt4 just results in a warning, though.
greaterThan (QT_MAJOR_VERSION, 4): QT += widgets

mercurial