Qt: Some platforms don't like letters in version number.

This commit is contained in:
Sacha committed 2013-11-25 14:17:50 +10:00
1 parent 866ed28f64
commit 12bfcd0599
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -143,7 +143,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
graphics->Get("SoftwareSkinning", &bSoftwareSkinning, true);
graphics->Get("TextureFiltering", &iTexFiltering, 1);
// Auto on Windows, 2x on large screens, 1x elsewhere.
#ifdef _WIN32
#if defined(_WIN32) && !defined(USING_QT_UI)
graphics->Get("InternalResolution", &iInternalResolution, 0);
#else
graphics->Get("InternalResolution", &iInternalResolution, pixel_xres >= 1024 ? 2 : 1);
+2 -2
View File
@@ -13,8 +13,8 @@ P = $$_PRO_FILE_PWD_/..
INCLUDEPATH += $$P/ext/zlib $$P/native/ext/glew $$P/Common
exists($$P/.git): GIT_VERSION = $$system(git describe --always)
!isEmpty(GIT_VERSION): VERSION = $$GIT_VERSION
DEFINES += PPSSPP_GIT_VERSION=\\\"$$VERSION\\\"
isEmpty(GIT_VERSION): GIT_VERSION = $$VERSION
DEFINES += PPSSPP_GIT_VERSION=\\\"$$GIT_VERSION\\\"
win32-msvc* {
QMAKE_CXXFLAGS_RELEASE += /O2 /arch:SSE2 /fp:fast