- 25 Feb, 2016 - 1 commit
-
-
Simon Hausmann authored
We need to do the same chop trick that we do further down the file. Change-Id: If4f832f375a11473e66adfcfa76a3b4504b3d406 Task-number: QTBUG-51324 Reviewed-by:
Iikka Eklund <iikka.eklund@theqtcompany.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
- 08 Dec, 2015 - 1 commit
-
-
Thiago Macieira authored
Change-Id: I0f2ce894387048f78465ffff141cdae9ea760175 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
- 05 Dec, 2015 - 1 commit
-
-
Thiago Macieira authored
Change-Id: Ib056b47dde3341ef9a52ffff13ef5f6b8d21aeab Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
- 02 Dec, 2015 - 1 commit
-
-
Joerg Bornemann authored
Restore the condition for deciding what a private header is from fe383e04 to not check *_pch.h files and third party headers. This amends commit eddb938c . Change-Id: Idc55269478e7f2c98fb7debceef8a53c3cb5c657 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
- 27 Nov, 2015 - 3 commits
-
-
Joerg Bornemann authored
Do not iterate separately over all header files. This removes duplicated header iteration code which already was out of sync. As a side-effect, we do run the header check only on header files that are considered part of the module, if moduleheaders is set in sync.profile. Change-Id: Iec4c8febe9128139d2f377a1da8ce08c24110a77 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
Joerg Bornemann authored
Another step towards the removal of the duplicated loop over header files. Change-Id: I542782627d8742a515a42034264e4569a2355823 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
Joerg Bornemann authored
Turn lists into hashes and check for existence of an element using key lookup. This leads to simpler testing code and is potentially faster. Change-Id: Ibbf4f03ec64d6c295cc5e1664dfa73cd0ce8c272 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
- 17 Nov, 2015 - 1 commit
-
-
Oswald Buddenhagen authored
that way other modules can use the headers without hacks. this required making the base directory for paths in headers.pri configurable in syncqt. Change-Id: Id35cfe05bcf4c576d3f2d0d8d09590a5e23d21d3 Reviewed-by:
Andy Nichols <andy.nichols@theqtcompany.com>
-
- 15 Oct, 2015 - 1 commit
-
-
Thiago Macieira authored
We should even cause syncqt to exit, but that would cause developers trying to test something to be unable to. So leave it just with an "ERROR" message. That is hopefully enough. Change-Id: Ib056b47dde3341ef9a52ffff13ef5f8588b62b99 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
- 14 Oct, 2015 - 1 commit
-
-
Thiago Macieira authored
It's easier to parse than qglobal.h. The objective is actually to have macros with parts of the version number, so the major or minor numbers could be used in other preprocessor macros. Change-Id: I42e7ef1a481840699a8dffff1404eda1dd5c308d Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
- 02 Oct, 2015 - 1 commit
-
-
Thiago Macieira authored
Change-Id: Ib056b47dde3341ef9a52ffff13ef5f50c72d753d Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
- 22 Apr, 2015 - 1 commit
-
-
Friedemann Kleint authored
Obtain the location of the include files by querying the qmake variable QT_INSTALL_HEADERS by default, which can be overridden by the command line option. Task-number: QTBUG-45662 Change-Id: I03a781e9b98f5e2980dbaef86eedd05aec0103ce Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
- 17 Apr, 2015 - 1 commit
-
-
Thiago Macieira authored
Test each include file directly, instead of doing a large #include. This verifies that each header is compilable on its own. One big advantage of doing it via a special compiler in qmake is that we skip pre-compiled headers, which has hidden build errors in the past. This solution is implemented by making syncqt produce a second list of headers. This list is the same as the list of headers in the source code to be installed, minus the headers that declare themselves to be unclean, via the pragma: #pragma qt_sync_skip_header_check This mechanism is applied only for public libraries (skipping QtPlatformSupport, an internal_module). This test is enabled only for -developer-builds of Qt because it increases the compilation time. On QtTest: the library only links to QtCore, but it has two headers that provide inline-only functionality by including QtGui and QtWidgets headers (namely, qtest_gui.h and qtest_widget.h). If those two modules aren't getting compiled due to -no-gui or -no-widgets to configure, we need to remove the respective headers from the list of headers to be checked. If they are being built, then we need to make QtTest's build wait for the headers to be generated and that happens when qmake is first run inside the src/gui and src/widgets directories. Change-Id: I57d64bd697a92367c8464c073a42e4d142a9a15f Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
- 17 Feb, 2015 - 2 commits
-
-
Jani Heikkinen authored
Change-Id: Ibebe1318d1c2de97601aa07269705c87737083ee Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-
Oswald Buddenhagen authored
spaces in the source dir are not supported for now, as that requires some more profound refactoring of the bootstrap makefiles. Change-Id: Ie0c07a1558b8326f642f2ea144bc1cd85ee761af Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
- 11 Feb, 2015 - 1 commit
-
-
Jani Heikkinen authored
Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Outdated header.LGPL removed (use header.LGPL21 instead) Old header.LGPL3 renamed to header.LGPL3-COMM to match actual licensing combination. New header.LGPL-COMM taken in the use file which were using old header.LGPL3 (src/plugins/platforms/android/extract.cpp) Added new header.LGPL3 containing Commercial + LGPLv3 + GPLv2 license combination Change-Id: I6f49b819a8a20cc4f88b794a8f6726d975e8ffbe Reviewed-by:
Matti Paaso <matti.paaso@theqtcompany.com>
-
- 03 Dec, 2014 - 1 commit
-
-
Thiago Macieira authored
Change-Id: I91ff06644e8047c2ca483f9768b46c1372eb6171 Reviewed-by:
Martin Smith <martin.smith@digia.com> Reviewed-by:
Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
-
- 08 Jul, 2014 - 1 commit
-
-
Olivier Goffart authored
Example with this code: "template <class Key> struct QHashNode<Key, QHashDummyValue> {" The previous regexp would take "QHashNode<Key," as some keyword, and "QHashDummyValue>" as the class name. By forbidding '<' in the keyword, we avoid such mistake Change-Id: I5d5077b9e5e764e91899bcaef137d99214ea5d63 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-
- 21 May, 2014 - 1 commit
-
-
Oswald Buddenhagen authored
it's a precursor of lupdate from the stone age. [ChangeLog][Tools] The obsolete findtr script was removed. Task-number: QTBUG-30900 Change-Id: Ic3efdc44df084573aec2512d8f86101832253d77 Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 28 Feb, 2014 - 6 commits
-
-
Oswald Buddenhagen authored
let the syncqt + qt_module_header.prf pair handle generation of forwarding headers. in qtbase this is ineffective to some degree, as the need to create QtCore's forwarding headers early for QtBootstrap requires qtbase.pro already doing the real work, but at least we get the verification that nothing breaks. Other Modules (TM) will need the full functionality. Change-Id: Ifd3dfa05c4c8a91698a365160edb6dabc84e553f Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
Oswald Buddenhagen authored
Change-Id: I7c26d70fdfceac6d3c562e704cc725fad80c4f59 Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
Oswald Buddenhagen authored
Change-Id: I433773dbf21a7a7625d4f763b3cebe75c746aa1f Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
Oswald Buddenhagen authored
since ever we've thrown out the phonon hack, each header is synced to only one location (CamelCase headers notwithstanding). Change-Id: Idfef33db9410908aefe309bc7a3edeae5fc5a671 Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
Oswald Buddenhagen authored
no need to have two mechanisms for the same thing. the values of %classnames can be comma-separated lists now, so one header can have multiple classes assigned. conversely, if an extracted class name reverse-maps to a different file name, it is omitted. Change-Id: Ia0a35d64764b6376f33b77bbfe59e1df70a3cf1a Reviewed-by:
Jędrzej Nowacki <jedrzej.nowacki@digia.com> Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
Oswald Buddenhagen authored
amends ad52be1a . Change-Id: I2bfb10908217708c4f046d0d315dadd1b626da12 Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
- 12 Jun, 2013 - 3 commits
-
-
Oswald Buddenhagen authored
Change-Id: Iabeec90c2a6549cf92b3b8369a41764a576fd0aa Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
Oswald Buddenhagen authored
Change-Id: I9b67924a66c847cd4cf2ce9f2996017ae7eb61a4 Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
Oswald Buddenhagen authored
Change-Id: Ie235fe65020ed7c4870d9c8784a181bf880b9e28 Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
- 10 Jun, 2013 - 1 commit
-
-
Oswald Buddenhagen authored
we run syncqt on them only to get normal forwarding headers and the headers.pri file. the module master include header and the module version header are useless, and scanning for qt class names just wastes time. Change-Id: I58e8d1eb36cea5c31cbd46ce673438316d1963dc Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
- 03 Jun, 2013 - 4 commits
-
-
Oswald Buddenhagen authored
now that we split out the part that depends on the project file, we can do it cleanly here. this way we can generate these headers at pre-build time already. and for git builds, perl is probably faster than qmake at this task. Change-Id: I343255c6de22329471a3ae2c2aac9ebeb160a501 Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
Oswald Buddenhagen authored
this avoids that syncqt needs to forward to a yet unexisting file (which will have a yet unknown location, when syncqt is run at packaging time already). the %inject_headers syncqt config variable remains, so it can be told not to purge "foreign" files. Change-Id: I127ff6e0b7d5702fb0acaee9a5b7940b482d3608 Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
Oswald Buddenhagen authored
there is no particular reason for it being done by qmake. avoids that the logic is distributed over two source files, and allows us to generate these headers at pre-build time already, including not forwarding to a yet unexisting file (which would have a yet unknown location). Change-Id: I9c78ab425cf6f01d076c86fd1ee602626f231487 Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
Oswald Buddenhagen authored
Change-Id: I8e3e1665d7628c3210d000c46dfffa9f1af71009 Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
- 13 May, 2013 - 1 commit
-
-
Oswald Buddenhagen authored
instead, rename it to syncqt.pl and rely on qtPrepareTool()'s new ability to correctly invoke it as a perl script even under windows. the wrappers themselves have been trivial at this point, so there is no added value in keeping them, either. Change-Id: I77cf65edbcfaa48ed1900defe940d4eb4b82d5b9 Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com> Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
- 20 Apr, 2013 - 1 commit
-
-
Andrew Knight authored
Normalize paths that begin with <drive_letter>:/ as well. Task-number: QTBUG-30638 Change-Id: Icdc7ee9782a358771d06ae2500d32e59e6bbe866 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-
- 19 Apr, 2013 - 1 commit
-
-
Oswald Buddenhagen authored
the // operator is a tad too new. Task-number: QTBUG-30637 Change-Id: I3672d41a4a17937ffea251f0937b09045d6c386d Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-
- 02 Apr, 2013 - 1 commit
-
-
Oswald Buddenhagen authored
we just generated them, and they really don't need QT_{BEGIN,END}_*. Change-Id: Ib7b2454ae80762e644d9667106960cc7632f90fc Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
- 20 Mar, 2013 - 1 commit
-
-
Oswald Buddenhagen authored
this is cleaner than having it parse qmake project files. the only remaining built-in version extraction is the fallback to qglobal.h needed for bootstrapping. as a "side effect", this fixes the build of modules with mismatched versions centralized in .qmake.conf, as this was simply not handled so far. the -mkspecsdir syncqt option goes away, as there is no use case for it any more. Task-number: QTBUG-29838 Change-Id: I6912a38f0e93a26bc267a9e3d738506fd3ad431b Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com> Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com> Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
- 20 Feb, 2013 - 1 commit
-
-
Ray Donnelly authored
This is because on some systems, /usr/bin/perl is too old to run syncqt. MSYS is one such system. Change-Id: I3e1aa2db557cc3919618350775e7218ae05aa93f Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-
- 11 Feb, 2013 - 1 commit
-
-
Aaron McCarthy authored
Addon modules may not be in the standard Qt namespace and therefore do not use the QT_{BEGIN,END}_NAMESPACE macros. Instead module specific QT_{BEGIN,END}_NAMESPACE_FOO macros are used. Extend the syncqt test to allow for this and ensure that the QT_END_NAMESPACE suffix matches the QT_BEGIN_NAMESPACE suffix. Change-Id: I33110c01118b0fb4376307db7447f747fc38bb29 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by:
Thiago Macieira <thiago.macieira@intel.com>
-