Commit Graph

18 Commits

Author SHA1 Message Date
Lars Knoll e48c4134af Convert qtdeclarative over to use the new configure system
Change-Id: I105d46e1a4e666f11c07ad63aa24a7c388da1be6
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2016-10-10 14:11:39 +00:00
Laszlo Agocs 6e6079031c Merge remote-tracking branch 'origin/dev' into wip/scenegraphng
Change-Id: If33197b616de3476811f0161d4ecd8e7d004756c
2016-04-13 09:19:18 +02:00
Simon Hausmann cfef926777 Fix error message when Python could not be found
The python script works with Python 2 as well as version 3.

Task-number: QTBUG-51753
Change-Id: I630b7b1811e9896e30b7ba75af972552f1063eff
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2016-03-09 16:17:59 +00:00
Laszlo Agocs 2d1f8937ac Add the skeleton for a D3D12 backend
Proof of concept. The plan is to proceed slowly with supporting node types
one by one, starting with QSGRectangleNode.

Opaque rectangles work already, but only non-smooth for now. The renderer is
incomplete (no clip/opacity) and is based on simplerenderer on scenegraph playground.
Buffer handling is not necessarily optimal yet.

Use QT_QUICK_BACKEND=d3d12 to request this backend. Set QT_D3D_DEBUG=1 to
enable the D3D debug layer. The render loop handles everything, incl. swap
chain setup, handling resizes, etc. This being D3D, there are no further
enablers needed from the QtGui or platform plugin side.

By default the first hardware adapter is picked. In the absence of that,
WARP is tried. The list of adapters is printed at startup, use
QT_D3D_ADAPTER_INDEX to force a given card in case there are multiple
ones in the system.

The goal is not to productize a fast and great renderer, but to pave the way to
better future backends for D3D12 and similar graphics APIs.

Compiling in the support into Qt Quick is bad since the dependency onto
d3d12.dll is not necessarily acceptable, but it's good enough for now, this
being a wip branch.

Change-Id: Ifbe088e7507223328096b22eec2c73f77bb5680e
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
2016-02-19 14:51:37 +00:00
Joerg Bornemann ac47b1520c Check for python executable.
When building QtQml without having python in PATH the build system will
generate an empty RegExpJitTables.h. The linking will then fail because
of unresolved external symbols.

Task-number: QTBUG-47193
Change-Id: I39abf44bf30abfb4a3209713a1fb07faff7ead63
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2016-01-07 10:23:10 +00:00
Simon Hausmann 04f58d58e6 Prospective build fix in the CI system for iOS
Tools contains the import scanner, which is needed by examples.

Change-Id: Ib32338b4b32bf6dd7f1f4a7a2cd5af14ef7eec7a
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
2014-02-16 16:06:17 +01:00
Richard Moe Gustavsen 9f91904bc9 Enable QtDeclarative for iOS
Change-Id: I44fce954fbe2abd1903991464c0e7f74e840b719
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
2013-08-07 11:52:20 +02:00
Simon Hausmann 563d760662 Disable qtdeclarative on iOS
It's also currently disabled in qtbase' configure, but the tweak there will
go away soon as the wip/v4 branch of qtdeclarative is subject to _enabling_
on iOS.

Change-Id: I8c17387ada467235d79d40a6cd6f5d0f8c173186
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
2013-07-30 17:27:35 +02:00
Oswald Buddenhagen ef1d624409 adjust to new "configure -nomake tools" semantics
Change-Id: I34ea6a8ea5f6f2641bf5deaf2a7136e5ed51a8ba
Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
2013-05-08 15:01:47 +02:00
Oswald Buddenhagen a6065d60f1 centralize and fixup example sources install targets
follow respective change in qtbase

Change-Id: I27502eb7ebea973e19ec5f7c3ec0e2338556f6e0
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
2012-12-10 18:16:48 +01:00
Tor Arne Vestbø 6914f0a1ac Update docs after modularization of docs
The global files now live in qtbase only, and are made available to the
other modules via the $QT_INSTALL_DOCS variable.

Change-Id: I131408e27fec5b722ac1dece8e1ccf421fdaad67
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
2012-10-12 11:59:44 +02:00
Oswald Buddenhagen 5376906de5 use centralized handling of QT_BUILD_PARTS
Change-Id: I14f08527a0b3a1bd58f815d28ebb4f38094d3bb7
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
2012-07-10 19:52:15 +02:00
Alan Alpert 095f537bc9 Examples has grown to more than just declarative.
The examples.pro file should no longer be skipped.

Change-Id: I2af08eec7fa69b996d1b6f237f40259c89f326f6
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
2011-12-04 23:31:45 +01:00
Jerome Pasion 884c0f6bf0 Doc: Adding qtdeclarative documentation configuration files.
We need a modularized Qt Quick documentation package that only
contains Qt Quick 2.

Add a make target for the documentation.
Copied Qt 5's offline style as a starting CSS template.

Change-Id: I2298f23c7695ebbe38f43b89626431a2e8059a9a
Reviewed-on: http://codereview.qt-project.org/5891
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
2011-10-05 14:31:40 +02:00
Casper van Donderen 37f0e135aa Move the demos to the examples folder.
Change-Id: I094383099bf116357a3bb6eed0052d6d14408558
Reviewed-on: http://codereview.qt.nokia.com/1059
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
2011-07-07 10:00:54 +02:00
Eckhart Koppen 9ad13d527d Honor -nomake for examples and demos
Don't build or install demos and examples when they are disabled.

Reviewed-by: TrustMe
(cherry picked from commit 61c0b5c392)
2011-05-13 22:58:43 +03:00
Rohan McGovern f7d3d68c60 tests: build autotests by default for qtdeclarative
Configure Qt with `-nomake tests' if you don't want the tests.

Reviewed-by: Jason McDonald
Change-Id: I1af6a231b9cfb8ecf3e3a0c932ead6ddff7bbe90
2011-05-12 14:40:16 +10:00
Qt by Nokia 885735d011 Initial import from the monolithic Qt.
This is the beginning of revision history for this module. If you
want to look at revision history older than this, please refer to the
Qt Git wiki for how to use Git history grafting. At the time of
writing, this wiki is located here:

http://qt.gitorious.org/qt/pages/GitIntroductionWithQt

If you have already performed the grafting and you don't see any
history beyond this commit, try running "git log" with the "--follow"
argument.

Branched from the monolithic repo, Qt master branch, at commit
896db169ea224deb96c59ce8af800d019de63f12
2011-04-27 12:05:43 +02:00