Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/4.7' into qt-master-from-4.7
Browse files Browse the repository at this point in the history
Conflicts:
	qmake/generators/makefile.cpp
	qmake/generators/win32/msbuild_objectmodel.cpp
	qmake/generators/win32/msvc_vcxproj.cpp
	src/corelib/global/qnamespace.h
	src/gui/text/qtextcontrol.cpp
  • Loading branch information
ogoffart committed Apr 18, 2011
2 parents 6814998 + c8aafe9 commit fda9cc1
Show file tree
Hide file tree
Showing 80 changed files with 1,663 additions and 318 deletions.
7 changes: 3 additions & 4 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -688,10 +688,10 @@ CFG_XRANDR=runtime
CFG_XRENDER=auto
CFG_MITSHM=auto
CFG_OPENGL=auto
CFG_OPENVG=no
CFG_OPENVG=auto
CFG_OPENVG_LC_INCLUDES=no
CFG_OPENVG_SHIVA=no
CFG_OPENVG_ON_OPENGL=no
CFG_OPENVG_SHIVA=auto
CFG_OPENVG_ON_OPENGL=auto
CFG_EGL=no
CFG_EGL_GLES_INCLUDES=no
CFG_SSE=auto
Expand Down Expand Up @@ -7471,7 +7471,6 @@ EOF
canBuildQtConcurrent="no"
;;
symbian-gcce)
canBuildWebKit="no"
canBuildQtConcurrent="no"
;;
symbian-armcc)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/* File generated by QtCreator */

import QmlProject 1.0

Project {
/* Include .qml, .js, and image files from current directory and subdirectories */
QmlFiles {
directory: "."
}
JavaScriptFiles {
directory: "."
}
ImageFiles {
directory: "."
}
/* List of plugin directories passed to QML runtime */
// importPaths: [ " ../exampleplugin " ]
}
54 changes: 30 additions & 24 deletions mkspecs/common/symbian/symbian.conf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ QMAKE_INCDIR =
QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS]

QMAKE_LFLAGS =
QMAKE_LFLAGS.ARMCC =
QMAKE_LFLAGS.ARMCC =
QMAKE_LFLAGS.GCCE =
QMAKE_LFLAGS_EXCEPTIONS_ON =
QMAKE_LFLAGS_EXCEPTIONS_OFF =
QMAKE_LFLAGS_RELEASE =
Expand All @@ -83,7 +84,7 @@ QMAKE_LIBS_OPENGL_ES2_QT = $$QMAKE_LIBS_OPENGL_ES2 $$QMAKE_LIBS_CFBSBITMAP -lcon
QMAKE_LIBS_OPENVG = $$QMAKE_LIBS_CFBSBITMAP -llibOpenVG
QMAKE_LIBS_THREAD = -llibpthread
QMAKE_LIBS_COMPAT =
QMAKE_LIBS_S60 = -lavkon -leikcoctl
QMAKE_LIBS_S60 = -lavkon -leikcoctl -lgfxtrans

