Skip to content

Instantly share code, notes, and snippets.

@torsten
Created December 14, 2010 15:32
Show Gist options
  • Save torsten/740579 to your computer and use it in GitHub Desktop.
Save torsten/740579 to your computer and use it in GitHub Desktop.
TARGET = "iphone-nano"
TEMPLATE = app
QT = core gui
CONFIG += warn_on
HEADERS = src/IPhoneFrameWidget.h src/MainWindow.h src/helpers.h src/apps/App.h src/apps/Menu.h src/apps/ClockApp.h src/apps/MusicApp.h src/apps/PhotoApp.h
SOURCES = src/main.cc src/IPhoneFrameWidget.cc src/MainWindow.cc src/helpers.cc src/apps/App.cc src/apps/Menu.cc src/apps/ClockApp.cc src/apps/MusicApp.cc src/apps/PhotoApp.cc
INCLUDEPATH += src
DESTDIR = build
OBJECTS_DIR = build
UI_DIR = build
MOC_DIR = build
mac {
LIBS += -framework Carbon
QMAKE_CXXFLAGS += -Wall -pipe -g -O2
images.files = ./img
images.path = Contents/Resources/
QMAKE_BUNDLE_DATA += images
}
win32 {
images.commands = xcopy .\img\ $${DESTDIR}\
QMAKE_POST_LINK += images
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment