summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutomoc
Commit message (Collapse)AuthorAgeFilesLines
* Ensure that the build interface includes have been added.Stephen Kelly2013-02-0810-1/+137
| | | | | | | | | | | | | | | | | | | This is needed in the case that Automoc is used, as that calls GetIncludeDirectories, which may cache the resulting include dirs too early in the generate step. Also, because the automoc step is so early, we can't cache the include directories at that point. At that point the build interface of all dependencies are not populated yet, so we'd be caching the includes before appending the build interface. Only start caching when we're definitely generating the buildsystem. At that point, the includes should be stable. We still need to invoke AppendBuildInterfaceIncludes in the GlobalGenerator because the build interface includes affect mostly the dependencies of targets (such as the automoc targets), rather than the targets themselves, so the build interface needs to be appended for all targets before generation is done.
* Automoc: add OBJECT library to QtAutomoc testYury G. Kudryashov2013-01-151-3/+6
|
* automoc: add define to test which caused bug #13018Alex Neundorf2012-03-261-1/+1
| | | | | | | | | This does not really test that the bug is fixed, but at least it makes it easy to check manually whether the bug is there or not. I have to see whether I can build a test which does test that a target is not rebuilt everytime. Alex
* automoc: default to strict mode, use CMAKE_AUTOMOC_RELAXED_MODEAlex Neundorf2011-12-131-0/+3
| | | | | | | | | automoc now defaults to strict mode, also with Qt4, i.e. it behaves as the documentation says by default. I also inverted the switch CMAKE_AUTOMOC_STRICT_MODE to CMAKE_AUTOMOC_RELAXED_MODE. Docs and test adapted accordingly. Alex
* Add a test case for the use of Q_PRIVATE_SLOT.Stephen Kelly2011-11-223-1/+42
|
* automoc: add special handling for including basename_p.moc, with testAlex Neundorf2011-11-225-1/+92
| | | | Alex
* automoc: add test for including a moc_abc_p.cpp fileAlex Neundorf2011-11-222-0/+34
| | | | Alex
* automoc: add test for including the moc file from another headerAlex Neundorf2011-11-225-1/+65
| | | | | | | including moc_xyz.cpp in abc.cpp should run moc on xyz.h (and include the file in abc.cpp) Alex
* automoc: add a test for including both abc.moc and moc_abc.cppAlex Neundorf2011-11-224-1/+74
| | | | Alex
* automoc: add more test casesAlex Neundorf2011-11-106-1/+131
| | | | Alex
* Add copyright noticesAlex Neundorf2011-10-222-0/+26
| | | | Alex
* automoc:run moc on the header if the source file contains include "foo.moc"Alex Neundorf2011-10-224-1/+46
| | | | | | | | | | This fixes #12533. Before automoc did not check the header if the source file contained a statement, now it does. Additionally, moc is now only run on explicitely listed headers which contain a Q_OBJECT macro. Alex
* Add a test for automocAlex Neundorf2011-08-166-0/+875
The files are taken from the Qt examples. They are BSD licensed, so it should be fine. I only edited main.cpp to use both widgets. Alex