Commit Graph

56 Commits

Author SHA1 Message Date
Allen Winter
ad639c8001 CMakeLists.txt - increase version number for 1.2 2020-10-08 09:48:16 -04:00
Allen Winter
3e9e802b6c buildsystem - do not build docs by default 2020-09-16 16:04:18 -04:00
Allen Winter
eddcfef5d8 Merge branch '1.0' 2020-08-31 18:19:44 -04:00
Allen Winter
737d63eede CMakeLists.txt - document PYTHON_BINDINGS_INSTALL_PREFIX 2020-08-31 18:19:20 -04:00
Sergio Martins
1bb476ca95 Merge branch '1.0' into master 2020-08-24 14:38:06 +01:00
Sergio Martins
1c65b3e453 Remove examples/qtquick from the 1.0 branch
Should be in master only
2020-08-24 14:36:30 +01:00
Sergio Martins
073647cf79 Add a minimal example
The other example is getting too big. Minimal is best to get
started
2020-08-24 13:49:56 +01:00
Allen Winter
f591270d46 CMakeLists.txt - increase numbers. this will be v1.1 some day 2020-08-12 13:00:35 -04:00
Allen Winter
23ee5d538c buildsystem - install versioned .so libraries (non-Windows) 2020-08-12 12:49:42 -04:00
Allen Winter
8a3252473f buildsystem - support static library build 2020-08-07 12:26:27 -04:00
Sergio Martins
fd56ab7932 qml: Introduce tst_common
Will be moving tests that are common to both QtWidgets and QtQuick
2020-08-02 22:16:03 +01:00
Sergio Martins
fd6d9654bc qml: Start running some tests for the QtQuick version too
tst_multisplitter for now.
tst_docks will have to be split into common and widgets
2020-08-02 20:16:07 +01:00
Sergio Martins
312d95a376 qml: link to QQC2 too, needed for TabBar 2020-07-31 18:51:39 +01:00
Allen Winter
82abc90133 Build API documentation with doxygen 2020-07-29 18:44:42 -04:00
Allen Winter
fc7af85c83 CMakeLists.txt - must set *_VERSION_* after project() call
project() sets ${PROJECT_NAME}
then we can use ${PROJECT_NAME} to set VERSION variables
2020-07-27 17:48:07 -04:00
Sergio Martins
88e10ffb31 qml: Add the skeleton for the example
Doesn't do much yet, but has background.
2020-07-27 18:00:06 +01:00
Sergio Martins
1f09bfa9d5 qml: Don't build the QWidgets example 2020-07-26 21:00:00 +01:00
Allen Winter
b4f49895c2 clarify: licensing is GPL2 or GPL3 or commercial licensed
follow the REUSE specs
2020-07-24 18:16:13 -04:00
Sergio Martins
709728e456 Revert "Add support for Qt6"
This reverts commit e1bf1cd786.

This breaks the build with older CMake (3.9 for example), which
doesn't support alias to imported targets.
2020-07-19 15:42:59 +01:00
Sergio Martins
e1bf1cd786 Add support for Qt6
Build with -DOPTION_QT6=ON
2020-07-18 21:56:18 +01:00
Allen Winter
341f682274 CMakeLists.txt - disable test_launcher tests on Mac && Qt<5.15.1 2020-07-06 17:58:17 -04:00
Allen Winter
5362200d21 CMakeLists.txt - use KDAB installation directory 2020-06-25 10:35:47 -04:00
Allen Winter
b6e8703038 CMakeLists.txt - Always build the tests in developer-mode 2020-06-24 10:48:39 -04:00
Allen Winter
153aa65b40 CMakeLists.txt - fail if building bindings in non-release mode 2020-06-24 10:48:39 -04:00
Allen Winter
baed168458 CMakeLists.txt - require Qt5.9 or higher 2020-06-24 09:46:12 -04:00
Allen Winter
b825e0b9ea CMakeLists.txt - add option to disable building tests 2020-06-23 18:52:05 -04:00
Allen Winter
7aa45ebed9 CMakeLists.txt - add option to disable building examples 2020-06-23 18:45:03 -04:00
Allen Winter
c50fe5fa88 CMakeLists.txt - improvements
* add some doc at the top
 * set VERSION strings
 * disable Python bindings in debug build
 * consistent coding style
