| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Back-ported from Qt5 changes:
24b1b6bd5c6a3960cfdf71cc644d95926430c267
d641f03b6efecce266ef329eb4bbc48d87c2fc12
2734491c7230bfa54af46ef56085a56e61eed8a0
f037bb1fa72b7dee790367776a913b18a07445ac
Change-Id: I73e2e8996376ea40b9763224554aafba7fe7bdb6
Reviewed-by: Danny Pope <daniel.pope@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
qt_snprintf is an internal function of testlib which is likely to be
removed in the future. Therefore, it should not be called from outside
of testlib.
Change-Id: I22ede3fbfd6e899aa66f32a6666f13bdda86a849
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Follow the example of the Sphere and convert Cylinder and Capsule to
being meshes as well.
Add some useful doc to the three classes showing the performance and
other considerations for each.
Add a basic manual test, with a README.
Slightly improve the warning message from QDeclarativeMesh.
Fix a bug with Sphere where nothing would display if the default
values for a sphere were used. This was because the createGeometry()
function was only triggered when properties changed. Now also
trigger it if draw is called and the scenegraph for the object
has not yet been created. Same code was also required on the
new shape meshes.
Change-Id: I475e34e31741ba8583587961fc3d0ee3d03bcb9d
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There was a performance bug illustrated by a Qt3D user where an app that
had a large number of identical spheres, took minutes to load.
The problem was that even though the geometry was identical there was no
way to utilise this to create a scene with multiple items referencing
one sphere, because the geometry actually was being created in the draw
function....
Now fixed so that the Sphere becomes a SphereMesh which can be
referenced from any number of Item3D's.
Added a Sphere convenience class so that legacy code will keep working.
Updated the solarsystem_qml class to use the new functionality.
Change-Id: I62a60b519bbb048ecadaa09e0d5520ddb49ff100
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The fixes are going into the qtc_harmattan packaging scripts, since the
scratchbox for harmattan seems to be no longer working. Eventually we
should remove it and put the qtc_harmattan one in instead, but for now
keep both around until its proven to work. This is also important
because bifh might need it.
Basically - remove the translation line, fix up a lot of broken desktop
files, use a different location for the icons, and generally fix all
the problems as described in the bug.
Task-number: QTBUG-21955
Change-Id: I02cdf6c02ef9515b14384aaaf8e039a09a6cb82b
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
|
| |
These desktop files are a pain to maintain and we now must begin to
deprecate N900 support, by removing them.
Change-Id: If53ed68079b11057aed6c6588ed2b9865c67e38b
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
|
|
| |
Problems with display on the launcher grid are attributed to the
translation line being there when there is no translation supplied. In
any case its not helping so remove it.
Change-Id: I7e537214f878023dfde81ce0f76320f825b4eeed
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
| |
This reverts commit f05af7cd00ef88dcfabb4b62c81b661684ef94e6.
Change-Id: I3f2f376013c56f2583fbf5974435980158f0e265
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is kind of a hack but its so succinct and seems to work so well
that I'm inclined to give it a run and see if there is any problems
with it before going for something much more complex and disruptive.
The alternative would be to try to factor out the rendering logic
from the Viewport class into a new class in the libQt3DQuick.so - where
it can be accessed by the Item3D implementation (QDeclarativeItem3D)
and to make a basic Viewport QML item that used the rendering logic, and to
have Item3D use it if it was not a descendant of a Viewport.
The hack is good because it avoids all this hand-wringing and
anxiety by simply asking the declarative system to create us a viewport using a
piece of script, so we don't even need to reference the viewport
class at all.
Change-Id: I16b4d4666c86e679dd4b9d81c54a8cd12f4a957a
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
| |
Change-Id: I0575d207c16852ddda3ee234405801825d7930ca
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
| |
Change-Id: I8aa01cb85d63e135f5ca1570f38d8f7803e7dfe1
Reviewed-on: http://codereview.qt-project.org/5959
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
| |
Change-Id: I430b08ad73bfef5047cd84b52f1dc7c994d52cac
Reviewed-on: http://codereview.qt-project.org/5910
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
| |
Change-Id: I33d5bdd08e607795908a4cabae361866243c170c
Reviewed-on: http://codereview.qt-project.org/4835
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
|
|
| |
This reverts commit 76e2cd5378fabeeb3cb438c7bf31e16c98d0cb77.
Change-Id: Ic52ab29b0857f3fc56773e4f51717228ea337890
Reviewed-on: http://codereview.qt-project.org/4929
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 6d4888bab754e3dd439599ed53c2a3ae900760e9, reversing
changes made to 1427884ac16febb8ee12d240236fb4f223902aea.
Change-Id: I3fc9981f8c76a36feeaba6e83bcffdea03fd09fd
Reviewed-on: http://codereview.qt-project.org/4930
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
demos/quick3d/robo_bounce/main.cpp
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Change-Id: I8cfc3cd2d4225ff9ea04f62b2820f0ee4cd53504
Reviewed-on: http://codereview.qt-project.org/4721
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
Reviewed-by: Danny Pope <daniel.pope@nokia.com>
|
|/
|
|
|
|
|
|
| |
added project file and qtt file
Change-Id: I8cdfc82f28808506ecb3036d65f185ba3765923e
Reviewed-on: http://codereview.qt-project.org/4391
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
| |
Change-Id: I6aab8308f752900e2fdab037743d3aa8c5b2da91
Reviewed-on: http://codereview.qt.nokia.com/3891
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
| |
Change-Id: I0f518965e0c97516dc0bba14a438b8d0dac2d9ce
Reviewed-on: http://codereview.qt.nokia.com/2759
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
|
| |
Change-Id: I4e3e91b292386f60aa6a75a21c1a3637d1e5df60
Reviewed-on: http://codereview.qt.nokia.com/2547
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
| |
Change-Id: I4c0827759fb6e27846d76977ca16c835f98efa15
Reviewed-on: http://codereview.qt.nokia.com/2617
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
|
| |
Change-Id: I710f191a90f5b024368fccebb4e61d1eac71f219
Reviewed-on: http://codereview.qt.nokia.com/2544
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed harmattan build issues with lack of CONFIG += package flag.
Fixed harmattan lack-of-icons bug.
Fixed multiple inclusions of pkg.pri.
Fixed multiple inclusions of symbian icons.
Change-Id: I6dfb925efa13af39d3a7fbc651743fbd551f840d
Reviewed-on: http://codereview.qt.nokia.com/2315
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implemented correctly the clip space algorithm and
fixed a number of minor but fatal problems with the
previous implementation.
Also added useful debug to the camera class, which
helped during debugging.
Made a correction to the frustum doc, which impacted
the testing work, and added a section on the aspect
ratio which had garnered some questions on the list.
In the tests, added some tests that cover the view
frustum being forwards or backwards over the object
being viewed/culled, which was not covered before.
Change-Id: I488441eb89b5b112daa973d13260880ee3286038
Reviewed-on: http://codereview.qt.nokia.com/2258
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Danny Pope <daniel.pope@nokia.com>
Reviewed-by: Zheng Liu <zheng.g.liu@nokia.com>
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Should eliminate problems where the "qml" directories aren't
being updated upon rebuilds, and allows easier deployment to
devices via Qt Creator.
Change-Id: I5323ba460bbad395f82341da560e75d35288fea3
Reviewed-on: http://codereview.qt.nokia.com/2247
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
| |
Change-Id: I97f8cdccecbf015a60f09a85f5e55ecd3f778377
Reviewed-on: http://codereview.qt.nokia.com/2230
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
| |
Change-Id: Ief07b4656cb676ea74ec389154ffd07dfde50abd
Reviewed-on: http://codereview.qt.nokia.com/2229
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixing reported problems with the isCullable function.
Implement an improved very clear unit test for the
isCullable functions, that are split out by value
rather than being buried in a for loop.
Also spend some time documenting the expected beha-
vior of these functions and visualising this.
The isCullableVert test has been marked with
QSKIP(..., SkipAll)
which means that CI should let it pass so we can
integrate and keep moving on with a fix for the bug.
Change-Id: Ibb8c9493256cb1480c2bbda1792f3751830031cd
Reviewed-on: http://codereview.qt.nokia.com/1928
Reviewed-by: Julian de Bhal <julian.debhal@nokia.com>
|
|
|
|
|
|
|
| |
Change-Id: I471f5f8c6301a1d694060a76108894d1a4aea922
Reviewed-on: http://codereview.qt.nokia.com/1912
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
| |
Change-Id: I18912a5667dd13a11e74b0dcd7f27833a301f764
Reviewed-on: http://codereview.qt.nokia.com/1856
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
|
|
|
|
|
|
|
| |
Change-Id: I3f46cf64ede0cf0647ca1cfc2fc95e837500a07c
Reviewed-on: http://codereview.qt.nokia.com/1340
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
|
| |
Add change id.
Change-Id: Iae6bf8b7d33465d1dcc9726af5dd07020c257e9a
Reviewed-on: http://codereview.qt.nokia.com/1554
Reviewed-by: Sarah Jane Smith
|
|
|
|
|
|
| |
Change-Id: If09c645392d34b4174c85462679dbe535fb5b521
Reviewed-on: http://codereview.qt.nokia.com/1476
Reviewed-by: Sarah Jane Smith
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Qt5 checks in all qmlres.h files.
Removed duplicate += qtquick3d's in pro files.
Updated manual test to use DeclarativeView3D's.
Updated the qmlres.h files for demos/tutorials/tests to point to the
resources/examples directory where all the qml files are stored,
rather then resources/demos, resouces/tutorials, resources/tests, which
don't exist.
Change-Id: I5e8c99e22cf1bf6aace8fd595e42c8beb736d823
Reviewed-on: http://codereview.qt.nokia.com/1338
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Julian de Bhal <julian.debhal@nokia.com>
|
|
|
|
|
|
|
|
|
| |
Also added some documentary comments to loading files from qrc.
Change-Id: I5f0c1e72eecdf39bb8409a97b2bd227b2fb03c18
Reviewed-on: http://codereview.qt.nokia.com/1335
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Julian de Bhal <julian.debhal@nokia.com>
|
|
|
|
|
|
|
| |
Change-Id: I2b8fe0a7ec59d44d89e233d48c2410c22ce92fea
Reviewed-on: http://codereview.qt.nokia.com/1224
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
| |
Change-Id: I479d752620051021c7b77b0f0c8cb9b4ce2d10fb
Reviewed-on: http://codereview.qt.nokia.com/1266
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Conflicts:
examples/quick3d/photoroom/main.cpp
pkg.pri
Change-Id: I01238e324968f30c0a85177fa9db84e8d0d69ed4
Reviewed-on: http://codereview.qt.nokia.com/1124
Reviewed-by: Sarah Jane Smith
|
|
|
|
|
|
|
|
|
| |
No-one had apparently run it in a while.
Change-Id: I7dd292f322f93c081fb252f847d56b13a5dd3738
Reviewed-on: http://codereview.qt.nokia.com/1198
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Sarah Jane Smith
|
|
|
|
|
|
|
| |
Change-Id: I63cbd719938c12e686026d6465a733a060d35538
Reviewed-on: http://codereview.qt.nokia.com/1135
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Sarah Jane Smith
|
|
|
|
|
|
|
| |
Change-Id: I2b7709b36112795d5a3c501fa04a040c8bb5c3d8
Reviewed-on: http://codereview.qt.nokia.com/1134
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Sarah Jane Smith
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Packaging was always not so good. With the arrival of yet another
packaging system to support, with QtSDK and Harmattan, it was overdue
time to refactor the build system.
Factored out all the places where Qt3D and QtQuick3D dependencies were
exactly 3 levels below the source .pro file. This catches all of the
examples and all of the demos, except for the ones in the tutorials
directories. It is fine if those don't appear in packages, since their
main value is in examining them in the IDE, rather than just having a
package run them for you. It also catches both of the import plugins.
Thus we save a huge amount of duplication of packaging information and
can place the Qt SDK Harmattan packaging into a couple of variables in a
new pkg.pri file. The two deps are now in a qt3d_pkg_dep.pri and
qt3dquick_pkg_dep.pri file which include the pkg.pri.
Change-Id: I28de17d7faa5ccf9157afad99471079c0b62ee87
Reviewed-on: http://codereview.qt.nokia.com/1191
Reviewed-by: Sarah Jane Smith
|
|
|
|
|
|
|
|
|
|
| |
On windows the qWarning is magically visible in the Qt Creator output window
but fprintf is not.
Change-Id: If89ddac204b476abf2a1514d52771156ce3eea9a
Reviewed-on: http://codereview.qt.nokia.com/1112
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
| |
Change-Id: Ifae6515ccd48bc4129ae941f22b4af5279ec4c4a
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
tests/auto/threed/qglscenenode/tst_qglscenenode.cpp
Change-Id: I2ec395ac70ebc7b3ca69b649b3288e02bf03d43b
|
| |
| |
| |
| | |
Change-Id: I5a21506a41ccc326d6efc8739400d141eb84d48f
|
| |
| |
| |
| | |
Change-Id: I1189b6c488f2e05a74e149148724936041186374
|