2013-01-14 15:13:53 +00:00
|
|
|
TARGET = PPSSPPQt
|
|
|
|
QT += core gui opengl
|
|
|
|
|
|
|
|
include(Settings.pri)
|
|
|
|
linux {
|
|
|
|
CONFIG += mobility
|
|
|
|
MOBILITY += multimedia
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
QT += multimedia
|
|
|
|
}
|
|
|
|
|
|
|
|
# Libs
|
|
|
|
symbian: LIBS += -lCore.lib -lCommon.lib -lNative.lib -lcone -leikcore -lavkon -lezlib
|
|
|
|
|
|
|
|
blackberry: LIBS += -L. -lCore -lCommon -lNative -lscreen -lsocket -lstdc++
|
|
|
|
|
|
|
|
win32: LIBS += -L. -lCore -lCommon -lNative -lwinmm -lws2_32 -lkernel32 -luser32 -lgdi32 -lshell32 -lcomctl32 -ldsound -lxinput
|
|
|
|
|
|
|
|
linux: LIBS += -L. -lCore -lCommon -lNative
|
|
|
|
|
|
|
|
# Main
|
|
|
|
SOURCES += ../native/base/QtMain.cpp
|
|
|
|
HEADERS += ../native/base/QtMain.h
|
|
|
|
|
|
|
|
# Native
|
2013-01-15 16:16:07 +00:00
|
|
|
SOURCES += ../android/jni/EmuScreen.cpp \
|
2013-01-14 15:13:53 +00:00
|
|
|
../android/jni/MenuScreens.cpp \
|
|
|
|
../android/jni/GamepadEmu.cpp \
|
|
|
|
../android/jni/UIShader.cpp \
|
|
|
|
../android/jni/ui_atlas.cpp
|
|
|
|
|
|
|
|
INCLUDEPATH += .. ../Common ../native
|
|
|
|
|
2013-01-17 01:00:07 +00:00
|
|
|
# Temporarily only use new UI for Linux desktop
|
2013-01-14 15:13:53 +00:00
|
|
|
linux:!mobile_platform {
|
|
|
|
SOURCES += mainwindow.cpp \
|
|
|
|
debugger_disasm.cpp \
|
|
|
|
EmuThread.cpp\
|
2013-01-15 16:16:07 +00:00
|
|
|
QtHost.cpp \
|
2013-01-14 15:13:53 +00:00
|
|
|
qtemugl.cpp \
|
|
|
|
ctrldisasmview.cpp \
|
|
|
|
ctrlregisterlist.cpp \
|
|
|
|
controls.cpp
|
|
|
|
HEADERS += mainwindow.h \
|
|
|
|
debugger_disasm.h \
|
|
|
|
EmuThread.h \
|
2013-01-15 16:16:07 +00:00
|
|
|
QtHost.h \
|
2013-01-14 15:13:53 +00:00
|
|
|
qtemugl.h \
|
|
|
|
ctrldisasmview.h \
|
|
|
|
ctrlregisterlist.h \
|
|
|
|
controls.h
|
2013-01-17 01:00:07 +00:00
|
|
|
} else {
|
|
|
|
SOURCES += ../android/jni/NativeApp.cpp
|
2013-01-14 15:13:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# Packaging
|
|
|
|
symbian {
|
|
|
|
vendorinfo = "%{\"Qtness\"}" ":\"Qtness\""
|
2013-01-28 21:22:15 +00:00
|
|
|
packageheader = "$${LITERAL_HASH}{\"PPSSPP\"}, (0xE0095B1D), 0, 6, 1, TYPE=SA"
|
|
|
|
deployinfo.pkg_prerules = packageheader vendorinfo
|
|
|
|
assets.sources = ../android/assets/ui_atlas.zim ../assets/ppge_atlas.zim
|
2013-01-14 15:13:53 +00:00
|
|
|
assets.path = E:/PPSSPP
|
2013-01-28 21:22:15 +00:00
|
|
|
DEPLOYMENT += deployinfo assets
|
2013-01-14 15:13:53 +00:00
|
|
|
ICON = ../assets/icon.svg
|
|
|
|
# 268MB maximum
|
|
|
|
TARGET.EPOCHEAPSIZE = 0x40000 0x10000000
|
|
|
|
TARGET.EPOCSTACKSIZE = 0x10000
|
|
|
|
}
|
|
|
|
|
|
|
|
linux:!mobile_platform {
|
|
|
|
FORMS += mainwindow.ui \
|
|
|
|
debugger_disasm.ui \
|
|
|
|
controls.ui
|
|
|
|
}
|