2020-06-23 18:17:46 -04:00
Allen Winter
bf4ef05d00 CMakeLists.txt - install doc files (LICENSE, README, etc) 2020-06-23 15:14:53 -04:00
Allen Winter
7ec2f31a46 buildsystem - generate PRI file for qmake users 2020-06-23 12:55:26 -04:00
Allen Winter
842e72c4c3 Windows: version libs, install pdb files for MSVC builds
Change-Id: I2964e809de20a9cb94d3039c95a1a623fdfd4d40
2020-06-23 12:38:51 -04:00
Sergio Martins
91b291a1a9 tests: Tests now run 10x faster, with ctest -j10 or so
Introduced an indirection, tests_launcher, which can run a subset
of the 140 tests, this way it's paralelizable by ctest
2020-06-20 15:27:58 +01:00
Sergio Martins
e3276411f9 Propagate developer built into the example too 2020-06-17 16:20:21 +01:00
Sergio Martins
84989745b4 Use target_compile_options instead of the hammer
Doing per target ensures that the python stuff won't get -Werror.
We can now build the python bindings and still use the developer build
2020-06-17 14:37:42 +01:00
Renato Araujo Oliveira Filho
a599736c1b Create Python bidings
Added Cmake files
Ported examples
2020-06-16 15:12:41 -03:00
Sergio Martins
1f6c49d5ba Fix 5.15 build 2020-05-14 22:39:17 +01:00
Sergio Martins
d0b36cf932 add ctest to tst_multisplitter too
moved up otherwise the multisplitter one was being generated in
a different folder
2020-05-14 22:29:19 +01:00
Sergio Martins
2fe1e22076 Remove OPTION_SANITIZER_SUPPORT
We have ECM inside the repo now, so no point in guarding the include
2020-05-09 17:55:22 +01:00
Sergio Martins
dc4a1975ab Fix build with cmake < 3.12
3.12 is needed for HOMEPAGE_URL and DESCRIPTION support.

Bumped the minimum to 3.7, older fails.
Fixes: 43
2020-05-02 14:14:04 +01:00
Sergio Martins
8cc53ca5bb Also build the example when building KDDW
No need to install the library anymore
Fixes: #42
2020-05-01 13:07:25 +01:00
Colin Ogilvie
e383bc797e Run tests with ctest 2020-04-30 18:12:35 +01:00
Sergio Martins
48ef73d6d3 cmake: Rename OPTION_ASAN_SUPPORT to OPTION_SANITIZER_SUPPORT
As it can work with any type of sanitizers
2020-01-29 15:04:51 +00:00
Sergio Martins
00b6eab2d3 Don't build examples for now
Only a standalone build work, as the examples use <kddockwidget/
qualified includes, so require kddockwidgets to be built and
installed first
2019-10-07 00:22:38 +01:00
Sergio Martins
7d57af3b8c cmake: Don't advertise QtQuick support yet 2019-10-06 13:31:09 +01:00
Sergio Martins
abbc79f0e0 Progress with the QtQuick port 2019-09-07 16:20:22 +01:00
Sergio Martins
ebb37e9871 Fix build 2019-08-07 14:03:48 +01:00
Sergio Martins
022e91db78 More QtWidget decoupling 2019-08-07 13:35:45 +01:00
Sergio Martins
f37d9c0a94 Disable QtQuick support in cmake, not ready yet 2019-08-07 11:30:57 +01:00
Sergio Martins
a27b4b387a Split QWidgetAdapter into _widget and _quick variants
So we don't need so many ifdefs
2019-08-07 11:29:39 +01:00
Sergio Martins
cb7d1086b9 tests: Don't use QStringLiteral or any fancy Qt restrictions
It's very verbose and its preformance benefits aren't important
for the tests
2019-08-03 11:55:27 +01:00