Qt with Cascades UI Examples Documentation

trafficlight.pro Example File

statemachine/trafficlight/trafficlight.pro
    TEMPLATE = app
    TARGET = trafficlight

    CONFIG += qt warn_on debug_and_release cascades

    INCLUDEPATH += ../src
    SOURCES += ../src/*.cpp
    HEADERS += ../src/*.hpp ../src/*.h

    device {
        CONFIG(release, debug|release) {
            DESTDIR = o.le-v7
        }
        CONFIG(debug, debug|release) {
            DESTDIR = o.le-v7-g
        }
    }

    simulator {
        CONFIG(release, debug|release) {
            DESTDIR = o
        }
        CONFIG(debug, debug|release) {
            DESTDIR = o-g
        }
    }

    OBJECTS_DIR = $${DESTDIR}/.obj
    MOC_DIR = $${DESTDIR}/.moc
    RCC_DIR = $${DESTDIR}/.rcc
    UI_DIR = $${DESTDIR}/.ui