summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
Commit message (Collapse)AuthorAgeFilesLines
* centralize + fix use of system assimpOswald Buddenhagen2016-01-141-0/+11
| | | | | | | | | | | | follow the foo.pri & foo_dependency.pri pattern found in qtbase to de-duplicate the code (and thus implicitly make it consistent) and synchronize the conditionals in the configure test. also document why we still can't enable the assimp sceneparser in all configurations. Change-Id: I3bdc30e077b6c9c7027a9311195c08a6c5f1fcf4 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* make use of the new QtZlib moduleOswald Buddenhagen2015-12-011-4/+1
| | | | | | Task-number: QTBUG-48237 Change-Id: Ie70e815c5c16ff1992218ca0414833bd75600d58 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* fix condition for using qtcore's built-in zlibOswald Buddenhagen2015-12-011-1/+1
| | | | | | | | | | | when we're not cross-building, even a host build may use the system zlib. this also makes the force_bootstrap workaround in qgltf superfluous. Change-Id: Ic0a8b872ac602b1f268a1c6f8dcd5b400d641ff5 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* remove bogus defineOswald Buddenhagen2015-12-011-4/+0
| | | | | | | this was an obsolete workaround for a bad include path. Change-Id: Ica6919d4679291e07686d46118bfd52d8e80c61f Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* qgltf: Do not use system-zlib for host toolsAndy Nichols2015-11-061-1/+5
| | | | | | | | | | | | It was wrong of us to assume that a QT_CONFIG containing system-zlib meant that we could use zlib for a host_build. There are cases where the host does not have zlib, but the target does (cross compilation). It also breaks the rules for host_build tools. Fortunately the bootstrap library does provide the zlib symbols, so we just need to make sure we include that. Change-Id: Ibe25a22676c47909d95a83df46e311bd486fc9f7 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* assimp: Use std namespace for most cmath functionsAndy Nichols2015-11-0535-168/+1449
| | | | | | | | This also fixes a couple of cases where the int version of abs was used when it should be the float version. Change-Id: Id5063545e5a6e659e95262177217be98766794b0 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* assimp: Remove usage of deprecated keyword registerAndy Nichols2015-11-0421-30/+412
| | | | | Change-Id: I1a85b0602c9e2729bab9582dc5325213f3598988 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* assimp: Fix building with mingw older than 4.9Andy Nichols2015-10-284-1863/+12093
| | | | | | | | | | | | | On Windows when building with mingw versions older than 4.9 the assembly of IFCReaderGen.o fails because it reaches the section limit. Normally we would use the -mbig-obj flag to the assembler, but older versions of GNU as don't have support for this. So to work around this IFCReaderGen.cpp is split into two separate files, which keeps the sections below the limit for each object file. Task-number: QTBUG-48902 Change-Id: If0cae29c10a50e3a5edf85fe21b8d2528971eb83 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Fix building from source archive on WindowsPaul Lemire2015-10-141-3/+6
| | | | | | | Change-Id: I35320894a2cf79bb507aeda8aab5c84fd9e8975a Task-number: QTBUG-48237 Task-number: QTBUG-48564 Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* Fix ambiguous if else in assimpSean Harmer2015-10-132-0/+33
| | | | | | | Also record patch in 3rdparty/patches directory Change-Id: I17516fc8f34dad7a99f536dc4b3cba47e7779d4b Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Suppress a bunch of warnings in assimp with gcc and clangSean Harmer2015-10-131-4/+9
| | | | | Change-Id: Ic8cdcdceb959030163b661f29011b825f28b2896 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Re-add libassimp 3.1.1 to 3rd partyAndy Nichols2015-08-02416-0/+160735
| | | | | | | | | | | | | | | | | Previously the assimp library was a dependency that was always built, but it is possible to use an external system version if one is available. It is however non- trivial to provide the dependency on platforms other than Linux, so now we provide a copy of libassimp for use when it is not already available. This commit is a combination of reverting commit 672b3e47299f6ba0034f73b252d0436b55fb3085 which removed assimp and introduced the scene parser, and adding the logic to use the system version when available. Change-Id: Ia05f9a92b8d82f19a0db3588b2bbeafe71404386 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Removes ThreadWeaver code from Qt3DMika Salmela2015-02-1990-11365/+0
| | | | | | | | | Qt3D will be published with commercial licenses and there can't be 3rd party LGPL code. This task will remove the ThreadWeaver code and places the adaptation code inside configuration. Change-Id: I316f23087cdd8fed0afafbb1a3d78e3ff159585a Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Optimize: Do not allocate the state name every time.Milian Wolff2014-12-091-0/+4
| | | | | | | | | | | | The compiler is not smart enough to get rid of this call, even when the debug() function is not doing anything. Upstream should be fixed to use categorized logging instead, which would not have this problem. Change-Id: I70ed344cce0dc2130d3aa96f3873ffc4799f6d60 Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Assimp external dependencyPaul Lemire2014-08-19416-160679/+0
| | | | | | | | The AssimpParser is now a SceneParser plugin that is build if config tests for assimp succeed. Change-Id: I0e3f6a6ce2a43298b71b0261084f6c79521f214d Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Ignore the ICC warning about K&R-style parameters in CThiago Macieira2014-08-171-0/+3
| | | | | | | | It's 2014. There are still people using this? Change-Id: Ie53cd86e9794a98919579fe1dbe1502e7e9ea3d9 Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* ICC doesn't have -Wno-ignored-qualifiersThiago Macieira2014-08-171-1/+2
| | | | | | | | | | | It prints an annoying warning for every .cpp icpc: command line warning #10006: ignoring unknown option '-Wno-ignored-qualifiers' It has its own option for the same warning. Let's use it. Change-Id: Ia540dc8836873d8386f8db092a29af41530c7c21 Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Disable precompiled headers.Louai Al-Khanji2014-08-151-0/+2
| | | | | | | | Since there are C sources included precompiled headers lead to various linker errors. Change-Id: I591dc16e608548544ab1d5b3e9088c776e0e560c Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Added DEFINES to make assimp compile on gcc 4.6Paul Lemire2014-07-251-1/+1
| | | | | Change-Id: I89cb64d697ca9814ad23bf4673b581abfd9d4909 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Upgrade to Assimp 3.1.1Paul Lemire2014-07-1756-3059/+5025
| | | | | | | | | | | | | | | https://github.com/assimp/assimp/releases/tag/v3.1.1 This commit imports assimp 3.1.1, including CHANGES, CREDITS, LICENSE, README, Readme.md, and code, contrib, include directories. contrib/zlib, contrib/cppunit-1.12.1/, contrib/cppunit_note.txt were excluded in this change. assimp.pri was also updated. revision.h was generated from revision.h.in. Change-Id: I7c0597eae9eee7f06a1170968b5fef6fd46b6f0d Reviewed-by: Liang Qi <liang.qi@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Stop clang complaining about 3rd party assimpSean Harmer2014-06-281-0/+2
| | | | | Change-Id: I1c7a7cf4915680f32444a8ac557fa356e830875d Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Removed repetition of (void) in Assimp's unzip crypth.h and ioapi.cPaul Lemire2014-06-272-8/+0
| | | | | | | | | This is likely the result of the merge with the Assimp 3.1 upgrade. gcc doesn't issue any warning at all. On the other hand this causes errors on Windows. Change-Id: I7bd4bdd0915ac0c225e85268aa9d8c7834e7a65a Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Removed warnings from assimpPaul Lemire2014-06-0621-40/+58
| | | | | | Change-Id: I2ef77231ce3cc13bdf8a046c902963fc3f718086 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Upgrade to Assimp 3.1Paul Lemire2014-06-04247-20160/+27793
| | | | | | | | | | | | | | | | https://github.com/assimp/assimp/releases/tag/v3.1 This commit imports assimp 3.1, including CHANGES, CREDITS, LICENSE, README, Readme.md, revision.h and code, contrib, include directories. contrib/zlib was excluded. assimp.pri was also updated. Uses zlib from system or qt instead of contrib/zlib. Task-number: QTBUG-39251 Change-Id: Ia0b446dcd9bc867d65897b9e2b157f6544ccaeac Reviewed-by: Liang Qi <liang.qi@digia.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Let assimp compile on windows since MSVC only supports C90 specSean Harmer2014-06-024-39/+19
| | | | | | | | | All variables must be declared at start of function before any statements. What year is this? Change-Id: I48a17b29c54843d99abb1dd8600ddf5a4ed41bc1 Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
* [assimp] Silence compiler warnings in assimpSean Harmer2014-04-0311-21/+29
| | | | | | Change-Id: I6efacc0a4165109db2cd9418948622db3c15c7f5 Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Fix builds with namespaced QtSean Harmer2014-04-022-0/+4
| | | | | | Change-Id: I15a4a472f5283c56c8185b05699e33368c45ddb0 Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Fixing compile errors on Mac 10.8/Qt 5.3 beta.Pasi Keranen2014-03-282-21/+21
| | | | | | | | | On Mac you need to use the module name when including files from other modules. Change-Id: I7a70cdeaaa039bd90e3db277eace016fae1efafe Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Liang Qi <liang.qi@digia.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Rendering Aspect to dedicated Qt3D module library.Paul Lemire2014-03-251-2/+0
| | | | | | | | | | | | | | | | | | | Aspects are now independent Qt3D modules. This allows aspects to expose classes that can be reused by other aspects. Unlike plugins however, aspect modules have to be registered to the QAspectManager when the Qt3D window is created. At the moment there is only a single aspect : RendererAspect To load the RendererAspect QT += 3drenderer Examples updated to work with the changes. QML components defined in the RendererAspect are accessible by importing Qt3D.Render 2.0. Examples have been updated accordingly. Change-Id: I1281b1ffc1a633292b394c7d0460f1e16b34b488 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Updated Assimp library to the latest version 1270Paul Lemire2014-03-25406-78262/+110873
| | | | | | | | | SVNRevision 1270 assimp--3.0.1270-source-only.zip Change-Id: I332efb5fd0d086f24aca0a5fe9d396d549e531fa Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Moved Assimp to src/3rdpartyPaul Lemire2014-03-21326-0/+118465
| | | | | Change-Id: Ic813285c2ee6a36d0e8e6dc6807d6d55f7ec1df4 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Use threadweaver in concrete implementation of tasking apiSean Harmer2014-02-101-0/+2
| | | | | | | ThreadWeaver::Job requires exception support be enabled. Change-Id: I404ded3388d1eb8dc9ad8bfe2bf8727b6bc86e8d Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
* Import threadweaverSean Harmer2014-02-1090-0/+11355
This will be used as one option for the internal tasking API. It will be possible to also replace this with other options such as Intel Thread Building Blocks or some future home grown tasking implementation as needed. Change-Id: Ic6c6c0d8858eb3adae9fe48133241dec0597c2c8 Reviewed-by: Lars Knoll <lars.knoll@digia.com>