aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* qmlviewer resizes the root object multiple times.Martin Jones2011-07-262-0/+6
| | | | | | | | | | | | | | In SizeRootObjectToView mode on initial load the view was set to root object size, then the sceneResized() slot would resize back, then we would finally reset back to the correct value in statusChanged(true). Now react directly to the initial size being set. Change-Id: Ib6977cf7bad3fe79b9ac80bb6d916fb0f57c5f5e Fixes: QTBUG-16499 Reviewed-on: http://codereview.qt.nokia.com/2148 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* QDeclarativeView/QSGView SizeRootObjectToView still resizes viewMartin Jones2011-07-262-2/+4
| | | | | | | | | | | Only resize view to object in SizeRootObjectToView if the view has not had a size set, i.e. at initial construction. Change-Id: Ic5ad3cbb3b071c3498047be893da2c7bf0957986 Fixes: QTBUG-15863 Reviewed-on: http://codereview.qt.nokia.com/2132 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* Use visible only, and not opacity, in positionersAlan Alpert2011-07-261-3/+2
| | | | | | | | | Task-number: QTBUG-12940 Change-Id: Id637bbd7c30aea8bc23c2aeaccfb069a8de7955f Reviewed-on: http://codereview.qt.nokia.com/2082 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Remove onMousePositionChanged signal.Michael Brasser2011-07-263-15/+22
| | | | | | | | | | | | This signal was meant to be "private" (not directly used from QML). Provide separate signals for onMouseXChanged and onMouseYChanged. Task-number: QTBUG-18656 Change-Id: Iefc3d78e270db9c037bbb1b890925b4841f2d5fa Reviewed-by: Martin Jones Reviewed-on: http://codereview.qt.nokia.com/2142 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Reference resources to prevent crash (on some platforms)Aaron Kennedy2011-07-261-0/+2
| | | | | | | | | | Prevent the data blob from being deleted in done(). Task-number: QTBUG-18268 Change-Id: Ib265e6fc3e1539d0baf20e365c1f88f615b121dc Reviewed-on: http://codereview.qt.nokia.com/2138 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Ouptut non-NOTIFYable warnings againAaron Kennedy2011-07-263-12/+20
| | | | | | | | Task-number: QTBUG-20280 Change-Id: Ia950c8c9dfa14e568a306beeb72474b2d5049db1 Reviewed-on: http://codereview.qt.nokia.com/2069 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Update polish even when animations aren't runningAaron Kennedy2011-07-262-2/+7
| | | | | | | | Task-number: QTBUG-20078 Change-Id: I095a872d72da61248794ec4a2a85f91ee618cdbc Reviewed-on: http://codereview.qt.nokia.com/2063 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Move the cursor position to the end when TextInput.readOnly is cleared.Andrew den Exter2011-07-261-0/+2
| | | | | | | | | | Improves consistency with TextEdit. Task-number: QTBUG-18747 Change-Id: Ieb0a332441557fc6ba4c5ddaafea5c634aff1ee4 Reviewed-on: http://codereview.qt.nokia.com/2131 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Bounding rectangle for image is wrong for PreserveAspectCropYann Bodson2011-07-261-1/+16
| | | | | | | | Task-number: QTBUG-20300 Change-Id: I8aa84ec64f7be536e56cdc1c04a6c2f204e06c26 Reviewed-on: http://codereview.qt.nokia.com/1859 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Fixes AnimatedImage documentationYann Bodson2011-07-261-9/+2
| | | | | | | | | | Animated images are not cached or shared internally. Task-number: QTBUG-14847 Change-Id: I0b9362a4ff9299b4c18057fb6f005925386f48d1 Reviewed-on: http://codereview.qt.nokia.com/2143 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
* Crash even lessAlan Alpert2011-07-262-1/+1
| | | | | | | | | | Should not set pointer to zero if we're going to use it again. Task-number: QTBUG-20407 Change-Id: Iea1ea879bf3fe53e2e8ac8d93648ab28a0fc7b12 Reviewed-on: http://codereview.qt.nokia.com/2064 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Don't error if response results in UnknownContentErrorBea Lam2011-07-261-1/+2
| | | | | | | | | | | | | XMLHttpRequest specs state that only 'network errors' should result in a request error, and a HTTP response like 400 Bad Request (which results in QNetworkReply::UnknownContentError) is an indication of the HTTP server response rather than a network error. Task-number: QTBUG-20146 Change-Id: I10c132788200e15b0362da839689a0bb3c2b4a0d Reviewed-on: http://codereview.qt.nokia.com/1915 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Correct TextInput.PasswordEchoOnEdit documentation.Andrew den Exter2011-07-251-1/+2
| | | | | | | | | | | | | The documentation incorrectly stated that this mode masked all but the last character, the actual behavior is as described in the QLineEdit documentation. Task-number: QTBUG-20003 Change-Id: I8a89a6818c930125821435bc04121340968dfbb2 Reviewed-on: http://codereview.qt.nokia.com/2067 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
* Set classname for cloned extension meta objectsAaron Kennedy2011-07-251-0/+3
| | | | | | | | | Task-number: QTBUG-16273 Change-Id: I33c6e2985caba8e506312ddb9007aaea3d00befd Reviewed-on: http://codereview.qt.nokia.com/2087 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Reverse lookup ids by object pointerAaron Kennedy2011-07-252-4/+27
| | | | | | | | Task-number: QTBUG-18554 Change-Id: Ia4effb629d19aa36b835f6c09a63d9495e5c26e7 Reviewed-on: http://codereview.qt.nokia.com/2079 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Scroll correctly when cursorPosition is changed within onTextChanged.Andrew den Exter2011-07-252-4/+4
| | | | | | | | | | | | | | | | | | | | | Emit textChanged() before adjusting size and scroll positions otherwise the calculations will be based on the cursor position before it's moved in handler and because the cursor position won't ultimately have changed there won't be a follow up cursorPositionChanged() signal to trigger a second set of calculation. Task-number: QTBUG-19912 Reviewed-by: Martin Jones (cherry picked from commit bb11b53bedb8e239b9439b4a3fc3320e35c2de57) Conflicts: src/declarative/graphicsitems/qdeclarativetextinput.cpp Change-Id: I579bc3fe6c80766dfadfbc9dbd46144607bf7b03 Reviewed-on: http://codereview.qt.nokia.com/2058 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
* Use engine where appropriate in QDeclarativePropertyAaron Kennedy2011-07-252-5/+13
| | | | | | | | Task-number: QTBUG-14697 Change-Id: Id15def75271666699b1fe23e39991710afebff59 Reviewed-on: http://codereview.qt.nokia.com/2077 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Only manage opacity when m_fade is trueAlan Alpert2011-07-252-5/+6
| | | | | | | | | | In all cases, visualize lifecycle with 'visible' property instead. Task-number: QTBUG-20438 Change-Id: Ib0b732708e14ad043c5b673205eaec0467e38174 Reviewed-on: http://codereview.qt.nokia.com/2071 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Allow object to be accessed by multiple QDeclarativeEnginesAaron Kennedy2011-07-252-14/+10
| | | | | | | | | Task-number: QTBUG-18610 Change-Id: Idd9444018b5344586d6579ddac6a0ffd26bf7139 Reviewed-on: http://codereview.qt.nokia.com/2075 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Allow static alias to composite typeAaron Kennedy2011-07-251-14/+6
| | | | | | | | | Task-number: QTBUG-20200 Change-Id: I2a118dfc9ce1956e038f70049c905ec38396fe5e Reviewed-on: http://codereview.qt.nokia.com/2062 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Handle pinch correctly when one point is released and repressed.Martin Jones2011-07-253-9/+15
| | | | | | | | | | | | | The pinch is not finished at the time one point is released. Ensure that a onPinchStarted is called each time a repress happens, and that onPinchFinished is called when all points are released. Fixes: QTBUG-19632 Change-Id: I467dd612383f7dd11d58a9df063dd86860796216 Reviewed-on: http://codereview.qt.nokia.com/2059 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Support better boolean conversion semanticsAaron Kennedy2011-07-251-0/+3
| | | | | | | | | Task-number: QTBUG-20242 Change-Id: Ie678f6189a8060de600b5394fbaaaef49be274c6 Reviewed-on: http://codereview.qt.nokia.com/2061 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Correctly load flags for binding propertiesAaron Kennedy2011-07-253-13/+19
| | | | | | Change-Id: I80e79ff7de8d879f700f9f4fe96d796de0f17aff Reviewed-on: http://codereview.qt.nokia.com/2055 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Notify when the TextInput cursorRectangle property changes within pre-editAndrew den Exter2011-07-252-36/+23
| | | | | | | | | | Apply 452e13b5407fa4c36f9a573c305d41f551762b93 to scene graph items. Task-number: QTBUG-19089 Change-Id: I4501bdc940cbac9ba2ef068b87ded83b1c86976f Reviewed-on: http://codereview.qt.nokia.com/2054 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
* Don't assert on incorrect file urlAaron Kennedy2011-07-251-4/+2
| | | | | | | | | | | | | | Exceptions thrown from within a QObject method have the same special origin "string" that we use to identify QObject function objects as QObject function objects. Until we can modify this, or switch to function objects in a later V8, we can't get correct source information for these exceptions. Task-number: QTBUG-20344 Change-Id: I02aa2d81ac78c2951d7ea714f33612160ded2476 Reviewed-on: http://codereview.qt.nokia.com/1475 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Enter context scopeAaron Kennedy2011-07-251-0/+1
| | | | | | | | Task-number: QTBUG-20485 Change-Id: Ifc7fa998a253b01d8114d00d537faca5df5c93c9 Reviewed-on: http://codereview.qt.nokia.com/2053 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Documentation fix.Casper van Donderen2011-07-221-10/+6
| | | | | | | | | Fixes: QTBUG-20390 Change-Id: I30a4b4d1618f80c9a1246955a9b1d6c9f8fbfd57 Reviewed-on: http://codereview.qt.nokia.com/1655 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
* Fix layout bug from view refactoringBea Lam2011-07-221-3/+3
| | | | | | | | | | | | GridView should call layout() not layoutVisibleItems() in setCellWidth(), setCellHeight() and itemsMoved() Bug introduced when refactoring view code into QSGItemView. Change-Id: I48bc63c0a08c10c005bf45a2a7902cb01632cbf9 Reviewed-on: http://codereview.qt.nokia.com/1726 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Update V8Aaron Kennedy2011-07-219-51/+56
| | | | | | | | | | | Fixes a bug in threadsafe symbol id generation, and adds a ComputeHash implementation for const char * strings. Change-Id: Id1fb4c7d9bf8eae59229b3893e8a9ef20dede336 Reviewed-on: http://codereview.qt.nokia.com/1621 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* Compile fix.Kim Motoyoshi Kalland2011-07-211-1/+1
| | | | | | | Change-Id: Ie6e1f814b6791ddc2b02a845ebd8bc20765f7193 Reviewed-on: http://codereview.qt.nokia.com/1941 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
* Qml Debugging: only read properties that can be displayed in the debuggerChristiaan Janssen2011-07-212-7/+8
| | | | | | | | Change-Id: I68a6636aae271924bcec31ce7ad76c01fc43080b Task-number: QTCREATORBUG-5075 Reviewed-on: http://codereview.qt.nokia.com/1893 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* Always position headers at a negative positionBea Lam2011-07-214-42/+33
| | | | | | | | | | | | | | | | | | | | | | | | Previously headers were either positioned at 0 if there were no items in the view, or at (0 - headerSize) if items were present. With this fix they are always positioned at (0 - headerSize) to be consistent. Due to the change, setPosition(-headerSize()) is now called from componentCompleted() to ensure the header is visible. This change also fixes GridView's header and footer positioning in TopToBottom + RightToLeft mode. Also added extra tests for header and footer positioning and fixed incorrect test value in tst_QSGGridView::positionViewAtIndex() (was 460 instead of 430 because previously rowPosAt() always added the header size, so if positionViewAtIndex() jumped past all visible items and caused them to be released, the new items started at +headerSize() instead of 0). Change-Id: I1015bed457d4ae964a7fb13702e2dfc470a168a9 Reviewed-on: http://codereview.qt.nokia.com/1618 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Bulk update of QtQuick 1 docs to \qmlmodule syntaxAlan Alpert2011-07-2143-783/+864
| | | | | | | | Change-Id: I7ed2b54ef5a706dcaf7e19d221a6dda7b2620e8c Reviewed-on: http://codereview.qt.nokia.com/1681 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Make lastPosition() result consistent among GridView and ListViewBea Lam2011-07-214-36/+24
| | | | | | | | | | | | | | | | | | | lastPosition() returns the end position of the last item so it should always include a -1 calculation for the last item (as FxListItemSG::endPosition() and FxGridItemSG::endPosition() do) to get the last edge pixel of the item. With this fix, both views now calculate startPosition() and endPosition() in the same way. This also fixes positioning of GridView items in TopToBottom+RightToLeft layouts. Incorrect test values in positionViewAtIndex_rightToLeft() test are fixed (the last edge of a 1-pixel border shouldn't be visible, since the bottom edge of a 1-pixel border is actually drawn outside, not inside, the Rectangle). Change-Id: I253c3836f871c61e13c08f67007ebc75e09378d6 Reviewed-on: http://codereview.qt.nokia.com/1547 Reviewed-by: Bea Lam <bea.lam@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* Fix memory leaks with QV8Engine's ExtensionDataSimon Hausmann2011-07-201-1/+1
| | | | | | | | | | The destructor has to be virtual for Deletable in order to call the destructor of the super-class. Change-Id: I3aeebe28c0a6bbfbbe3b069e88a6096dd9e173f5 Reviewed-on: http://codereview.qt.nokia.com/1867 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* add font support for context2dCharles Yin2011-07-202-8/+14
| | | | | | | Change-Id: I77a7af006e1c0264365ae6d93bf78416f8b38a62 Reviewed-on: http://codereview.qt.nokia.com/1686 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Charles Yin <charles.yin@nokia.com>
* Add isEmpty() methodBea Lam2011-07-201-0/+4
| | | | | | | Change-Id: Ia0eadcd20b2f14433a7e3a89d97d7a21ec353aa5 Reviewed-on: http://codereview.qt.nokia.com/1628 Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* Refactor ListView and GridView implementationsBea Lam2011-07-208-3530/+2885
| | | | | | | | | Places common code into QSGItemView. Change-Id: Ic310dbe7e16774163ba393860da64a0da7d4ea0a Reviewed-on: http://codereview.qt.nokia.com/1200 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Hook up durationVariation on SpritesAlan Alpert2011-07-204-9/+26
| | | | | | | Change-Id: I11ea38fc87373604debd469e03af3447b8adcecb Reviewed-on: http://codereview.qt.nokia.com/985 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Initial stab at docs for QtQuick.Particles 2.0Alan Alpert2011-07-2028-3/+645
| | | | | | | Change-Id: I3c53f7998dff95616a994edf19094fa4007d74ab Reviewed-on: http://codereview.qt.nokia.com/1388 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Remove traces of webkitAlan Alpert2011-07-201-4/+0
| | | | | | | | | | | Removes the entire wince section for qmlviewer.pro, as wince is not yet supported for qt5 and its unclear what damage removing the webkit part would have done to it. Change-Id: Ib0c721856bb7a28c3238e85c8cc93b43e6e63368 Reviewed-on: http://codereview.qt.nokia.com/1267 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Renamed the Bindable class to QSGBindable.Kim Motoyoshi Kalland2011-07-204-18/+18
| | | | | | | Change-Id: Id00868bd0ea93010912f06fba67624fb325ecc41 Reviewed-on: http://codereview.qt.nokia.com/1818 Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* Improved the performance of distance-field generation.Kim Motoyoshi Kalland2011-07-204-334/+2327
| | | | | | | Change-Id: Ie17650196c7e4531cbc6f760905e41d95808efcd Reviewed-on: http://codereview.qt.nokia.com/1675 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Fixed QSGDistanceFieldGlyphNode initialization order.Yoann Lopes2011-07-205-9/+41
| | | | | | | Change-Id: Id2e8ccf6441ce7e7a2bcdd6f0d50745e7d9ba653 Reviewed-on: http://codereview.qt.nokia.com/1750 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Yoann Lopes <yoann.lopes@nokia.com>
* fix qmltest bugsCharles Yin2011-07-203-6/+50
| | | | | | | Change-Id: If814516b1094b85fba46e215b44e1a2b582179c5 Reviewed-on: http://codereview.qt.nokia.com/1858 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Charles Yin <charles.yin@nokia.com>
* Crash lessAlan Alpert2011-07-202-0/+4
| | | | | | | | | | | Can't run any particles without a system set. Just skip the 'prepareFrame' function in that case. Task-Number: QTBUG-20386 Change-Id: I22332636084d1696d5aff5386a5ca4ff0f2f1866 Reviewed-on: http://codereview.qt.nokia.com/1680 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Export qmlRegisterTypeNotAvailable (used by libqtquick1)Martin Jones2011-07-201-1/+1
| | | | | | | Change-Id: Iec7eba4bb8db97d5df486e512e8767a23b25c47b Reviewed-on: http://codereview.qt.nokia.com/1647 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* make debug_and_release setting statement consistent with qt_module_configOswald Buddenhagen2011-07-201-1/+1
| | | | | | | Change-Id: I2e3e7a40e6bf8701715e7d7068ba7d47138e8d6c Reviewed-on: http://codereview.qt.nokia.com/1784 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Don't use CONFIG -= explicitlib as it messes up the PRL systemMarius Storm-Olsen2011-07-201-5/+2
| | | | | | Change-Id: I75245d0eb21b2b612fd9c7f27a0eb86476e8ff8c Reviewed-on: http://codereview.qt.nokia.com/1837 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Fixed compile (for certain configurations)Rohan McGovern2011-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | This project tried to use libQtTest, but omitted `QT+=testlib'. In most configurations, this didn't matter, because: - for includes, QtQuickTest has copied the content of some QtTest headers, instead of #including them, so the bad INCLUDEPATH went unnoticed - for libraries, libQtTest would be pulled in implicitly either via .prl files or via the system's linker, so the bad LIBS went unnoticed Change-Id: Ie3286718789758bfb80f6832aac7c08bdd85212a Reviewed-on: http://codereview.qt.nokia.com/1812 Reviewed-by: Jonni Rainisto <jonni.rainisto@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>