TEMPLATE = app TARGET = painteditem QT += declarative quick macx: CONFIG -= app_bundle SOURCES += main.cpp CONFIG += console