exists($${EPOCROOT}epoc32/include/platform/sgresource/sgimage.h) {
QMAKE_LIBS_OPENVG += -lsgresource
Expand Down Expand Up @@ -163,34 +164,39 @@ exists($${EPOCROOT}epoc32/tools/qt/mkspecs/features/environment.prf) {

# Try to detect SDK version if it wasn't set by environment.prf
isEmpty(SYMBIAN_VERSION)|isEmpty(S60_VERSION) {
exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.3.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.3.sis) {
isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = Symbian3
isEmpty(S60_VERSION): S60_VERSION = 5.3
exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.4.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.4.sis) {
isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = 5.4
isEmpty(S60_VERSION): S60_VERSION = 5.4
} else {
# The Symbian^3 PDK does not necessarily contain the required sis files.
# However, libstdcppv5 first appeared in Symbian^3 (S60 5.2), so check for that too.
exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.2.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.2.sis)|exists($${EPOCROOT}epoc32/release/armv5/lib/libstdcppv5.dso) {
isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = Symbian3
isEmpty(S60_VERSION): S60_VERSION = 5.2
exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.3.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.3.sis) {
isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = 5.3
isEmpty(S60_VERSION): S60_VERSION = 5.3
} else {
exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.1.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.1.sis) {
isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = Symbian2
isEmpty(S60_VERSION): S60_VERSION = 5.1
# The Symbian^3 PDK does not necessarily contain the required sis files.
# However, libstdcppv5 first appeared in Symbian^3 (S60 5.2), so check for that too.
exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.2.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.2.sis)|exists($${EPOCROOT}epoc32/release/armv5/lib/libstdcppv5.dso) {
isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = Symbian3
isEmpty(S60_VERSION): S60_VERSION = 5.2
} else {
exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.0.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.0.sis) {
isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = 9.4
isEmpty(S60_VERSION): S60_VERSION = 5.0
exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.1.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.1.sis) {
isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = Symbian2
isEmpty(S60_VERSION): S60_VERSION = 5.1
} else {
exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v3.2.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v3.2.sis) {
isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = 9.3
isEmpty(S60_VERSION): S60_VERSION = 3.2
exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.0.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.0.sis) {
isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = 9.4
isEmpty(S60_VERSION): S60_VERSION = 5.0
} else {
exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v3.1.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v3.1.sis) {
isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = 9.2
isEmpty(S60_VERSION): S60_VERSION = 3.1
exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v3.2.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v3.2.sis) {
isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = 9.3
isEmpty(S60_VERSION): S60_VERSION = 3.2
} else {
isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = Unknown
isEmpty(S60_VERSION): S60_VERSION = Unknown
exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v3.1.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v3.1.sis) {
isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = 9.2
isEmpty(S60_VERSION): S60_VERSION = 3.1
} else {
isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = Unknown
isEmpty(S60_VERSION): S60_VERSION = Unknown
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/features/incredibuild_xge.prf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
contains(TEMPLATE, "vc.*")|contains(TEMPLATE_PREFIX, "vc") {
contains(TEMPLATE, "vc.*") {
EOC = $$escape_expand(\\n\\t)

# The VCPROJ generator will replace the \r\h with the coded \r\n: 

Expand Down
8 changes: 4 additions & 4 deletions mkspecs/features/moc.prf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ win32:count($$list($$INCLUDEPATH), 40, >) {

EOC = $$escape_expand(\\n\\t)

if(contains(TEMPLATE, "vc.*")|contains(TEMPLATE_PREFIX, "vc")) {
contains(TEMPLATE, "vc.*") {
# the VCPROJ generator will replace the \r\h with the coded \r\n: 

# No other generator understands the \h
if(win32-msvc2*|wince*msvc*): EOC = $$escape_expand(\\r\\h)
Expand All @@ -42,7 +42,7 @@ win32:count($$list($$INCLUDEPATH), 40, >) {
defineReplace(mocCmdBase) {
!isEmpty(WIN_INCLUDETEMP) {
RET =
if(contains(TEMPLATE, "vc.*")|contains(TEMPLATE_PREFIX, "vc")) {
contains(TEMPLATE, "vc.*") {
RET += $$mocinclude.commands
}
RET += $$QMAKE_MOC $(DEFINES) @$$WIN_INCLUDETEMP $$join(QMAKE_COMPILER_DEFINES, " -D", -D)
Expand All @@ -59,7 +59,7 @@ moc_header.output = $$MOC_DIR/$${QMAKE_H_MOD_MOC}${QMAKE_FILE_BASE}$${first(QMAK
moc_header.input = HEADERS
moc_header.variable_out = SOURCES
moc_header.name = MOC ${QMAKE_FILE_IN}
if(!contains(TEMPLATE, "vc.*"):!contains(TEMPLATE_PREFIX, "vc")) {
!contains(TEMPLATE, "vc.*") {
!isEmpty(INCLUDETEMP):moc_header.depends += $$INCLUDETEMP
}
silent:moc_header.commands = @echo moc ${QMAKE_FILE_IN} && $$moc_header.commands
Expand All @@ -73,7 +73,7 @@ moc_source.commands = ${QMAKE_FUNC_mocCmdBase} ${QMAKE_FILE_IN} -o ${QMAKE_FILE_
moc_source.output = $$MOC_DIR/$${QMAKE_CPP_MOD_MOC}${QMAKE_FILE_BASE}$${QMAKE_EXT_CPP_MOC}
moc_source.input = SOURCES OBJECTIVE_SOURCES
moc_source.name = MOC ${QMAKE_FILE_IN}
if(!contains(TEMPLATE, "vc.*"):!contains(TEMPLATE_PREFIX, "vc")) {
!contains(TEMPLATE, "vc.*") {
!isEmpty(INCLUDETEMP):moc_source.depends += $$INCLUDETEMP
}
silent:moc_source.commands = @echo moc ${QMAKE_FILE_IN} && $$moc_source.commands
Expand Down
5 changes: 5 additions & 0 deletions mkspecs/features/symbian/do_not_build_as_thumb.prf
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@ symbian-abld|symbian-sbsv2 {
QMAKE_CFLAGS += --arm
QMAKE_CXXFLAGS -= --thumb
QMAKE_CXXFLAGS += --arm
} else:symbian-gcce {
QMAKE_CFLAGS -= --thumb
QMAKE_CFLAGS += -marm -mthumb-interwork -mapcs
QMAKE_CXXFLAGS -= --thumb
QMAKE_CXXFLAGS += -marm -mthumb-interwork -mapcs
}
2 changes: 2 additions & 0 deletions mkspecs/features/symbian/symbian_building.prf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
symbian-armcc {
QMAKE_CFLAGS += $$QMAKE_CFLAGS.ARMCC
QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS.ARMCC
QMAKE_LFLAGS += $$QMAKE_LFLAGS.ARMCC
# This is to prevent inclusion of the shipped RVCT headers, which are often in the
# environment variable RVCTxxINC by default. -J prevents the searching of that location,
# but needs a path, so just specify somewhere guaranteed not to contain header files.
Expand All @@ -9,6 +10,7 @@ symbian-armcc {
} else:symbian-gcce {
QMAKE_CFLAGS += $$QMAKE_CFLAGS.GCCE
QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS.GCCE
QMAKE_LFLAGS += $$QMAKE_LFLAGS.GCCE
}

# We need a target name without the INFIX'ed part, since flags are not infixed.
Expand Down
1 change: 1 addition & 0 deletions mkspecs/features/uic.prf
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ uic3 {
uic3_moc.input = UIC3_HEADERS
uic3_moc.variable_out = GENERATED_SOURCES
uic3_moc.name = $$moc_header.name
!contains(TEMPLATE, "vc.*"):!isEmpty(INCLUDETEMP):uic3_moc.depends += $$INCLUDETEMP
QMAKE_EXTRA_COMPILERS += uic3_moc
}

Expand Down
2 changes: 1 addition & 1 deletion mkspecs/features/win32/embed_manifest_dll.prf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!if(plugin:no_plugin_manifest):if(win32-msvc2005*|win32-msvc2008*|win32-msvc2010*):!static:!equals(TEMPLATE_PREFIX, "vc"):equals(TEMPLATE, "lib") {
!if(plugin:no_plugin_manifest):if(win32-msvc2005*|win32-msvc2008*|win32-msvc2010*):!static:equals(TEMPLATE, "lib") {
MANIFEST_DIR = $$OBJECTS_DIR
isEmpty(MANIFEST_DIR):MANIFEST_DIR = .
NOPATH_TARGET = $$TARGET
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/features/win32/embed_manifest_exe.prf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if(win32-msvc2005*|win32-msvc2008*|win32-msvc2010*):!equals(TEMPLATE_PREFIX, "vc"):equals(TEMPLATE, "app") {
if(win32-msvc2005*|win32-msvc2008*|win32-msvc2010*):equals(TEMPLATE, "app") {
MANIFEST_DIR = $$OBJECTS_DIR
isEmpty(MANIFEST_DIR):MANIFEST_DIR = .
NOPATH_TARGET = $$TARGET
Expand Down
10 changes: 2 additions & 8 deletions mkspecs/features/win32/qaxserver.prf
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@ isEmpty(ACTIVEQT_VERSION):ACTIVEQT_VERSION = 1.0

DEFINES += QAXSERVER

ACTIVEQT_IDE = makefile
equals(TEMPLATE_PREFIX, "vc"):ACTIVEQT_IDE = VisualStudio
equals(TEMPLATE, "vcapp"):ACTIVEQT_IDE = VisualStudio
equals(TEMPLATE, "vclib"):ACTIVEQT_IDE = VisualStudio

equals(ACTIVEQT_IDE, "VisualStudio") {
contains(TEMPLATE, "vc.*") {
ACTIVEQT_IDC = $${QMAKE_IDC} ### Qt5: remove me
qtPrepareTool(ACTIVEQT_IDC, idc)
ACTIVEQT_IDL = $${QMAKE_IDL}
Expand All @@ -27,8 +22,7 @@ equals(ACTIVEQT_IDE, "VisualStudio") {
}
ACTIVEQT_TLBOUT = "$(TargetDir)/$${TARGET}.tlb"
GENERATED += $${OBJECTS_DIR}/$${TARGET}.idl $${ACTIVEQT_TLBOUT}
}
equals(ACTIVEQT_IDE, "makefile") {
} else {
ACTIVEQT_IDC = -$(IDC)
ACTIVEQT_IDL = -$(IDL)
ACTIVEQT_NEWLINE = $$escape_expand(\\n\\t)
Expand Down
6 changes: 3 additions & 3 deletions mkspecs/symbian-armcc/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ QMAKE_RVCT_LINKSTYLE = 1

#QMAKE_qtmain_CXXFLAGS = --arm
#QMAKE_QtCore_CXXFLAGS =
QMAKE_QtGui_LFLAGS = "--rw-base 0x800000"
#QMAKE_QtGui_LFLAGS = "--rw-base 0x800000"
#QMAKE_QtDBus_CXXFLAGS =
#QMAKE_QtDeclarative_CXXFLAGS =
#QMAKE_QtMultimedia_CXXFLAGS =
Expand All @@ -27,9 +27,9 @@ QMAKE_QtGui_LFLAGS = "--rw-base 0x800000"
#QMAKE_QtTest_CXXFLAGS =
#QMAKE_QtXmlPatterns_CXXFLAGS =
#QMAKE_QtXml_CXXFLAGS =
QMAKE_QtWebKit_CXXFLAGS = --arm
#QMAKE_QtWebKit_CXXFLAGS = --arm
# Move RW-section base address to start from 0xE00000 instead of the toolchain default 0x400000.
QMAKE_QtWebKit_LFLAGS = --rw-base 0xE00000
#QMAKE_QtWebKit_LFLAGS = --rw-base 0xE00000

QMAKE_CFLAGS += --dllimport_runtime --diag_suppress 186,611,654,1300 --thumb --fpu softvfp --cpu 5T --enum_is_int -Ono_known_library --fpmode ieee_no_fenv --no_vfe --apcs /inter
QMAKE_CXXFLAGS += $$QMAKE_CFLAGS
Expand Down
7 changes: 3 additions & 4 deletions mkspecs/symbian-gcce/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ QMAKE_AR = arm-none-symbianelf-ar cqs

QMAKE_qtmain_CXXFLAGS = -mthumb
QMAKE_QtCore_CXXFLAGS = -mthumb
QMAKE_QtGui_LFLAGS = -Ttext 0x8000 -Tdata 0xE00000
#QMAKE_QtGui_LFLAGS = -Ttext 0x8000 -Tdata 0xE00000
QMAKE_QtDBus_CXXFLAGS = -mthumb
QMAKE_QtDeclarative_CXXFLAGS = -mthumb
QMAKE_QtMultimedia_CXXFLAGS = -mthumb
Expand All @@ -35,8 +35,7 @@ QMAKE_QtSvg_CXXFLAGS = -mthumb
QMAKE_QtTest_CXXFLAGS = -mthumb
QMAKE_QtXmlPatterns_CXXFLAGS = -mthumb
QMAKE_QtXml_CXXFLAGS = -mthumb
#TODO fails with; arm-none-symbianelf-ld: section .data loaded at [00e00000,00e05973] overlaps section .text loaded at [00008000,00fe748b]
QMAKE_QtWebKit_LFLAGS = -Ttext 0x8000 -Tdata 0xE00000
#QMAKE_QtWebKit_LFLAGS = -Ttext 0x8000 -Tdata 0xE00000

# never use -fPIC, gcce-linker doesn't like it.
# g++ conf above adds it if the host platform is 64 bit, so we remove it again
Expand All @@ -59,7 +58,7 @@ QMAKE_LFLAGS_PLUGIN += $$QMAKE_LFLAGS_SHLIB

gcceExtraFlags = --include=$${EPOCROOT}epoc32/include/gcce/gcce.h -march=armv5t -mapcs -mthumb-interwork -nostdinc -c -msoft-float -T script
QMAKE_CFLAGS += $${gcceExtraFlags}
QMAKE_CXXFLAGS += $${gcceExtraFlags} -x c++ -fexceptions -fno-unit-at-a-time -fvisibility-inlines-hidden
QMAKE_CXXFLAGS += $${gcceExtraFlags} -x c++ -fexceptions -fno-unit-at-a-time -fvisibility-inlines-hidden -Os
#If we are not going to link to Qt or qtmain.lib, we need to include this at least once.
isEmpty(QT):contains(TEMPLATE, app) {
QMAKE_CXXFLAGS += --include=$${EPOCROOT}epoc32/include/stdapis/staticlibinit_gcce.h
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/wince50standard-armv4i-msvc2005/default_post.prf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Visual Studio has some definitions set internally.
# Thus we do not need to redefine these.
if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) {
equals(TEMPLATE, "vc.*") {
DEFINES -= _M_ARM
QMAKE_CXXFLAGS += -fp:precise
}
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/wince50standard-mipsii-msvc2005/default_post.prf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Visual Studio has some definitions set internally.
# Thus we do not need to redefine these.
if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) {
contains(TEMPLATE, "vc.*") {
DEFINES -= _M_MRX000=3000
QMAKE_CXXFLAGS += -fp:precise
}
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/wince50standard-x86-msvc2005/default_post.prf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Visual Studio has some definitions set internally.
# Thus we do not need to redefine these.
if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) {
equals(TEMPLATE, "vc.*") {
QMAKE_CXXFLAGS += -fp:precise
}

2 changes: 1 addition & 1 deletion mkspecs/wincewm50pocket-msvc2005/default_post.prf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Visual Studio has some definitions set internally.
# Thus we do not need to redefine these.
if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) {
contains(TEMPLATE, "vc.*") {
DEFINES -= _M_ARM
QMAKE_CXXFLAGS += -fp:precise
}
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/wincewm50smart-msvc2005/default_post.prf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Visual Studio has some definitions set internally.
# Thus we do not need to redefine these.
if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) {
contains(TEMPLATE, "vc.*") {
DEFINES -= _M_ARM
QMAKE_CXXFLAGS += -fp:precise
}
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/wincewm60professional-msvc2005/default_post.prf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Visual Studio has some definitions set internally.
# Thus we do not need to redefine these.
if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) {
contains(TEMPLATE, "vc.*") {
DEFINES -= _M_ARM
QMAKE_CXXFLAGS += -fp:precise
}
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/wincewm60standard-msvc2005/default_post.prf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Visual Studio has some definitions set internally.
# Thus we do not need to redefine these.
if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) {
contains(TEMPLATE, "vc.*") {
DEFINES -= _M_ARM
QMAKE_CXXFLAGS += -fp:precise
}
Expand Down
Loading

0 comments on commit fda9cc1

Please sign in to comment.