Simplify translations includes. Fix for VS2010, remove some warnings.

This commit is contained in:
Sacha 2013-02-13 22:50:20 +10:00
parent fd16744f36
commit aac079f5ac

View file

@ -3,6 +3,7 @@ TARGET = PPSSPPQt
QT += core gui opengl
CONFIG += mobility
MOBILITY += multimedia
win32: QT += multimedia
include(Settings.pri)
@ -12,7 +13,7 @@ blackberry: LIBS += -L. -lCore -lCommon -lNative -lscreen -lsocket -lstdc++
win32: LIBS += -L$$OUT_PWD/release -lCore -lCommon -lNative -lwinmm -lws2_32 -lkernel32 -luser32 -lgdi32 -lshell32 -lcomctl32 -ldsound -lxinput
linux: LIBS += -L. -lCore -lCommon -lNative
!mobile_platform {
linux:!mobile_platform {
PRE_TARGETDEPS += ./libCommon.a ./libCore.a ./libNative.a
CONFIG += link_pkgconfig
packagesExist(sdl) {
@ -21,12 +22,7 @@ linux: LIBS += -L. -lCore -lCommon -lNative
}
}
TRANSLATIONS = languages/ppsspp_en.ts \
languages/ppsspp_pl.ts \
languages/ppsspp_fr.ts \
languages/ppsspp_de.ts \
languages/ppsspp_cn.ts \
languages/ppsspp_tc.ts
TRANSLATIONS = $$files(languages/ppsspp_*.ts)
# Main
SOURCES += ../native/base/QtMain.cpp
@ -52,6 +48,7 @@ mobile_platform {
HEADERS += *.h
FORMS += *.ui
RESOURCES += resources.qrc
INCLUDEPATH += ../Qt
}
# Packaging