Skip to content

Commit d5cf162

Browse files
author
Qt Continuous Integration System
committed
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1: Compile when -no-rtti is specified as a configure option Ensure that the RC_FILE is correctly handled in a single configuration
2 parents da8a056 + 2c072ae commit d5cf162

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

qmake/generators/win32/msbuild_objectmodel.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2896,6 +2896,7 @@ XmlOutput &operator<<(XmlOutput &xml, const VCXProjectSingleConfig &tool)
28962896
tempProj.outputFilter(xml, xmlFilter, tempProj.ExtraCompilers.at(x));
28972897
}
28982898

2899+
tempProj.outputFilter(xml, xmlFilter, "Root Files");
28992900
xml << import("Project", "$(VCTargetsPath)\\Microsoft.Cpp.targets");
29002901

29012902
xml << tag("ImportGroup")

src/imports/shaders/shadereffect.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ ShaderEffect::~ShaderEffect()
6161

6262
void ShaderEffect::prepareBufferedDraw(QPainter *painter)
6363
{
64+
#ifndef QT_NO_DYNAMIC_CAST
6465
// This workaround needed because QGraphicsEffect seems to always utilize default painters worldtransform
6566
// instead of the active painters worldtransform.
6667
const ShaderEffectBuffer *effectBuffer = dynamic_cast<ShaderEffectBuffer*> (painter->device());
@@ -70,6 +71,9 @@ void ShaderEffect::prepareBufferedDraw(QPainter *painter)
7071
} else {
7172
savedWorldTransform = painter->worldTransform();
7273
}
74+
#else
75+
Q_UNUSED(painter);
76+
#endif
7377
}
7478

7579
void ShaderEffect::draw (QPainter *painter)

0 commit comments

Comments
 (0)