2013-02-01 21:40:17 +00:00
|
|
|
TARGET = PPSSPPQt
|
2013-02-04 21:52:58 +00:00
|
|
|
# Ubuntu user, remove multimedia
|
2013-02-04 15:10:07 +00:00
|
|
|
QT += core gui opengl multimedia
|
2013-02-01 21:40:17 +00:00
|
|
|
|
|
|
|
include(Settings.pri)
|
|
|
|
linux {
|
2013-02-03 23:45:37 +00:00
|
|
|
CONFIG += mobility link_pkgconfig
|
2013-02-01 21:40:17 +00:00
|
|
|
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
|
|
|
|
|
2013-02-03 23:45:37 +00:00
|
|
|
linux {
|
|
|
|
LIBS += -L. -lCore -lCommon -lNative
|
|
|
|
PRE_TARGETDEPS += ./libCommon.a ./libCore.a ./libNative.a
|
|
|
|
packagesExist(sdl) {
|
|
|
|
DEFINES += QT_HAS_SDL
|
|
|
|
PKGCONFIG += sdl
|
|
|
|
}
|
|
|
|
}
|
2013-02-01 21:40:17 +00:00
|
|
|
|
|
|
|
# Main
|
2013-02-03 23:45:37 +00:00
|
|
|
SOURCES += ../native/base/QtMain.cpp
|
|
|
|
HEADERS += ../native/base/QtMain.h
|
2013-02-01 21:40:17 +00:00
|
|
|
|
|
|
|
# Native
|
|
|
|
SOURCES += ../android/jni/EmuScreen.cpp \
|
|
|
|
../android/jni/MenuScreens.cpp \
|
|
|
|
../android/jni/GamepadEmu.cpp \
|
|
|
|
../android/jni/UIShader.cpp \
|
|
|
|
../android/jni/ui_atlas.cpp
|
|
|
|
|
|
|
|
INCLUDEPATH += .. ../Common ../native
|
|
|
|
|
|
|
|
# Temporarily only use new UI for Linux desktop
|
|
|
|
linux:!mobile_platform {
|
|
|
|
SOURCES += mainwindow.cpp \
|
|
|
|
debugger_disasm.cpp \
|
|
|
|
EmuThread.cpp\
|
|
|
|
QtHost.cpp \
|
|
|
|
qtemugl.cpp \
|
|
|
|
ctrldisasmview.cpp \
|
|
|
|
ctrlregisterlist.cpp \
|
2013-02-03 23:45:37 +00:00
|
|
|
controls.cpp \
|
|
|
|
qkeyedit.cpp \
|
|
|
|
gamepaddialog.cpp
|
2013-02-01 21:40:17 +00:00
|
|
|
HEADERS += mainwindow.h \
|
|
|
|
debugger_disasm.h \
|
|
|
|
EmuThread.h \
|
|
|
|
QtHost.h \
|
|
|
|
qtemugl.h \
|
|
|
|
ctrldisasmview.h \
|
|
|
|
ctrlregisterlist.h \
|
2013-02-03 23:45:37 +00:00
|
|
|
controls.h \
|
|
|
|
qkeyedit.h \
|
|
|
|
gamepaddialog.h
|
2013-02-01 21:40:17 +00:00
|
|
|
} else {
|
|
|
|
SOURCES += ../android/jni/NativeApp.cpp
|
|
|
|
}
|
|
|
|
|
|
|
|
# Packaging
|
|
|
|
symbian {
|
|
|
|
vendorinfo = "%{\"Qtness\"}" ":\"Qtness\""
|
|
|
|
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
|
|
|
|
assets.path = E:/PPSSPP
|
|
|
|
DEPLOYMENT += deployinfo assets
|
|
|
|
ICON = ../assets/icon.svg
|
|
|
|
# 268MB maximum
|
|
|
|
TARGET.EPOCHEAPSIZE = 0x40000 0x10000000
|
|
|
|
TARGET.EPOCSTACKSIZE = 0x10000
|
|
|
|
}
|
|
|
|
|
|
|
|
linux:!mobile_platform {
|
|
|
|
FORMS += mainwindow.ui \
|
|
|
|
debugger_disasm.ui \
|
2013-02-03 23:45:37 +00:00
|
|
|
controls.ui\
|
|
|
|
gamepaddialog.ui
|
2013-02-01 23:36:35 +00:00
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
resources.qrc
|
2013-02-01 21:40:17 +00:00
|
|
|
}
|