Merge lp:~aacid/qtmir/fast_string_concatenation into lp:qtmir

Proposed by Albert Astals Cid
Status: Merged
Approved by: Gerry Boland
Approved revision: 382
Merged at revision: 412
Proposed branch: lp:~aacid/qtmir/fast_string_concatenation
Merge into: lp:qtmir
Diff against target: 13 lines (+3/-0)
1 file modified
CMakeLists.txt (+3/-0)
To merge this branch: bzr merge lp:~aacid/qtmir/fast_string_concatenation
Reviewer Review Type Date Requested Status
Gerry Boland (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+272938@code.launchpad.net

Commit message

Enable Efficient String Construction by default

See http://blog.qt.io/blog/2011/06/13/string-concatenation-with-qstringbuilder/

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Gerry Boland (gerboland) wrote :

Does this actually *do* anything for us? We do very little string building in qtmir.

It doesn't hurt either

review: Needs Information
Revision history for this message
Albert Astals Cid (aacid) wrote :

You're right there's not many, a few in application.cpp but it won't hurt and it's for free :D

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Gerry Boland (gerboland) wrote :

It's free. I'll take it so.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2015-09-17 20:17:17 +0000
3+++ CMakeLists.txt 2015-09-30 15:55:55 +0000
4@@ -81,6 +81,9 @@
5
6 add_definitions(-DMIR_REQUIRE_DEPRECATED_EVENT_OPT_IN=1)
7
8+# Use the fast string builder
9+add_definitions(-DQT_USE_QSTRINGBUILDER)
10+
11 include_directories( ${APPLICATION_API_INCLUDE_DIRS} )
12
13 # We expect this to be set via debian/rules for GLES builds

Subscribers

People subscribed via source and target branches