Leif Middelschulte
6fc3c0df0c
fixes the extended test suite to work with qt5 **and** qt4.
7 years ago
Leif Middelschulte
98e095bd47
extends test case to fail if macro is undefined durcing preprocessing
7 years ago
Alexis Jeandet
94cfb42222
Fixes Qt4 plugin build and mixed Qt4/Qt5 tests builds.
...
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
Alexis Jeandet
a9258923fa
Added include directory argument for Qt's Moc which is needed to build plugins.
...
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
Nirbheek Chauhan
c1e9c757eb
tests: Increase dependencies coverage a bit more
8 years ago
Aaron Small
76c8491d77
Add an option to dependencies called 'method'. This can be used to
...
configure a detection method, for those types of dependencies that have
more than one means of detection.
The default detection methods are unchanged if 'method' is not
specified, and all dependencies support the method 'auto', which is the
same as not specifying a method.
The dependencies which do support multiple detection methods
additionally support other values, depending on the dependency.
8 years ago
Nirbheek Chauhan
d9c31d4a24
tests/4 qt: Force the use of -std=c++11
...
Qt5 now requires this, and if no -std option is passed to clang, it does
not enable C++ 11 features and we get a build failures.
8 years ago
Nirbheek Chauhan
eaafca6f4a
Qt: Allow passing a name arg to preprocess()
...
This sets a unique name for the CustomTarget and the output cpp file.
Closes #959
8 years ago
Nirbheek Chauhan
0f92b7d97c
tests/4 qt: Test that invalid modules are not found
8 years ago
Nirbheek Chauhan
954038b7c1
tests/4 qt: Don't search for QtWidgets with Qt4
...
Doesn't exist on qt4, and causes the test case to not run at all.
8 years ago
Nirbheek Chauhan
14c5e17b0a
tests: Remove outdated qt4 manual test and rename qt5 automated test
...
qt5 framework test now also tests qt4, and will test qt6 if/when it
comes out.
8 years ago