From aac079f5acaa49f7c318b345a09be88ca56bfaa8 Mon Sep 17 00:00:00 2001 From: Sacha Date: Wed, 13 Feb 2013 22:50:20 +1000 Subject: [PATCH] Simplify translations includes. Fix for VS2010, remove some warnings. --- Qt/PPSSPP.pro | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Qt/PPSSPP.pro b/Qt/PPSSPP.pro index 08bd45c65a..77b2c18df8 100755 --- a/Qt/PPSSPP.pro +++ b/Qt/PPSSPP.pro @@ -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